From f8c85565396ee7d027fd3096c598e200037b3733 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 24 Mar 2024 00:11:00 +0100 Subject: dedicated /chart page --- src/templates/base.html | 18 ++++++++++++++++++ src/templates/chart_page.html | 4 ++++ src/templates/index.html | 18 +++--------------- 3 files changed, 25 insertions(+), 15 deletions(-) create mode 100644 src/templates/base.html create mode 100644 src/templates/chart_page.html (limited to 'src/templates') diff --git a/src/templates/base.html b/src/templates/base.html new file mode 100644 index 0000000..93bd5e2 --- /dev/null +++ b/src/templates/base.html @@ -0,0 +1,18 @@ + + + + + + SSH login attempts + + + + + + + +{% block content %} +{% endblock %} + + + diff --git a/src/templates/chart_page.html b/src/templates/chart_page.html new file mode 100644 index 0000000..0fb3028 --- /dev/null +++ b/src/templates/chart_page.html @@ -0,0 +1,4 @@ +{% extends 'base.html' %} +{% block content %} +{% include 'chart.html' %} +{% endblock %} \ No newline at end of file diff --git a/src/templates/index.html b/src/templates/index.html index 8b2d0c0..698ca6b 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -1,17 +1,6 @@ - - - - - - SSH login attempts - - - - - - - +{% extends 'base.html' %} +{% block content %}

SSH bots login attempts

@@ -55,5 +44,4 @@ as your next password

- - \ No newline at end of file +{% endblock %} \ No newline at end of file -- cgit v1.2.3