Separieren vom css und js und fixes

This commit is contained in:
2025-09-04 14:14:59 +02:00
parent 0cfac629b5
commit f6cd5c734f
12 changed files with 3130 additions and 2462 deletions

View File

@@ -397,7 +397,10 @@
<div class="container">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
<h1 style="margin: 0;">🔐 Lizenzgenerator</h1>
<button onclick="logout()" style="padding: 10px 20px; background: #f44336; color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 500; transition: all 0.3s ease;">🚪 Abmelden</button>
<div style="display: flex; gap: 10px;">
<button onclick="goBackToDashboard()" style="padding: 10px 20px; background: #2196f3; color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 500; transition: all 0.3s ease;">⬅️ Zurück zum Dashboard</button>
<button onclick="logout()" style="padding: 10px 20px; background: #f44336; color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 500; transition: all 0.3s ease;">🚪 Abmelden</button>
</div>
</div>
<div class="form-group">
@@ -1010,6 +1013,11 @@
}
}
// Zurück zum Dashboard
function goBackToDashboard() {
window.location.href = '/admin-dashboard';
}
// Logout-Funktion
async function logout() {
try {