From 0ae9e128fd57927bc7375e850293c6bdd15e1d4e Mon Sep 17 00:00:00 2001 From: mms Date: Fri, 10 Nov 2023 22:14:51 +0100 Subject: feat: more stats --- layouts/shortcodes/httpd_stat.html | 8 -------- layouts/shortcodes/pf_stat.html | 28 ---------------------------- layouts/shortcodes/site_stat.html | 9 +++++++++ 3 files changed, 9 insertions(+), 36 deletions(-) delete mode 100644 layouts/shortcodes/httpd_stat.html delete mode 100644 layouts/shortcodes/pf_stat.html create mode 100644 layouts/shortcodes/site_stat.html (limited to 'layouts/shortcodes') diff --git a/layouts/shortcodes/httpd_stat.html b/layouts/shortcodes/httpd_stat.html deleted file mode 100644 index 7350f38..0000000 --- a/layouts/shortcodes/httpd_stat.html +++ /dev/null @@ -1,8 +0,0 @@ -
- - - -
Httpd responses
-
- - diff --git a/layouts/shortcodes/pf_stat.html b/layouts/shortcodes/pf_stat.html deleted file mode 100644 index dbcdb0f..0000000 --- a/layouts/shortcodes/pf_stat.html +++ /dev/null @@ -1,28 +0,0 @@ -
- - - -
Firewall general stats
-
- -
- - - -
Firewall packets stats
-
- -
- - - -
Firewall states stats
-
- -
- - - -
Firewall error stats
-
- diff --git a/layouts/shortcodes/site_stat.html b/layouts/shortcodes/site_stat.html new file mode 100644 index 0000000..35f4f3f --- /dev/null +++ b/layouts/shortcodes/site_stat.html @@ -0,0 +1,9 @@ +{{- $graph := .Get 0 }} +{{- $alt := .Get 1 }} + +
+
{{$alt}}
+ + {{$alt}} + +
-- cgit v1.2.3