Add location detail page showing devices and components at that location
Deploy to LXC / deploy (push) Successful in 17s

- /locations/[id] shows all devices and stored components at a location
- Breadcrumb navigation with parent location
- Sub-location chips for navigating to children
- Location names are clickable links everywhere: location list page,
  device detail sidebar, component detail current location

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 17:10:25 +07:00
parent 9102ffd8b4
commit 0113803378
5 changed files with 195 additions and 3 deletions
+3 -1
View File
@@ -545,7 +545,9 @@
<div>
<dt class="text-gray-500 dark:text-gray-400">Location</dt>
<dd class="text-gray-900 dark:text-white">
{#if data.parentLocationName}{data.parentLocationName} &rsaquo; {/if}{data.device.locationName}
<a href="/locations/{data.device.locationId}" class="hover:text-blue-600 dark:hover:text-blue-400">
{#if data.parentLocationName}{data.parentLocationName} &rsaquo; {/if}{data.device.locationName}
</a>
</dd>
</div>
{/if}