espid2sensor: Logout-Button wie inaktive Tabs grau hinterlegen

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-07 14:10:51 +00:00
parent 782055c4fd
commit ef12b275f5
3 changed files with 2 additions and 10 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "espid2sensor", "name": "espid2sensor",
"version": "1.6.1", "version": "1.6.2",
"date": "2026-08-07", "date": "2026-08-07",
"type": "module", "type": "module",
"description": "Kleine Webapp ESP-ID <-> Sensornummer, speichern in MongoDB", "description": "Kleine Webapp ESP-ID <-> Sensornummer, speichern in MongoDB",
-8
View File
@@ -28,15 +28,7 @@
#logoutBtn { #logoutBtn {
margin-left: auto; margin-left: auto;
align-self: center;
color: #333;
font-weight: 500;
text-decoration: none; text-decoration: none;
padding: 0.7rem 1.5rem;
}
#logoutBtn:hover {
text-decoration: underline;
} }
/* Modal Fehlerfenster */ /* Modal Fehlerfenster */
+1 -1
View File
@@ -14,7 +14,7 @@ html(lang="de")
button.tab-btn#tabProfile(type="button" onclick="showTab('profile')") Profil button.tab-btn#tabProfile(type="button" onclick="showTab('profile')") Profil
if isAdmin if isAdmin
button.tab-btn#tabUser(type="button" onclick="showTab('user')") User button.tab-btn#tabUser(type="button" onclick="showTab('user')") User
a#logoutBtn(href="/logout") Logout a.tab-btn#logoutBtn(href="/logout") Logout
// Eingabe-Tab // Eingabe-Tab
div#tabInputContent.tab-content div#tabInputContent.tab-content