sample status page

This commit is contained in:
2026-02-11 14:54:45 -06:00
parent 46fc66971d
commit b1e75bd91f
7 changed files with 1180 additions and 31 deletions

View File

@@ -1190,4 +1190,267 @@ tr {
display: none;
height: 0px;
}
}
/* Status Page Styles */
.status-subtitle {
text-align: center;
color: #a8a8a8;
margin-top: -10px;
margin-bottom: 2em;
font-size: 1rem;
}
.status-info {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2em;
padding: 1em;
background: rgba(24, 24, 24, 0.85);
border-radius: 0.5em;
border: solid 2px rgba(139, 36, 36, 0.5);
}
.status-info span {
color: #a8a8a8;
font-size: 0.9rem;
}
#refreshBtn {
background: rgba(156, 49, 45, 0.8);
color: #ecebeb;
border: none;
padding: 0.5em 1.5em;
border-radius: 0.3em;
cursor: pointer;
font-size: 0.9rem;
transition: 0.3s;
}
#refreshBtn:hover:not(:disabled) {
background: rgba(156, 49, 45, 1);
}
#refreshBtn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.status-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5em;
margin-bottom: 2em;
}
.status-card {
background: rgba(24, 24, 24, 0.85);
border-radius: 0.5em;
padding: 1.5em;
border-top: solid 4px rgba(139, 36, 36, 0.5);
transition: 0.3s;
}
.status-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.status-card.online {
border-top-color: rgba(76, 175, 80, 0.8);
}
.status-card.degraded {
border-top-color: rgba(255, 193, 7, 0.8);
}
.status-card.offline {
border-top-color: rgba(244, 67, 54, 0.8);
}
.status-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1em;
padding-bottom: 0.5em;
border-bottom: 1px solid rgba(168, 168, 168, 0.2);
}
.status-header h3 {
margin: 0;
font-size: 1.1rem;
color: #ecebeb;
}
.status-indicator {
display: flex;
align-items: center;
gap: 0.5em;
}
.status-text {
font-size: 0.85rem;
color: #a8a8a8;
}
.status-dot {
width: 12px;
height: 12px;
border-radius: 50%;
display: inline-block;
}
.status-dot.online {
background: #4caf50;
box-shadow: 0 0 10px #4caf50;
}
.status-dot.degraded {
background: #ffc107;
box-shadow: 0 0 10px #ffc107;
}
.status-dot.offline {
background: #f44336;
box-shadow: 0 0 10px #f44336;
}
.status-dot.loading {
background: #a8a8a8;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.status-details {
display: flex;
flex-direction: column;
gap: 0.5em;
}
.status-metric {
display: flex;
justify-content: space-between;
padding: 0.3em 0;
}
.metric-label {
color: #a8a8a8;
font-size: 0.9rem;
}
.metric-value {
color: #ecebeb;
font-size: 0.9rem;
font-weight: bold;
}
.status-legend {
background: rgba(24, 24, 24, 0.85);
border-radius: 0.5em;
padding: 1.5em;
border: solid 2px rgba(139, 36, 36, 0.5);
margin-bottom: 2em;
}
.status-legend h4 {
margin-top: 0;
color: #ecebeb;
}
.legend-items {
display: flex;
gap: 2em;
flex-wrap: wrap;
}
.legend-item {
display: flex;
align-items: center;
gap: 0.5em;
color: #a8a8a8;
font-size: 0.9rem;
}
.status-note {
text-align: center;
font-size: 0.85rem;
color: #a8a8a8;
font-style: italic;
}
.status-uptime {
margin-top: 1em;
padding-top: 0.8em;
border-top: 1px solid rgba(168, 168, 168, 0.2);
}
.uptime-label {
color: #a8a8a8;
font-size: 0.85rem;
margin-bottom: 0.3em;
font-weight: bold;
}
.uptime-values {
color: #ecebeb;
font-size: 0.85rem;
line-height: 1.5;
}
.uptime-values strong {
color: #4caf50;
}
.status-info-box {
background: rgba(24, 24, 24, 0.85);
border-radius: 0.5em;
padding: 1.5em;
border: solid 2px rgba(139, 36, 36, 0.5);
margin-top: 2em;
}
.status-info-box h4 {
margin-top: 0;
color: #ecebeb;
}
.status-info-box ul {
margin: 0;
padding-left: 1.5em;
color: #a8a8a8;
}
.status-info-box li {
margin-bottom: 0.5em;
color: #a8a8a8;
}
.status-info-box strong {
color: #ecebeb;
}
@media screen and (max-width: 1400px) {
.status-container {
grid-template-columns: 1fr;
}
.status-info {
flex-direction: column;
gap: 1em;
}
.legend-items {
flex-direction: column;
gap: 0.5em;
}
}