espid2sensor: Logout-Button wie inaktive Tabs grau hinterlegen
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "espid2sensor",
|
||||
"version": "1.6.1",
|
||||
"version": "1.6.2",
|
||||
"date": "2026-08-07",
|
||||
"type": "module",
|
||||
"description": "Kleine Webapp ESP-ID <-> Sensornummer, speichern in MongoDB",
|
||||
|
||||
@@ -28,15 +28,7 @@
|
||||
|
||||
#logoutBtn {
|
||||
margin-left: auto;
|
||||
align-self: center;
|
||||
color: #333;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
padding: 0.7rem 1.5rem;
|
||||
}
|
||||
|
||||
#logoutBtn:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Modal Fehlerfenster */
|
||||
|
||||
@@ -14,7 +14,7 @@ html(lang="de")
|
||||
button.tab-btn#tabProfile(type="button" onclick="showTab('profile')") Profil
|
||||
if isAdmin
|
||||
button.tab-btn#tabUser(type="button" onclick="showTab('user')") User
|
||||
a#logoutBtn(href="/logout") Logout
|
||||
a.tab-btn#logoutBtn(href="/logout") Logout
|
||||
|
||||
// Eingabe-Tab
|
||||
div#tabInputContent.tab-content
|
||||
|
||||
Reference in New Issue
Block a user