From 573f58d764a5c7c03dacd8a0227c3d8ba724968d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Thu, 30 Mar 2023 22:33:50 +0200 Subject: [PATCH] Inform user that entries are closed when big button on main page is pressed and disabled Fixes #45 --- backend/templates/main.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/templates/main.html b/backend/templates/main.html index 28072e4..469ede0 100644 --- a/backend/templates/main.html +++ b/backend/templates/main.html @@ -29,6 +29,9 @@ $.getJSON("/api/entries/accept", (data) => { $("#bfb").addClass("disabled") $("#bfb").prop("aria-disabled",true); $("#bfb").prop("tabindex","-1"); + $("#bfb").wrap(""); + $(".tooltip-span").prop("title", "Eintragungen sind leider nicht mehr möglich.") + $('[data-toggle="tooltip"]').tooltip() } })