diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index 73d8e890d..37669cf6a 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -1,100 +1,72 @@ {% extends "default.html" %} -{# Title (~25char max), Description (~80char max), - Icon (fa-foo-bar), Color (#ff0000), URL (/post/12345/) #} -{%- -set ADMIN_INDEX = [ - ( - 'Content', - 'fa-book', '#6b8e23', - ( - ('/admin/image_posts','Image Posts'), - ('/admin/reported/posts','Reported Posts/Comments'), - ('/admin/removed/posts','Removed Posts/Comments'), - ), - ), - ( - 'Users', - 'fa-user', '#f5fffa', - ( - ('/admin/users','Users Feed'), - ('/admin/shadowbanned','Shadowbanned Users'), - ('/banned','Permabanned Users'), - ('/agendaposters','Users with Chud Theme'), - ('/grassed','Currently Grassed Users'), - ('/patrons','Patrons / Paypigs'), - ('/admin/loggedin','Currently Logged-in Users'), - ('/admin/loggedout','Currently Logged-out Users'), - ), - ), - ( - 'Safety', - 'fa-shield', '#87cefa', - ( - ('/admin/banned_domains','Banned Domains'), - ('/admin/alt_votes','Multi Vote Analysis'), - ), - ), - ( - 'Grant', - 'fa-award', '#adff2f', - ( - ('/admin/awards','Give User Award'), - ('/admin/badge_grant','Grant Badges'), - ('/admin/badge_remove','Remove Badges'), - ), - ), - ( - 'API Access Control', - 'fa-robot', 'red', - ( - ('/admin/apps','Apps'), - ), - ), - ( - 'Statistics', - 'fa-chart-line', '#c9d1d9', - ( - ('/stats','Content Stats'), - ('/weekly_chart','Weekly Stat Chart'), - ('/daily_chart','Daily Stat Chart'), - ), - ), -] --%} +{% block title %} +{{SITE_NAME}} + +{% endblock %} {% block content %} -
-{% for thread in ADMIN_INDEX %} - -{% endfor %} +

+

+

 Admin Tools

+ +

Content

+ + +

Users

+ + +

Safety

+ + +

Grant

+ + +

API Access Control

+ + {% if LOTTERY_ENABLED -%} - +

Lottery

+ {%- endif %} + +

Statistics

+ + {% if SITE_NAME == 'PCM' %} - +

Configuration

+ {% endif %} -
{% if v.admin_level > 2 %}

@@ -133,4 +105,4 @@ set ADMIN_INDEX = [
 	Live Revision: {{ gitref }} 
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index 1ec97a7a0..a336873a1 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -1,6 +1,6 @@ {%- set CACHE_VER = { - 'css/main.css': 327, + 'css/main.css': 326, 'css/4chan.css': 61, 'css/classic.css': 61, @@ -25,7 +25,7 @@ set CACHE_VER = { 'js/submit.js': 262, 'js/userpage.js': 241, 'js/userpage_v.js': 245, - + 'images/badges/': 1021, } -%}