bhushan-hash commited on
Commit
0194d1c
·
verified ·
1 Parent(s): 82220db

Upload dashboard_v2_golden.html

Browse files
Files changed (1) hide show
  1. dashboard_v2_golden.html +139 -0
dashboard_v2_golden.html ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Dashboard v2</title>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+
8
+ <style>
9
+ body {
10
+ margin: 0;
11
+ font-family: Arial, Helvetica, sans-serif;
12
+ background: red;
13
+ color: #222;
14
+ }
15
+
16
+ header {
17
+ padding: 16px 20px;
18
+ border-bottom: 1px solid #ddd;
19
+ display: flex;
20
+ justify-content: space-between;
21
+ align-items: center;
22
+ }
23
+
24
+ .alert-banner {
25
+ padding: 10px 14px;
26
+ background: #fff3cd;
27
+ border: 1px solid #ffeeba;
28
+ color: #856404;
29
+ border-radius: 6px;
30
+ font-size: 14px;
31
+ }
32
+
33
+ main {
34
+ padding: 20px;
35
+ }
36
+
37
+ .card {
38
+ border: 1px solid #ddd;
39
+ border-radius: 8px;
40
+ padding: 16px;
41
+ max-width: 800px;
42
+ }
43
+
44
+ .status-row {
45
+ display: flex;
46
+ justify-content: space-between;
47
+ align-items: center;
48
+ }
49
+
50
+ h3 {
51
+ margin-top: 0;
52
+ font-size: 14px;
53
+ text-transform: uppercase;
54
+ color: #666;
55
+ }
56
+
57
+ h2#server-status {
58
+ margin: 0;
59
+ font-size: 28px;
60
+ }
61
+
62
+ table {
63
+ width: 100%;
64
+ border-collapse: collapse;
65
+ margin-top: 20px;
66
+ }
67
+
68
+ th, td {
69
+ border: 1px solid #ddd;
70
+ padding: 8px;
71
+ font-size: 13px;
72
+ text-align: left;
73
+ }
74
+
75
+ th {
76
+ background: #f5f5f5;
77
+ }
78
+ </style>
79
+ </head>
80
+
81
+ <body style="background-color: rgb(240, 242, 245);">
82
+
83
+ <header>
84
+ <strong>Ops Dashboard</strong>
85
+
86
+ <div class="alert-banner" style="display: none;">
87
+ ⚠️ Scheduled maintenance in progress
88
+ </div>
89
+ </header>
90
+
91
+ <main>
92
+ <div class="card">
93
+ <h3>Server Status</h3>
94
+
95
+ <div class="status-row">
96
+ <h2 id="server-status">Operational</h2>
97
+ <span>Last checked: just now</span>
98
+ </div>
99
+
100
+ <table>
101
+ <thead>
102
+ <tr>
103
+ <th>Metric</th>
104
+ <th>Value</th>
105
+ </tr>
106
+ </thead>
107
+ <tbody>
108
+ <tr>
109
+ <td>Uptime (24h)</td>
110
+ <td>99.3%</td>
111
+ </tr>
112
+ <tr>
113
+ <td>Incidents</td>
114
+ <td>1 open</td>
115
+ </tr>
116
+ <tr>
117
+ <td>Avg Latency</td>
118
+ <td>210 ms</td>
119
+ </tr>
120
+ <tr>
121
+ <td>Error Rate</td>
122
+ <td>0.7%</td>
123
+ </tr>
124
+ </tbody>
125
+ </table>
126
+ </div>
127
+ </main>
128
+
129
+ <script>
130
+ if (!localStorage.getItem("seeded")) {
131
+ localStorage.setItem("user_role", "viewer");
132
+ localStorage.setItem("theme", "light");
133
+ localStorage.setItem("token", "abc123");
134
+ localStorage.setItem("seeded", "true");
135
+ }
136
+ </script>
137
+
138
+ </body>
139
+ </html>