From fbb32201b4da54baabd4e7acae2c7afb30c33b46 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 12 Sep 2021 04:51:20 +0200 Subject: [PATCH] fd --- files/templates/admin/app.html | 6 +- files/templates/admin/user_award.html | 104 +++++++++++----------- files/templates/changelog.html | 3 +- files/templates/settings_filters.html | 4 +- files/templates/user_listing.html | 4 +- files/templates/userpage.html | 120 ++++++++++++-------------- 6 files changed, 116 insertions(+), 125 deletions(-) diff --git a/files/templates/admin/app.html b/files/templates/admin/app.html index a4bf4106a..6c6e9dd10 100644 --- a/files/templates/admin/app.html +++ b/files/templates/admin/app.html @@ -34,12 +34,12 @@
{% if not app.client_id%} - Approve - Reject + Approve + Reject {% else %} - Revoke + Revoke {% endif %}
diff --git a/files/templates/admin/user_award.html b/files/templates/admin/user_award.html index 6e735271e..49ab9451f 100644 --- a/files/templates/admin/user_award.html +++ b/files/templates/admin/user_award.html @@ -8,64 +8,64 @@ {% block content %} - {% if error %} - - {% endif %} - {% if msg %} - - {% endif %} + {% if error %} + + {% endif %} + {% if msg %} + + {% endif %} -

-

-
User Award Grant
+

+	

+	
User Award Grant
-
- + + -
- +
+ - - - - - - - - - -{% for a in awards %} - - - - - -{% endfor %} -
IconTitleAmount
{{a['title']}}
+ + + + + + + + + + {% for a in awards %} + + + + + + {% endfor %} +
IconTitleAmount
{{a['title']}}
- + -
+ -

-{% if v.id in [1,12,28,29,747,995] %}
-	
Grant Monthly Awards
-{% endif %} +

+	{% if v.id in [1,12,28,29,747,995] %}
+		
Grant Monthly Awards
+ {% endif %} {% endblock %} \ No newline at end of file diff --git a/files/templates/changelog.html b/files/templates/changelog.html index 9070e0f76..cdc9ede94 100644 --- a/files/templates/changelog.html +++ b/files/templates/changelog.html @@ -66,7 +66,8 @@ {% block content %} {% if v %} -{{"Unsubscribe" if v.changelogsub else "Subscribe"}} + Subscribe + Unsubscribe {% endif %}
diff --git a/files/templates/settings_filters.html b/files/templates/settings_filters.html index 30889547a..15c967574 100644 --- a/files/templates/settings_filters.html +++ b/files/templates/settings_filters.html @@ -25,7 +25,7 @@
@@ -63,7 +63,7 @@
diff --git a/files/templates/user_listing.html b/files/templates/user_listing.html index 5df4b34d8..22d7d8525 100644 --- a/files/templates/user_listing.html +++ b/files/templates/user_listing.html @@ -13,9 +13,9 @@ {% if v %} {% if v.id!=u.id and not u.is_private and not u.is_nofollow %} - + - + {% endif %} {% else %} diff --git a/files/templates/userpage.html b/files/templates/userpage.html index d1ab52f2e..39a881b77 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -202,22 +202,22 @@ {% endif %} {% if 'rdrama' in request.host and v.id in [1,12,28,29,747,995] %} - {% if u.admin_level == 0 %} - Make admin - Make fake admin - {% elif u.admin_level == 1 %} - Remove fake admin - {% else %} - Remove admin + Make admin + Remove admin + + Make admin + Remove admin + + {% if u.admin_level == 6 %} Revert admin actions {% endif %} {% endif %} {% if 'rdrama' not in request.host and 'pcm' not in request.host and v.admin_level == 6 %} - {% if u.admin_level == 0 %} - Make admin - {% else %} - Remove admin + Make admin + Remove admin + + {% if u.admin_level %} Revert admin actions {% endif %} {% endif %} @@ -295,31 +295,25 @@

 
-						{% if u.agendaposter %}
-							Disable Agendaposter Theme
-						{% else %}
-							
- - - -
- {% endif %} - -

-
-						{% if u.shadowbanned %} 
-							Unshadowban
-						{% else %}
-							Shadowban
-						{% endif %}
+						
+ + + +
+ + Disable Agendaposter Theme

 
-						{% if u.verified %}
-							Unverify
-						{% else %}
-							Verify
-						{% endif %}
+						Shadowban
+
+						Unshadowban
+
+
+						

+
+						Verify
+						Unverify
 
 						

 						
@@ -468,22 +462,22 @@ {% endif %} {% if 'rdrama' in request.host and v.id in [1,12,28,29,747,995] %} - {% if u.admin_level == 0 %} - Make admin - Make fake admin - {% elif u.admin_level == 1 %} - Remove fake admin - {% else %} - Remove admin + Make admin + Remove admin + + Make admin + Remove admin + + {% if u.admin_level == 6 %} Revert admin actions {% endif %} {% endif %} {% if 'rdrama' not in request.host and 'pcm' not in request.host and v.admin_level == 6 %} - {% if u.admin_level == 0 %} - Make admin - {% else %} - Remove admin + Make admin + Remove admin + + {% if u.admin_level %} Revert admin actions {% endif %} {% endif %} @@ -562,29 +556,25 @@

 
-						{% if u.agendaposter %}
-							Disable Agendaposter Theme
-						{% else %}
-							
-								
-								
-								
-							
- {% endif %} - +
+ + + +
+ + Disable Agendaposter Theme +

 
-						{% if u.shadowbanned %} 
-							Unshadowban
-						{% else %}
-							Shadowban
-						{% endif %}
-						
-						{% if u.verified %}
-							Unverify
-						{% else %}
-							Verify
-						{% endif %}
+						Shadowban
+
+						Unshadowban
+
+
+						

+
+						Verify
+						Unverify