Zulassen von Anonymen RFID updates verlinkung der UUID wenn spieler angelegt wurde

This commit is contained in:
2025-09-11 16:33:22 +02:00
parent d2a1bb16ea
commit 28616b3b0c
14 changed files with 2676 additions and 241 deletions

View File

@@ -85,7 +85,7 @@ body {
.dashboard-grid {
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-columns: 1fr 2fr 1fr;
gap: 2rem;
margin-bottom: 2rem;
}
@@ -204,7 +204,6 @@ body {
border-radius: 0.75rem;
padding: 0.25rem;
gap: 0.25rem;
overflow-x: auto;
}
.time-tab {
@@ -255,7 +254,7 @@ body {
.refresh-btn {
width: 100%;
padding: 1rem;
padding: 2rem;
background: linear-gradient(135deg, #00d4ff, #0891b2);
border: none;
border-radius: 0.75rem;
@@ -266,6 +265,7 @@ body {
transition: all 0.2s ease;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-top: 1.5rem;
}
.refresh-btn:hover {
@@ -281,6 +281,65 @@ body {
backdrop-filter: blur(20px);
}
.admin-panel {
background: rgba(15, 23, 42, 0.8);
border: 1px solid #1e293b;
border-radius: 1rem;
padding: 2rem;
backdrop-filter: blur(20px);
display: flex;
flex-direction: column;
justify-content: center;
}
.admin-buttons {
display: flex;
flex-direction: column;
gap: 1rem;
}
.admin-btn {
padding: 1rem 1.5rem;
border: none;
border-radius: 0.75rem;
color: white;
font-weight: 600;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
display: inline-block;
text-align: center;
width: 100%;
}
.admin-login-btn {
background: linear-gradient(135deg, #ff6b35, #f7931e);
}
.admin-login-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}
.dashboard-btn {
background: linear-gradient(135deg, #00d4ff, #0891b2);
}
.dashboard-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}
.logout-btn {
background: linear-gradient(135deg, #dc3545, #c82333);
}
.logout-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(220, 53, 69, 0.3);
}
.stats-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
@@ -459,75 +518,6 @@ body {
line-height: 1.6;
}
/* Admin Login Button */
.admin-login-btn {
position: fixed;
top: 2rem;
right: 2rem;
padding: 0.75rem 1.5rem;
background: linear-gradient(135deg, #ff6b35, #f7931e);
border: none;
border-radius: 0.75rem;
color: white;
font-weight: 600;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
display: inline-block;
z-index: 1000;
}
.admin-login-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}
.dashboard-btn {
position: fixed;
top: 2rem;
right: 2rem;
padding: 0.75rem 1.5rem;
background: linear-gradient(135deg, #00d4ff, #0891b2);
border: none;
border-radius: 0.75rem;
color: white;
font-weight: 600;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
display: inline-block;
z-index: 1000;
}
.dashboard-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}
.logout-btn {
position: fixed;
top: 2rem;
right: 12rem;
padding: 0.75rem 1.5rem;
background: linear-gradient(135deg, #dc3545, #c82333);
border: none;
border-radius: 0.75rem;
color: white;
font-weight: 600;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
display: inline-block;
z-index: 1000;
}
.logout-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(220, 53, 69, 0.3);
}
.pulse-animation {
animation: pulse 2s infinite;
@@ -650,13 +640,17 @@ body {
/* Mobile First Responsive Design */
@media (max-width: 1024px) {
.dashboard-grid {
grid-template-columns: 1fr;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}
.stats-grid {
grid-template-columns: repeat(3, 1fr);
}
.admin-panel {
grid-column: 1 / -1;
}
}
@media (max-width: 768px) {
@@ -676,8 +670,7 @@ body {
.header-section {
margin-bottom: 2rem;
margin-top: 5rem;
/* Account for fixed buttons */
margin-top: 2rem;
}
.dashboard-grid {
@@ -685,6 +678,22 @@ body {
gap: 1.5rem;
margin-bottom: 1.5rem;
}
.admin-panel {
grid-column: 1;
order: -1; /* Admin panel kommt zuerst */
}
.admin-buttons {
flex-direction: row;
gap: 0.75rem;
}
.admin-btn {
flex: 1;
padding: 0.75rem 1rem;
font-size: 0.8rem;
}
.control-panel {
padding: 1.5rem;
@@ -817,44 +826,6 @@ body {
display: none;
}
.admin-login-btn,
.dashboard-btn,
.logout-btn {
position: fixed;
top: 1rem;
right: 1rem;
padding: 0.75rem 1rem;
font-size: 0.8rem;
min-height: 44px;
touch-action: manipulation;
z-index: 1000;
}
.logout-btn {
right: 8rem;
}
/* Mobile button container for better positioning */
.mobile-nav-buttons {
position: fixed;
top: 1rem;
right: 1rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
z-index: 1000;
}
.mobile-nav-buttons .admin-login-btn,
.mobile-nav-buttons .dashboard-btn,
.mobile-nav-buttons .logout-btn {
position: static;
right: auto;
width: 120px;
padding: 0.5rem 0.75rem;
font-size: 0.75rem;
text-align: center;
}
.notification-bubble {
top: 1rem;
@@ -895,6 +866,20 @@ body {
.stats-panel {
padding: 1rem;
}
.admin-panel {
padding: 1rem;
}
.admin-buttons {
flex-direction: column;
gap: 0.5rem;
}
.admin-btn {
padding: 0.75rem;
font-size: 0.75rem;
}
.leaderboard-header {
padding: 1rem;
@@ -947,18 +932,6 @@ body {
font-size: 0.75rem;
}
.mobile-nav-buttons {
top: 0.5rem;
right: 0.5rem;
}
.mobile-nav-buttons .admin-login-btn,
.mobile-nav-buttons .dashboard-btn,
.mobile-nav-buttons .logout-btn {
width: 100px;
padding: 0.4rem 0.5rem;
font-size: 0.7rem;
}
}
/* Landscape orientation on mobile */
@@ -972,19 +945,6 @@ body {
font-size: 2rem;
}
.mobile-nav-buttons {
flex-direction: row;
gap: 0.5rem;
}
.mobile-nav-buttons .admin-login-btn,
.mobile-nav-buttons .dashboard-btn,
.mobile-nav-buttons .logout-btn {
width: auto;
min-width: 80px;
padding: 0.5rem 0.75rem;
font-size: 0.7rem;
}
.time-tabs {
flex-direction: row;