diff --git a/front/html/base.html b/front/html/base.html new file mode 100644 index 0000000..b588f05 --- /dev/null +++ b/front/html/base.html @@ -0,0 +1,28 @@ + + + + + + {% block title %}SSH Certificate Management{% endblock %} + + + + +
+

{% block header %}{% endblock %}

+
+ {% block content %}{% endblock %} +
+ {% block bottom_button %}{% endblock %} +
+{% block extra_content %}{% endblock %} +{% block scripts %}{% endblock %} + + diff --git a/front/html/dashboard.html b/front/html/dashboard.html index 6a97b1c..8ddc037 100644 --- a/front/html/dashboard.html +++ b/front/html/dashboard.html @@ -1,24 +1,10 @@ - - - - - - - SSH Certificate Management - Dashboard - - - -
- -
- - - -
-
-
-

Certificate Management

-
+{% extends "base.html" %} + +{% block title %}SSH Certificate Management - Dashboard{% endblock %} + +{% block header %}Certificate Management{% endblock %} + +{% block content %} @@ -88,10 +74,13 @@
-
- -
+{% endblock %} +{% block bottom_button %} + +{% endblock %} + +{% block extra_content %} - +{% endblock %} +{% block scripts %} - - \ No newline at end of file +{% endblock %} diff --git a/front/html/logs.html b/front/html/logs.html index 402c2a8..0f6306d 100644 --- a/front/html/logs.html +++ b/front/html/logs.html @@ -1,23 +1,10 @@ - - - - - - SSH Certificate Management - Logs - - - -
- -
- - - -
-
-
-

Logs and Command History

-
+{% extends "base.html" %} + +{% block title %}SSH Certificate Management - Logs{% endblock %} + +{% block header %}Logs and Command History{% endblock %} + +{% block content %}