diff options
Diffstat (limited to 'web/templates/index.html')
| -rw-r--r-- | web/templates/index.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/web/templates/index.html b/web/templates/index.html index 7e9a38f..9c90570 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -38,10 +38,18 @@ </svg> </button> <span class="text-sm text-white/70 tracking-wider font-light" id="last-updated">{{.LastUpdated.Format "3:04 PM"}}</span> - <form method="POST" action="/logout"> - <input type="hidden" name="csrf_token" value="{{.CSRFToken}}"> - <button type="submit" class="text-white/70 hover:text-white transition-colors text-xs tracking-wide">Logout</button> - </form> + <div class="flex items-center gap-3"> + <a href="/settings" class="text-white/70 hover:text-white transition-colors p-1" title="Settings"> + <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> + <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.066 2.573c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.573 1.066c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.066-2.573c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path> + <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> + </svg> + </a> + <form method="POST" action="/logout"> + <input type="hidden" name="csrf_token" value="{{.CSRFToken}}"> + <button type="submit" class="text-white/70 hover:text-white transition-colors text-xs tracking-wide">Logout</button> + </form> + </div> </header> <!-- Tab Navigation --> |
