remove-add-device-from-sites (#37)

Reviewed-on: graham/towerops-web#37
This commit is contained in:
Graham McIntire 2026-03-15 18:46:16 -05:00
parent dcf2a2500f
commit fa0f68439b

View file

@ -68,8 +68,6 @@
<th class="hidden lg:table-cell px-4 py-2 text-right text-xs font-medium uppercase tracking-wide text-gray-500 dark:text-gray-400">
{t("Last Check")}
</th>
<th class="px-4 py-2 text-right text-xs font-medium uppercase tracking-wide text-gray-500 dark:text-gray-400">
</th>
</tr>
</thead>
<tbody class="divide-y divide-gray-100 bg-white dark:divide-white/5 dark:bg-gray-800/50">
@ -133,15 +131,6 @@
<td class="hidden lg:table-cell px-4 py-2.5 text-right text-xs text-gray-500 dark:text-gray-400">
<span class="text-gray-400 dark:text-gray-500">—</span>
</td>
<td class="px-4 py-2.5 text-right">
<.link
navigate={~p"/devices/new?site_id=#{site.id}"}
class="inline-flex items-center gap-1 text-xs font-medium text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300"
>
<.icon name="hero-plus" class="h-3.5 w-3.5" />
<span class="hidden sm:inline">{t("Add Device")}</span>
</.link>
</td>
</tr>
</tbody>
</table>