diff options
| author | Fuwn <[email protected]> | 2026-01-20 17:42:26 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-20 17:42:26 -0800 |
| commit | 62ab70a607ae0fa1611495c0fb441db5c780704f (patch) | |
| tree | 4e7fe1898fc3ad77820d2a116a4b2eb8922c9aa6 /internal/server/templates | |
| parent | feat: Add POST /api/reload endpoint for config reload (diff) | |
| download | kaze-62ab70a607ae0fa1611495c0fb441db5c780704f.tar.xz kaze-62ab70a607ae0fa1611495c0fb441db5c780704f.zip | |
feat: Add version tooltip to 'Powered by Kaze' footer
- Add VersionInfo struct to server
- Add SetVersion() method called from main.go
- Display version, commit, and build date in hoverable tooltip
- Tooltip uses same style as other tooltips in the UI
Diffstat (limited to 'internal/server/templates')
| -rw-r--r-- | internal/server/templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/templates/index.html b/internal/server/templates/index.html index 6471e53..35f08c1 100644 --- a/internal/server/templates/index.html +++ b/internal/server/templates/index.html @@ -187,7 +187,7 @@ <footer class="mt-12 pt-6 border-t border-neutral-200 dark:border-neutral-800"> <div class="flex items-center justify-between text-xs text-neutral-500 dark:text-neutral-400"> <span data-tooltip='{{.LastUpdatedTooltip}}'{{if $.UseBrowserTimezone}} data-timestamp="{{$.LastUpdated.Format "2006-01-02T15:04:05Z07:00"}}" data-format="timeago"{{end}}>Updated {{timeAgo $.LastUpdated}}</span> - <span>Powered by <a href="https://github.com/Fuwn/kaze" class="hover:text-neutral-900 dark:hover:text-neutral-100">Kaze</a></span> + <span data-tooltip='{{.VersionTooltip}}'>Powered by <a href="https://github.com/Fuwn/kaze" class="hover:text-neutral-900 dark:hover:text-neutral-100">Kaze</a></span> </div> </footer> </div> |