diff --git a/files/routes/static.py b/files/routes/static.py index 22012a32e..93f3fc3a7 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -169,6 +169,10 @@ def log_item(id, v): return render_template("log.html", v=v, actions=[action], next_exists=False, page=1, action=action, admins=admins, types=types) +@app.get("/directory") +@auth_required +def static_megathread_index(v): + return render_template("megathread_index.html", v=v) @app.get("/api") @auth_required diff --git a/files/templates/megathread_index.html b/files/templates/megathread_index.html new file mode 100644 index 000000000..e81aac805 --- /dev/null +++ b/files/templates/megathread_index.html @@ -0,0 +1,64 @@ +{% extends "default.html" %} + +{# Title (~25char max), Description (~80char max), + Icon (fa-foo-bar), Color (#ff0000), URL (/post/12345/) #} +{%- +set MEGATHREAD_INDEX = [ + ( + 'Bugs / Suggestions', + 'Something broken? Improvements?', + 'fa-bug', '#6b8e23', + '/post/18459', + ), + ( + 'Submit Marseys', + 'For original Marseys or other emoji.', + 'fa-cat', '#ffa500', + '/post/16583', + ), + ( + 'Submit Sidebar Art', + 'Original rDrama-themed works.', + 'fa-image-landscape', '#87cefa', + '/post/75878', + ), + ( + 'Submit Banner Art', + 'Original chud-repellant works.', + 'fa-flag-pennant', '#b22222', + '/post/35835', + ), + ( + 'Submit Snappy Quotes', + 'Sentient.', + 'fa-robot', '#adff2f', + '/post/33652', + ), + ( + 'Marsey Commissions', + 'Request a Marsey to be made.', + 'fa-coins', '#ffd700', + '/post/37677', + ), + ( + 'Gambling Spam', + 'Goomble without bothering people.', + 'fa-dice-six', '#c9d1d9', + '/post/39413', + ), +] +-%} + +{% block content %} +
+{% for thread in MEGATHREAD_INDEX %} + + + +{% endfor %} +
+{% endblock %} diff --git a/files/templates/sidebar_rDrama.html b/files/templates/sidebar_rDrama.html index c5163a8d8..256f366f4 100644 --- a/files/templates/sidebar_rDrama.html +++ b/files/templates/sidebar_rDrama.html @@ -73,24 +73,21 @@ set VISITORS_HERE_FLAVOR = [ HOLE FOLLOWERS HOLE BLOCKERS {% else %} + + DIRECTORY + Submit Marseys & Art | Info Megathreads + BROWSE HOLES {% if v %} CREATE HOLE {% endif %} - EMOJI MEGATHREAD - BUGS/SUGGESTIONS MEGATHREAD - SIDEBAR ARTWORK MEGATHREAD - SNAPPY QUOTES MEGATHREAD - BANNER ARTWORK MEGATHREAD - EMOJI REQUESTS MEGATHREAD - GAMBLING MEGATHREAD

Rules:


- NO RIGHTWING AGENDAPOSTING.

- - Don't post anything illegal.

+ - Don’t post anything illegal.

- No sexualizing minors even as a “joke”.

diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index 85c4651f5..f8469b6e4 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -1,6 +1,6 @@ {%- set CACHE_VER = { - 'css/main.css': 313, + 'css/main.css': 314, 'css/4chan.css': 60, 'css/classic.css': 59,