feat: 移除表格中的楼栋/机柜列

This commit is contained in:
2026-05-19 16:27:37 +08:00
parent 17e14e7608
commit 7af9005f3e

View File

@@ -88,7 +88,6 @@
<table class="w-full text-sm">
<thead>
<tr class="bg-gray-50 text-gray-500 text-xs uppercase tracking-wider">
<th class="px-4 py-3 text-left font-medium">楼栋/机柜</th>
<th class="px-4 py-3 text-left font-medium">设备名称</th>
<th class="px-4 py-3 text-left font-medium">型号</th>
<th class="px-4 py-3 text-left font-medium">主IP</th>
@@ -102,11 +101,6 @@
<tbody class="divide-y divide-gray-50">
{% for device in devices %}
<tr class="device-row transition-colors">
<td class="px-4 py-3 text-gray-600">
{{ device.building|default:"-" }}
{% if device.cabinet %} / {{ device.cabinet }}{% endif %}
{% if device.floor %} {{ device.floor }}{% endif %}
</td>
<td class="px-4 py-3">
<div class="font-medium text-gray-800">{{ device.device_name }}</div>
<div class="text-xs text-gray-400">{{ device.brand|default:"" }}</div>