Add UI improvements: date formatting, breadcrumbs, clickable rows, and structured menu
- Format dates as YYYY-MM-DD with full timestamp on hover - Add breadcrumb navigation with hospital icon (🏥) across all pages - Restructure main menu with grouped dropdowns: * Hardware (Assets, Components) * Health (Tickets, Failures, Analytics) * Settings (Ingest) - Make table rows clickable on Dashboard, Assets, and Components pages - Add new Customers page with list view - Improve dropdown menu stability with JS hover delay Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
{{template "head" .}}
|
||||
<body>
|
||||
{{template "topbar" .}}
|
||||
{{template "breadcrumbs" .}}
|
||||
|
||||
<main class="container">
|
||||
<section class="card">
|
||||
@@ -31,7 +32,7 @@
|
||||
<td><a href="/ui/components/{{.ComponentID}}">{{.ComponentID}}</a></td>
|
||||
<td>{{if .AssetID}}<a href="/ui/assets/{{.AssetID}}">{{.AssetID}}</a>{{else}}—{{end}}</td>
|
||||
<td>{{.FailureType}}</td>
|
||||
<td>{{formatTime .FailureTime}}</td>
|
||||
<td title="{{formatTimeFull .FailureTime}}">{{formatTime .FailureTime}}</td>
|
||||
<td>{{formatFloatPtr .Confidence 2}}</td>
|
||||
</tr>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user