init
This commit is contained in:
@@ -14,6 +14,12 @@
|
||||
<input type="text" name="device_key" value="{{ $filters['device_key'] ?? '' }}" placeholder="device key" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label" style="width:90px;">Channel</label>
|
||||
<div class="layui-input-inline" style="width:160px;">
|
||||
<input type="text" name="channel_id" value="{{ $filters['channel_id'] ?? '' }}" placeholder="channel id" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label" style="width:70px;">Model</label>
|
||||
<div class="layui-input-inline" style="width:120px;">
|
||||
@@ -54,6 +60,7 @@
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Device</th>
|
||||
<th>Channel</th>
|
||||
<th>Model</th>
|
||||
<th>iOS</th>
|
||||
<th>IP</th>
|
||||
@@ -67,6 +74,7 @@
|
||||
<tr>
|
||||
<td>{{ $d->id }}</td>
|
||||
<td><code>{{ $d->device_id }}</code></td>
|
||||
<td><code>{{ $d->channel_id ?: '—' }}</code></td>
|
||||
<td>{{ $d->device_model ?: '—' }}</td>
|
||||
<td>{{ $d->ios_version ?: '—' }}</td>
|
||||
<td>{{ $d->ip ?: '—' }}</td>
|
||||
@@ -75,7 +83,7 @@
|
||||
<td><a class="layui-btn layui-btn-normal layui-btn-xs" href="{{ route('admin.devices.show', $d) }}">详情</a></td>
|
||||
</tr>
|
||||
@empty
|
||||
<tr><td colspan="8">暂无设备</td></tr>
|
||||
<tr><td colspan="9">暂无设备</td></tr>
|
||||
@endforelse
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -13,14 +13,18 @@
|
||||
<tr>
|
||||
<th width="140">Device</th>
|
||||
<td><code>{{ $device->device_id }}</code></td>
|
||||
<th width="140">Model</th>
|
||||
<td>{{ $device->device_model ?: '—' }}</td>
|
||||
<th width="140">Channel</th>
|
||||
<td><code>{{ $device->channel_id ?: '—' }}</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Model</th>
|
||||
<td>{{ $device->device_model ?: '—' }}</td>
|
||||
<th>iOS</th>
|
||||
<td>{{ $device->ios_version ?: '—' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>IP</th>
|
||||
<td>{{ $device->ip ?: '—' }}</td>
|
||||
<td colspan="3">{{ $device->ip ?: '—' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>User-Agent</th>
|
||||
|
||||
Reference in New Issue
Block a user