added server tracking plus server metrics

This commit is contained in:
erik 2025-06-20 07:17:01 +00:00
parent 80a0a16bab
commit ca12f4807b
5 changed files with 567 additions and 6 deletions

View file

@ -203,6 +203,98 @@ body {
to { text-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 0 25px rgba(136, 102, 255, 0.5); }
}
/* Server Status Styling */
.server-status-container {
margin: 0 0 16px 0;
padding: 12px;
background: linear-gradient(135deg, #2a4a2a, #1a3a1a);
border: 2px solid #44aa44;
border-radius: 8px;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}
.server-status-container h3 {
margin: 0 0 10px 0;
font-size: 1.1rem;
color: #aaffaa;
text-align: center;
font-weight: 600;
}
.status-indicator {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 8px;
font-weight: 600;
font-size: 1rem;
}
.status-dot {
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 8px;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}
.status-dot.status-up {
background-color: #44ff44;
box-shadow: 0 0 8px rgba(68, 255, 68, 0.6);
animation: status-pulse-up 2s ease-in-out infinite;
}
.status-dot.status-down {
background-color: #ff4444;
box-shadow: 0 0 8px rgba(255, 68, 68, 0.6);
animation: status-pulse-down 2s ease-in-out infinite;
}
.status-dot.status-unknown,
.status-dot.status-error {
background-color: #ffaa44;
box-shadow: 0 0 8px rgba(255, 170, 68, 0.6);
}
@keyframes status-pulse-up {
0%, 100% {
box-shadow: 0 0 8px rgba(68, 255, 68, 0.6);
}
50% {
box-shadow: 0 0 16px rgba(68, 255, 68, 0.9);
}
}
@keyframes status-pulse-down {
0%, 100% {
box-shadow: 0 0 8px rgba(255, 68, 68, 0.6);
}
50% {
box-shadow: 0 0 16px rgba(255, 68, 68, 0.9);
}
}
.status-details {
font-size: 0.85rem;
color: #ccc;
line-height: 1.6;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px 16px;
}
.status-details div {
display: flex;
align-items: center;
white-space: nowrap;
}
.status-details span {
color: #fff;
font-weight: 500;
margin-left: 6px;
}
.total-kills-counter {
margin: 0 0 12px 0;
padding: 8px 12px;