From d06ab7640acec14e08e8b9b8fa254dff4b706639 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 5 Feb 2024 06:18:50 +0200 Subject: [PATCH] rename settings2 to meta_navbar --- files/templates/admins.html | 2 +- files/templates/banned.html | 2 +- files/templates/blocks.html | 2 +- files/templates/leaderboard.html | 2 +- files/templates/log.html | 2 +- files/templates/meta_navbar.html | 89 ++++++++++++++++++++++++++++++++ files/templates/settings2.html | 2 +- files/templates/stats.html | 2 +- 8 files changed, 96 insertions(+), 7 deletions(-) create mode 100644 files/templates/meta_navbar.html diff --git a/files/templates/admins.html b/files/templates/admins.html index 8910a9f83..7a8418767 100644 --- a/files/templates/admins.html +++ b/files/templates/admins.html @@ -1,4 +1,4 @@ -{% extends "settings2.html" %} +{% extends "meta_navbar.html" %} {% block pagetitle %}Admins{% endblock %} diff --git a/files/templates/banned.html b/files/templates/banned.html index b827a6966..8d526ef06 100644 --- a/files/templates/banned.html +++ b/files/templates/banned.html @@ -1,4 +1,4 @@ -{% extends "settings2.html" %} +{% extends "meta_navbar.html" %} {% block pagetitle %}Banned Users{% endblock %} {% block content %}
Banned Users
diff --git a/files/templates/blocks.html b/files/templates/blocks.html index f5b880188..c7802b8fe 100644 --- a/files/templates/blocks.html +++ b/files/templates/blocks.html @@ -1,4 +1,4 @@ -{% extends "settings2.html" %} +{% extends "meta_navbar.html" %} {% block pagetitle %}Blocks{% endblock %} {% block content %}
Blocks
diff --git a/files/templates/leaderboard.html b/files/templates/leaderboard.html index 1fa285fa8..5d38ba11d 100644 --- a/files/templates/leaderboard.html +++ b/files/templates/leaderboard.html @@ -1,4 +1,4 @@ -{% extends "settings2.html" %} +{% extends "meta_navbar.html" %} {% block pagetitle %}Leaderboard{% endblock %} {% block content %}
diff --git a/files/templates/log.html b/files/templates/log.html index 9367b70cb..d6c1ee05f 100644 --- a/files/templates/log.html +++ b/files/templates/log.html @@ -1,4 +1,4 @@ -{% extends "settings2.html" %} +{% extends "meta_navbar.html" %} {% block pagetitle %}Moderation Log{% endblock %} {% block content %}
diff --git a/files/templates/meta_navbar.html b/files/templates/meta_navbar.html new file mode 100644 index 000000000..4ad4a8340 --- /dev/null +++ b/files/templates/meta_navbar.html @@ -0,0 +1,89 @@ +{%- extends 'root.html' -%} +{% block pagetitle %}User List{% endblock %} +{% block pagetype %}meta_navbar{% endblock %} +{% block body_attributes %}class="has_header"{% endblock %} +{% block body %} + {% include "header.html" %} + {% block subNav %} + {% if not request.path.startswith('/h/') %} +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+ {% endif %} + {% endblock %} + +
+ {% block content %}{% endblock %} + {% block pagenav %}{% endblock %} +
+ +
+
+ Link copied to clipboard +
+
+ +
+
+ Unable to Copy Link +
+
+ {% block mobilenavbar %}{% include "mobile_navigation_bar.html" %}{% endblock %} + {% block scripts %}{% endblock %} +{% endblock %} diff --git a/files/templates/settings2.html b/files/templates/settings2.html index 097940b18..4ad4a8340 100644 --- a/files/templates/settings2.html +++ b/files/templates/settings2.html @@ -1,6 +1,6 @@ {%- extends 'root.html' -%} {% block pagetitle %}User List{% endblock %} -{% block pagetype %}settings2{% endblock %} +{% block pagetype %}meta_navbar{% endblock %} {% block body_attributes %}class="has_header"{% endblock %} {% block body %} {% include "header.html" %} diff --git a/files/templates/stats.html b/files/templates/stats.html index 5bc6ec9e5..138b6e18e 100644 --- a/files/templates/stats.html +++ b/files/templates/stats.html @@ -1,4 +1,4 @@ -{% extends "settings2.html" %} +{% extends "meta_navbar.html" %} {% block pagetitle %}Statistics{% endblock %} {% block content %}

Weekly Chart