Skip to content

Commit a59f3e7

Browse files
Merge pull request #85 from NessieCanCode/add-summary-and-details-tab-features
Add analytics widgets and filtering to dashboard
2 parents 23fb93e + 358d4b2 commit a59f3e7

File tree

2 files changed

+482
-60
lines changed

2 files changed

+482
-60
lines changed

src/slurmcostmanager.css

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,57 @@ nav button:hover {
132132
margin: 0.5em 0;
133133
}
134134
}
135+
.kpi-grid {
136+
display: flex;
137+
flex-wrap: wrap;
138+
gap: 1em;
139+
margin-bottom: 1em;
140+
}
141+
.kpi-tile {
142+
background: #f5f5f5;
143+
border: 1px solid #ccc;
144+
border-radius: 4px;
145+
padding: 1em;
146+
flex: 1 1 200px;
147+
position: relative;
148+
}
149+
.kpi-label {
150+
font-size: 0.9em;
151+
color: #555;
152+
}
153+
.kpi-value {
154+
font-size: 2em;
155+
font-weight: bold;
156+
}
157+
.kpi-chart {
158+
width: 100%;
159+
height: 60px;
160+
}
161+
.pi-table {
162+
width: 100%;
163+
border-collapse: collapse;
164+
margin-top: 1em;
165+
}
166+
.pi-table th,
167+
.pi-table td {
168+
border: 1px solid #ccc;
169+
padding: 0.25em 0.5em;
170+
}
171+
.pi-bar {
172+
height: 8px;
173+
background: #4e79a7;
174+
}
175+
.filter-bar {
176+
display: flex;
177+
flex-wrap: wrap;
178+
gap: 0.5em;
179+
align-items: center;
180+
margin-bottom: 1em;
181+
}
182+
.filter-bar select,
183+
.filter-bar button {
184+
padding: 0.25em;
185+
}
186+
.pagination {
187+
margin-top: 0.5em;
188+
}

0 commit comments

Comments
 (0)