From 6df48c1413a14516e7ee8919f33fbc13f0141966 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 1 Aug 2026 02:39:59 +0200 Subject: Show and extend the elevation window A banner appears while elevated, counting down in minutes and carrying extend and drop controls. Three extensions of 30 minutes are allowed, so the window is at most two hours without a fresh code; a code resets the budget. The countdown is advisory, the server-side check authoritative, so it says "expired" rather than vanishing. The post-login flash tells an admin the timer has started. --- app/views/layouts/admin.html.erb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/layouts/admin.html.erb') diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index 43f09b96..a84c8927 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb @@ -43,6 +43,7 @@
+ <%= render "layouts/elevation_banner" %> <%= render "layouts/flash" %>
<%= yield %> -- cgit v1.3