Server container

This commit is contained in:
2025-07-11 03:23:16 +02:00
parent c077b8c16f
commit 1ad5c0a698
2 changed files with 27 additions and 4 deletions
+19
View File
@@ -153,3 +153,22 @@ body {
white-space: nowrap; white-space: nowrap;
font-weight: bold; font-weight: bold;
} }
.server-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}
.server-container div {
box-sizing: border-box;
background-color: #fff;
border-radius: 10px;
width: 100%;
height: 406;
padding: 30px;
}
.dashboard-container h3 {
padding: 0;
margin: 0;
}
+8 -4
View File
@@ -71,12 +71,16 @@ pub fn Dashboard() -> Element {
} }
div { class: "server-container", div { class: "server-container",
div { class: "performance-card", div {
LineChart { data: vec![90, 20, 40, 90, 60], max: 100 } h3 { "Web server 01" }
} }
div { class: "performance-card", div {
LineChart { data: vec![90, 20, 40, 90, 60], max: 100 } h3 { "Web server 01" }
}
div {
h3 { "Web server 01" }
} }
} }
} }