MarseyWorld/files/templates/directory.html

116 lines
2.3 KiB
HTML
Raw Normal View History

{% extends "default.html" %}
[DO NOT MERGE] titlesssssssssss (#468) * titles * testing * self * Revert "self" This reverts commit d6c12d5a5ba125feb44673f55e1fdac75f151cb5. * Revert "testing" This reverts commit 86d800f9fd552196b31f0e0b3891d4fc072a9bc0. * testing on devrama * rewrite the html head * reference error or smth idk * tempalte debug * template debug redux * default2 * rename default2 -> root, page title * fix settings2 * include the set_variables block * root scope variables 2 * test 3 * remove unnecessary set * add pagetitles to all settings2 pages * add pagetitle to casino * remove bloat * remove duplicate site name thingy * page titles 2 * page titles 3 * remove duplicate imports and add page titles everywhere iirc * ok but actually this time * remove unnecessary newlines * fix title lol * > * fsdfsfsfsfsfs * fsfs * template configurations * fix 500 * reduce login template bloat * move files and add status codes where needful * move authfroms to login * remove 2fa bloat * verification code * sign up fixes * readability * fssfsfsfs * move forgot password to login/ * readability * don't emit comments * add page titles where needful * gsgsgs * modals: move to respective pages * testing on devrama * get home garbage out of title * remove insane amount of icon duplication * sign up text * add votes pagetitle * fix blank lines * Revert "fix blank lines" This reverts commit b2c54339970725d00b6fc82bb458c1757909952c. * Fix blank lines on sign_up.html. * title: votes.html more meaningful identifier. * titles: Lottery, Directory, Notifications * head final in submission.html * fix missing comma * > * test * title: /comments * fsfsfsfsf * titles: user_cards * head: only load video and audio meta attributes if they actually exist * titlessssss: /admin/lottery/participants * titlessssssss: extra quote in search.html * titlessssss: userpage voters. * titties: /h/<sub>/{followers,blockers,exilees[sic]} * test banner * Revert "test banner" This reverts commit c3d875d03f3e60d72a60dab7d28bf108554a5826. * make submit.html inherit from default.html Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-21 08:52:22 +00:00
{% block pagetitle %}Directory{% endblock %}
{% block pagetype %}directory{% endblock %}
2023-01-01 11:36:20 +00:00
{# Title (~25char max), Description (~80char max),
2023-08-22 22:43:55 +00:00
Icon (fa-foo-bar), Color (#ff0000), URL (/submit/hats) #}
2023-08-05 13:46:47 +00:00
{%- set DIRECTORY = [] -%}
2022-07-09 10:38:45 +00:00
{%- if SITE_NAME == 'rDrama' -%}
2023-08-05 13:46:47 +00:00
{%- do DIRECTORY.extend([
(
'Bugs / Suggestions',
'Something broken? Improvements?',
'fa-bug', '#6b8e23',
2023-08-22 22:44:12 +00:00
'/post/' ~ BUG_THREAD,
),
2023-05-02 13:51:50 +00:00
(
'Changelog',
'Log of all site changes.',
'fa-clipboard', '#ffffff',
2023-08-22 22:43:43 +00:00
'/post/' ~ CHANGELOG_THREAD,
2023-05-02 13:51:50 +00:00
),
(
'Submit Emojis',
'Submit new emojis for the site.',
2023-09-12 20:06:50 +00:00
'fa-smile-beam', '#fec83c',
'/submit/emojis',
),
(
'Submit Hats',
'Submit a Hat to be added.',
'fa-hat-cowboy', '#7c603e',
'/submit/hats',
),
2022-09-09 23:53:09 +00:00
(
'Update Emojis or Hats',
'Ask for an emoji or a hat to be updated with a better version.',
2023-09-12 20:06:50 +00:00
'fa-smile-beam', '#fec83c',
'/post/103085',
2022-09-09 23:53:09 +00:00
),
(
'Submit Sidebar Art',
'Original rDrama-themed works.',
2022-06-15 08:35:13 +00:00
'fa-sidebar', '#f5fffa',
'/post/75878',
),
(
'Submit Banner Art',
'Original chud-repellant works.',
'fa-landscape', '#87cefa',
'/post/35835',
),
(
'Submit Snappy Quotes',
'Sentient.',
'fa-robot', '#adff2f',
'/post/33652',
),
(
'Emoji Commissions',
2023-08-03 03:49:43 +00:00
'Request an Emoji to be made.',
2024-02-03 03:27:41 +00:00
'fa-coins', '#ffd700',
'/post/37677',
),
(
'Reportmaxxxing Bounties',
'Request a redditor be banned.',
2024-02-03 03:27:41 +00:00
'fa-gavel', '#dc3545',
'/post/215970',
),
(
'View All Emojis',
'',
'fa-smile-beam', '#fec83c',
'/emojis/Marsey',
),
(
'View All Sidebar Pictures',
'',
'fa-sidebar', '#f5fffa',
'/post/37696',
),
(
'View All Banner Pictures',
'',
'fa-landscape', '#87cefa',
'/post/37697',
),
(
'View All Snappy Quotes',
'',
'fa-robot', '#adff2f',
'/post/37749',
),
2023-06-30 18:38:15 +00:00
(
'Donate',
'',
'fa-dollar-sign', 'green',
'/donate',
),
2022-07-09 10:38:45 +00:00
])-%}
{%- endif -%}
{% block content %}
2023-10-29 12:51:00 +00:00
<div id="directory--wrapper">
{% for thread in DIRECTORY %}
<a class="directory--link" href="{{thread[4]}}">
<div class="directory--link-content">
<i class="directory--link--icon fas {{thread[2]}}" style="color:{{thread[3]}}"></i>
<div class="directory--link--title">{{thread[0]|safe}}</div>
<div class="directory--link--description">{{thread[1]|safe}}</div>
</div>
</a>
{% endfor %}
</div>
{% endblock %}