Display device name in breadcrumbs

This commit is contained in:
Peter Stockings
2023-01-24 21:10:31 +11:00
parent 1ba186b608
commit 763f8832c8
5 changed files with 38 additions and 34 deletions

View File

@@ -33,7 +33,7 @@
<tbody>
{% for d in devices %}
<tr class="bg-white border-b dark:bg-gray-800 dark:border-gray-700 cursor-pointer"
hx-get="{{ url_for('overview', device_id=d['id']) }}" hx-push-url="true" hx-target="#container">
hx-get="{{ url_for('device', device_id=d['id']) }}" hx-push-url="true" hx-target="#container">
<th scope="row" class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white">
{{d['name']}}
</th>