diff --git a/files/assets/css/main.css b/files/assets/css/main.css index efc4e5898d..d19be50895 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -2480,6 +2480,9 @@ a.bg-light:hover, a.bg-light:focus, button.bg-light:hover, button.bg-light:focus .text-center { text-align: center !important; } +.text-justify { + text-align: justify !important; +} @media (min-width: 768px) { .text-md-left { text-align: left !important; @@ -2509,6 +2512,9 @@ a.bg-light:hover, a.bg-light:focus, button.bg-light:hover, button.bg-light:focus .font-italic { font-style: italic !important; } +.font-underline { + text-decoration: underline !important; +} .text-primary { color: var(--primary) !important; } diff --git a/files/helpers/jinja2.py b/files/helpers/jinja2.py index 3903e7e827..02d7c7751a 100644 --- a/files/helpers/jinja2.py +++ b/files/helpers/jinja2.py @@ -68,4 +68,12 @@ def inject_constants(): "CASINO_ENABLED":CASINO_ENABLED, "GUMROAD_LINK":GUMROAD_LINK, "DEFAULT_THEME":DEFAULT_THEME, "DESCRIPTION":DESCRIPTION, "has_sidebar":has_sidebar, "has_logo":has_logo, "has_app":has_app, - "FP":FP, "NOTIF_MODACTION_JL_MIN":NOTIF_MODACTION_JL_MIN, "cache":cache, "ONLINE_STR":ONLINE_STR, "patron":patron, "approved_embed_hosts":approved_embed_hosts, "dues":dues, "SIDEBAR_THREAD":SIDEBAR_THREAD, "BANNER_THREAD":BANNER_THREAD, "BADGE_THREAD":BADGE_THREAD, "SNAPPY_THREAD":SNAPPY_THREAD, "KOFI_TOKEN":KOFI_TOKEN, "KOFI_LINK":KOFI_LINK, "MAIL_USERNAME":app.config['MAIL_USERNAME']} + "FP":FP, "NOTIF_MODACTION_JL_MIN":NOTIF_MODACTION_JL_MIN, "cache":cache, + "ONLINE_STR":ONLINE_STR, "patron":patron, "dues":dues, + "SIDEBAR_THREAD":SIDEBAR_THREAD, "BANNER_THREAD":BANNER_THREAD, + "BADGE_THREAD":BADGE_THREAD, "SNAPPY_THREAD":SNAPPY_THREAD, + "KOFI_TOKEN":KOFI_TOKEN, "KOFI_LINK":KOFI_LINK, + "approved_embed_hosts":approved_embed_hosts, + "site_settings":app.config['SETTINGS'], + "MAIL_USERNAME":app.config['MAIL_USERNAME'], + } diff --git a/files/routes/admin.py b/files/routes/admin.py index 53d4ab58c6..24aee6acf9 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -430,7 +430,6 @@ def admin_home(v): return render_template("admin/admin_home.html", v=v, under_attack=under_attack, - site_settings=app.config['SETTINGS'], gitref=gitref) def admin_git_head(): diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index 71b81596fd..ab7e5a5958 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -7,136 +7,140 @@ - + - - + + - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + -
Looks like someone wants you to join {{SITE_NAME}}.
- {% else %} -No email address required.
- {% endif %} + {% if ref_user %} +Looks like someone wants you to join {{SITE_NAME}}.
+ {% elif SITE_NAME == 'WPD' and site_settings['login_required'] %} +
+ Hi you! — WatchPeopleDie.co is currently doing our monthly 24(ish) hours of "everyone needs to have an account"—sorry about that! But making an account is actually super easy. You don't even need an email address! Literally just pick a username, set a password, and that's that. Bam, done, like 8 seconds, tops.
+
+ We WANT you with us 💖
+ Please join!
+
No email address required.
+ {% endif %} - - -