From e11b9a851851bb47109545093e3accdbcab76859 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 13 Jun 2025 21:50:54 +0530 Subject: Add grafana+prometheus + embed into dashboard --- modules/dashboard/dashboard-template.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'modules/dashboard/dashboard-template.nix') diff --git a/modules/dashboard/dashboard-template.nix b/modules/dashboard/dashboard-template.nix index 5a99e20..43812a0 100644 --- a/modules/dashboard/dashboard-template.nix +++ b/modules/dashboard/dashboard-template.nix @@ -52,7 +52,7 @@ let grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); padding: 0 1rem; width: 100%; - margin: 1rem auto; + margin: 1rem auto 2rem; max-width: 1200px } .card { @@ -93,6 +93,18 @@ let margin: 0; border: 0; } + .stats-container { + padding: 1rem; + border-top: 1px solid #1a1824; + } + .stats-container iframe { + width: 100%; + display: block; + min-height: 1100px; + height: 100%; + border: 2px solid #1a1824; + border-radius: 5px; + } ''; headerHTML = '' @@ -115,6 +127,9 @@ in +
+ +
-- cgit v1.3.1