2022-11-06 06:35:49 +00:00
{% extends "settings.html" %}
2022-11-21 08:52:22 +00:00
{% block pagetitle %}Personal Settings{% endblock %}
2022-11-06 06:35:49 +00:00
{% block content %}
< div class = "row settings-page" id = "settings-page-personal" >
2022-11-06 07:42:28 +00:00
< div class = "col col-lg-10" >
2022-11-06 06:35:49 +00:00
< div class = "settings" >
< section id = "site-settings-experience-section" class = "settings-section-section" >
< h5 > Site Experience< / h5 >
< div class = "settings-section rounded" id = "site-settings-experience" >
2022-12-20 01:38:19 +00:00
{% if v.can_toggle_event_music %}
{{common.toggle_section('Event Music', 'event_music_switch', 'event_music', v.event_music, 'Toggle event music.', false)}}
{% endif %}
2022-11-06 07:47:21 +00:00
< div class = "d-lg-flex border-bottom" >
2022-11-06 06:35:49 +00:00
< div class = "title w-lg-25" >
2022-11-06 09:44:58 +00:00
< label for = "patron-status" > {{patron}} Status< / label >
< / div >
< div class = "body w-lg-100" >
2023-05-14 22:16:01 +00:00
< p > You're a {{TIER_TO_NAME[v.patron] if v.patron else "freeloader"}}!< / p > {% if v.patron %} Thanks ily! < 3{% endif %}
2022-11-26 20:20:30 +00:00
{% if not v.patron and v.truescore >= TRUESCORE_DONATE_MINIMUM %}
2022-11-07 01:01:24 +00:00
< p class = "font-italic" > To stop freeloading, first < a href = "/settings/security#new_email" > verify your email< / a > , support us on < a href = "{{DONATE_LINK}}" > {{DONATE_SERVICE}}< / a > with the same email, and click "Claim {{patron}} Rewards"< / p >
2022-11-07 01:41:32 +00:00
{% elif not v.patron %}
2022-11-07 00:40:51 +00:00
< p class = "font-italic" > To stop freeloading, you can < a href = "/donate" > donate via crypto< / a > . Please let us know first beforehand by < a href = "/contact" > sending us a modmail.< / a > Thanks!< / p >
2022-11-07 00:03:43 +00:00
{% endif %}
2022-11-06 09:44:58 +00:00
< / div >
< / div >
< div class = "d-lg-flex border-bottom" >
< div class = "title w-lg-25" >
< label for = "theme" > Website Theme< / label >
2022-11-06 06:35:49 +00:00
< / div >
< div class = "body w-lg-100" >
2023-03-21 17:12:38 +00:00
< div class = "input-group" >
2023-01-01 14:19:25 +00:00
< select autocomplete = "off" id = 'theme' class = "form-control setting_select" form = "profile-settings" name = "theme" data-nonce = "{{g.nonce}}" data-reload = "1" >
2023-03-18 13:34:04 +00:00
{% for entry in THEMES %}
< option value = "{{entry}}" { % if v . theme = =entry % } selected { % endif % } >
{{entry}}
< / option >
{% endfor %}
< / select >
2022-11-06 09:44:58 +00:00
< / div >
2022-11-06 06:35:49 +00:00
< / div >
< / div >
2022-11-06 09:44:58 +00:00
{{common.color_section('theme-color', '/settings/themecolor', 'themecolor', 'Theme Color', v.themecolor)}}
2022-11-06 07:47:21 +00:00
< div class = "d-lg-flex border-bottom" >
2022-11-06 06:35:49 +00:00
< div class = "title w-lg-25" >
< label for = "background" > Website Backgrounds< / label >
< / div >
< div class = "body w-lg-100" >
< p > Change the background for the website.< / p >
2023-03-21 17:12:38 +00:00
< div class = "input-group" >
2023-01-01 11:36:20 +00:00
< select autocomplete = "off" id = 'backgroundSelector' class = "form-control" form = "profile-settings" name = "background" data-nonce = "{{g.nonce}}" data-onchange = "updatebgselection();" >
2022-11-27 16:15:15 +00:00
{% for entry in BACKGROUND_CATEGORIES %}
2022-11-06 06:35:49 +00:00
< option value = "{{entry}}" { % if v . background and v . background . startswith ( entry ) % } selected { % endif % } >
{{entry}}
< / option >
{% endfor %}
< / select >
< / div >
2023-01-01 11:36:20 +00:00
< form class = "d-flex mt-3 mb-2" id = "upload-custom-background" action = "/settings/custom_background" method = "post" enctype = "multipart/form-data" >
2023-01-24 05:10:16 +00:00
< input hidden name = "formkey" value = "{{v|formkey}}" >
2022-12-30 08:05:32 +00:00
< label class = "btn btn-primary" for = "upload-custom-background-file" >
2023-01-01 11:36:20 +00:00
< i class = "fas fa-image mr-1" > < / i >
2022-12-05 00:02:29 +00:00
{% if v.background and v.background.startswith('/images/') %}
{{v.background}}
{% else %}
2022-12-05 04:16:45 +00:00
Upload custom site background
2022-12-05 00:02:29 +00:00
{% endif %}
< / label >
2023-01-01 09:42:23 +00:00
< input autocomplete = "off" id = "upload-custom-background-file" accept = "image/*" , type = "file" name = "file" data-nonce = "{{g.nonce}}" onchange_submit hidden >
2022-12-05 00:02:29 +00:00
< / form >
2022-11-06 06:35:49 +00:00
{% if v.background %}
2022-12-05 00:02:29 +00:00
< div class = "d-flex mb-3" >
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-danger" data-nonce = "{{g.nonce}}" data-onclick = "postToastReload(this,'/settings/background', 'DELETE')" >
2022-12-05 00:02:29 +00:00
< i class = "fas fa-image-slash mr-1" > < / i >
2022-12-05 04:16:45 +00:00
Remove current background
2022-12-05 00:02:29 +00:00
< / button >
2022-11-06 06:35:49 +00:00
< / div >
{% endif %}
< div id = "bgcontainer" > < / div >
< / div >
< / div >
< / div >
< / section >
< section id = "site-settings-aesthetic-section" class = "settings-section-section" >
< h5 > Your Aesthetic< / h5 >
2022-11-06 07:42:28 +00:00
< div class = "settings-section rounded" id = "site-settings-aesthetic" >
2022-11-06 06:35:49 +00:00
{% if FEATURES['HOUSES'] %}
2022-11-06 07:47:21 +00:00
< div class = "d-lg-flex border-bottom" >
2022-11-06 06:35:49 +00:00
< div class = "title w-lg-25" >
< label for = "theme" > House< / label >
< / div >
< div class = "body w-lg-100" >
{% if v.house %}
{% set cost = HOUSE_SWITCH_COST %}
< p > Change your house (cost: {{cost}} coins or marseybux).< / p >
{% if ' Founder' in v.house %}
< p > Warning: you'll lose your founder status if you join a different house< / p >
{% endif %}
{% else %}
{% set cost = HOUSE_JOIN_COST %}
< p > Join a house (cost: {{cost}} coins or marseybux).< / p >
{% endif %}
2023-03-21 17:12:38 +00:00
< div class = "input-group" >
2023-06-27 21:56:23 +00:00
< select id = "changing-house" { % if cost > v.coins + v.marseybux or v.bite %}disabled{% endif %} autocomplete="off" id='house' class="form-control setting_select" form="profile-settings" name="house" data-nonce="{{g.nonce}}" data-reload="1">
2022-11-06 09:44:58 +00:00
{% for entry in HOUSES %}
2022-12-30 13:35:04 +00:00
< option value = "{{entry}}" { % if v . house . startswith ( entry ) % } selected { % endif % } >
2022-11-06 06:35:49 +00:00
{{entry}}
< / option >
{% endfor %}
< / select >
< / div >
< / div >
< / div >
{%- endif %}
2022-11-06 07:47:21 +00:00
< div class = "d-lg-flex border-bottom" >
2022-11-06 09:11:23 +00:00
< div class = "title w-lg-25" >
< label for = "profile-picture" > Profile Picture< / label >
< / div >
2022-11-06 06:35:49 +00:00
< div class = "title w-lg-25 text-md-center" >
< img loading = "lazy" alt = "your profile picture" src = "{{v.profile_url}}" class = "profile-pic-75" >
< / div >
< div class = "body w-lg-100 my-auto" >
< div class = "d-flex" >
< div >
< form action = "/settings/images/profile" method = "post" enctype = "multipart/form-data" >
2023-01-24 05:10:16 +00:00
< input hidden name = "formkey" value = "{{v|formkey}}" >
2022-11-06 06:35:49 +00:00
< label class = "btn btn-secondary text-capitalize mr-2 mb-0" >
2023-01-01 09:42:23 +00:00
Update< input autocomplete = "off" type = "file" accept = "image/*" { % if g . is_tor % } disabled { % endif % } hidden name = "profile" data-nonce = "{{g.nonce}}" onchange_submit >
2022-11-06 06:35:49 +00:00
< / label >
< / form >
< / div >
< / div >
< div class = "text-small text-muted mt-3" > All image files are supported. Max file size is {% if v and v.patron %}16{% else %}8{% endif %} MB.< / div >
< / div >
< / div >
{% if FEATURES['USERS_PROFILE_BANNER'] -%}
2022-11-06 07:47:21 +00:00
< div class = "d-lg-flex border-bottom" >
2022-11-06 09:11:23 +00:00
< div class = "title w-lg-25" >
< label for = "banner" > Banner< / label >
< / div >
2022-11-06 06:35:49 +00:00
< div class = "title w-lg-75 text-md-center" >
< img loading = "lazy" alt = "your banner" src = "{{v.banner_url}}" class = "banner-pic-135" >
< / div >
< div class = "body w-lg-100 my-auto" >
< div class = "d-flex" >
< div >
< form action = "/settings/images/banner" method = "post" enctype = "multipart/form-data" >
2023-01-24 05:10:16 +00:00
< input hidden name = "formkey" value = "{{v|formkey}}" >
2022-11-06 06:35:49 +00:00
< label class = "btn btn-secondary text-capitalize mr-2 mb-0" >
2023-01-01 09:42:23 +00:00
Update< input autocomplete = "off" type = "file" { % if g . is_tor % } disabled { % endif % } accept = "image/*" hidden name = "banner" data-nonce = "{{g.nonce}}" onchange_submit >
2022-11-06 06:35:49 +00:00
< / label >
< / form >
< / div >
< / div >
< div class = "text-small text-muted mt-3" > All image files are supported. Max file size is {% if v and v.patron %}16{% else %}8{% endif %} MB.< / div >
< / div >
< / div >
{%- endif %}
2022-11-06 07:47:21 +00:00
< div class = "d-lg-flex border-bottom" >
2022-11-06 06:35:49 +00:00
< div class = "title w-lg-25" >
< label for = "name" > Username< / label >
< / div >
< div class = "body w-lg-100" >
< p > Your original username will always stay reserved for you: < code > {{v.original_username}}< / code > < / p >
< form action = "/settings/name_change" method = "post" >
2023-01-24 05:10:16 +00:00
< input hidden name = "formkey" value = "{{v|formkey}}" >
2023-07-08 16:11:29 +00:00
< input id = "name-body" autocomplete = "off" type = "text" name = "name" class = "form-control" value = "{{v.username}}" { % if v . namechanged % } disabled { % endif % } >
2022-11-06 06:35:49 +00:00
< small > 3-25 characters, including letters, numbers, _ , and -< / small >
< div class = "d-flex mt-2" >
2023-07-08 16:11:29 +00:00
< input autocomplete = "off" class = "btn btn-primary ml-auto" type = "submit" value = "Change Display Name" { % if v . namechanged % } disabled { % endif % } >
2022-11-06 06:35:49 +00:00
< / div >
< / form >
< / div >
< / div >
2022-11-06 09:44:58 +00:00
{{common.color_section('namecolor', '/settings/namecolor', 'namecolor', 'Name Color', v.name_color)}}
2023-06-22 12:57:36 +00:00
{{common.line_text_section('pronouns', '/settings/pronouns_change', 'pronouns', 'Pronouns', v.pronouns, 'Limit of 15 characters', 'Enter pronouns here', 'Change Pronouns', false, 3, 15, '([a-zA-Z]{1,7})/[a-zA-Z]{1,7}(/[a-zA-Z]{1,7})?', FEATURES['PRONOUNS'], false)}}
2022-11-22 23:47:32 +00:00
{# common.line_text_section(id, form_action, form_name, section_title, contents, below_text, placeholder_text, button_text, show_marseys, minlength, maxlength, pattern, show_if, disabled) #}
{{common.line_text_section('flair', '/settings/title_change', 'title', 'Flair', v.customtitleplain, 'Limit of 100 characters', 'Enter a flair here', 'Change Flair', true, 0, 100, '.*', true, v.flairchanged)}}
2022-11-06 09:44:58 +00:00
{{common.color_section('flaircolor', '/settings/titlecolor', 'titlecolor', 'Flair Color', v.titlecolor)}}
2022-11-06 06:35:49 +00:00
{% if v.verified %}
2022-11-07 04:18:11 +00:00
{{common.color_section('verifiedcolor', '/settings/verifiedcolor', 'verifiedcolor', 'Checkmark Color', v.verifiedcolor)}}
2022-11-22 23:47:32 +00:00
{{common.line_text_section('checkmark_text', '/settings/checkmark_text', 'checkmark-text', 'Checkmark Text', v.verified, 'Limit of 100 characters', 'Enter checkmark hover text here', 'Change Text', false, 0, 100, '.*', v.verified, false)}}
2022-11-06 06:35:49 +00:00
{% endif %}
{% if FEATURES['USERS_PROFILE_SONG'] -%}
2022-11-06 07:47:21 +00:00
< div class = "d-lg-flex border-bottom" >
2022-11-06 06:35:49 +00:00
< div class = "title w-lg-25" >
< label for = "anthem" > Profile Anthem< / label >
< / div >
2022-11-06 08:11:34 +00:00
< div class = "body w-lg-100" >
2022-11-06 06:35:49 +00:00
< p > You can use an MP3 file or a YouTube video.< / p >
< form action = "/settings/song_change_mp3" method = "post" enctype = "multipart/form-data" >
2023-01-24 05:10:16 +00:00
< input hidden name = "formkey" value = "{{v|formkey}}" >
2022-12-30 08:05:32 +00:00
< label class = "btn btn-secondary d-inline-block m-0 mb-3" >
2023-03-06 18:02:12 +00:00
< div > < i class = "fas fa-file" > < / i >
2022-11-06 06:35:49 +00:00
{% if v.song and v.song|length in (1,2,3,4,5,17) %}
{{v.song}}.mp3
{% else %}
Use an MP3 file (Max size is 8MB)
{% endif %}
< / div >
2023-01-01 09:42:23 +00:00
< input autocomplete = "off" id = "file-upload2" type = "file" name = "file" { % if g . is_tor % } disabled { % endif % } accept = "audio/mp3" data-nonce = "{{g.nonce}}" onchange_submit hidden >
2022-11-06 06:35:49 +00:00
< / label >
< / form >
< form action = "/settings/song_change" method = "post" >
2023-01-24 05:10:16 +00:00
< input hidden name = "formkey" value = "{{v|formkey}}" >
2022-11-06 06:35:49 +00:00
< input class = "form-control" style = "display:inline;max-width:75%;font-size: min(3.5vw,16px)!important" autocomplete = "off" type = "text" name = "song" class = "form-control" value = "{% if v.song and v.song|length not in (1,2,3,4,5,17) %}https://youtu.be/{{v.song}}{% endif %}" placeholder = 'Enter a YouTube video link here' >
2023-07-22 11:02:03 +00:00
< input class = "btn btn-primary" style = "font-size: min(3.5vw,16px)!important" autocomplete = "off" class = "btn btn-primary ml-auto" type = "submit" value = "Submit" >
2022-11-06 06:35:49 +00:00
< / form >
< br > < small > In some browsers, users have to click at least once anywhere in the profile page for the anthem to play.< / small >
< / div >
< / div >
{%- endif %}
2022-11-06 09:44:58 +00:00
{# common.text_area_section(id, form_action, form_name, section_title, contents, below_text, placeholder_text, show_extras, show_file_upload, maxlength, show_if) #}
2023-03-03 04:19:52 +00:00
{{common.text_area_section('profile-bio', '/settings/personal', 'bio', 'Bio', v.bio, 'Limit of ' ~ BIO_FRIENDS_ENEMIES_LENGTH_LIMIT ~ ' characters', 'Tell the community a bit about yourself.', true, true, BIO_FRIENDS_ENEMIES_LENGTH_LIMIT, FEATURES['USERS_PROFILE_BODYTEXT'])}}
{{common.text_area_section('profile-friends', '/settings/personal', 'friends', 'Friends', v.friends, 'Limit of ' ~ BIO_FRIENDS_ENEMIES_LENGTH_LIMIT ~ ' characters', 'Enter your friends on the site...', false, false, BIO_FRIENDS_ENEMIES_LENGTH_LIMIT, true)}}
{{common.text_area_section('profile-enemies', '/settings/personal', 'enemies', 'Enemies', v.enemies, 'Limit of ' ~ BIO_FRIENDS_ENEMIES_LENGTH_LIMIT ~ ' characters', 'Enter your enemies on the site...', false, false, BIO_FRIENDS_ENEMIES_LENGTH_LIMIT, true)}}
2023-07-02 19:57:08 +00:00
{{common.text_area_section('profile-signature', '/settings/personal', 'sig', 'Signature', v.sig, 'Limit of 200 characters', 'Enter a signature...', true, false, 200, true)}}
2022-11-07 02:01:16 +00:00
{# toggle_section(title, id, name, flag, below_text, disabled) #}
2023-05-03 14:50:42 +00:00
{{common.toggle_section('Private Mode', 'privateswitch', 'private', v.is_private, 'This will hide your profile page from others.', false)}}
2023-06-27 21:03:44 +00:00
{{common.toggle_section('Spider', 'spiderswitch', 'spider', v.spider, 'Have a spider friend accompany you during your journey on the site.', v.spider > 1)}}
2023-07-02 20:07:31 +00:00
{{common.toggle_section('Marsify', 'marsify', 'marsify', v.marsify, 'Automatically insert relevant marseys into your future comments.', v.marsify > 1)}}
2022-11-06 06:35:49 +00:00
< / div >
< / section >
< section id = "site-settings-filters-section" class = "settings-section-section" >
< h5 > Filters< / h5 >
< div class = "settings-section rounded" id = "site-settings-filters" >
2022-11-07 05:52:52 +00:00
{% set ns = namespace(slurtext='Enable if you would like to automatically replace slurs.', profanitytext='Enable if you would like to automatically replace profanities.') %}
2022-11-06 10:27:44 +00:00
{% if FEATURES['USERS_PERMANENT_WORD_FILTERS'] and v.slurreplacer %}
2022-11-07 00:03:43 +00:00
{% if v.slurreplacer == 1 %}
2022-11-07 02:11:59 +00:00
{% set ns.slurtext = 'Enable if you would like to automatically replace slurs. < a id = "slurreplacer-perma-link" href = "#" class = "text-primary" data-bs-toggle = "modal" data-bs-target = "#modal-slurreplacer" > Make filter permanent for a badge!< / a > ' %}
2022-11-07 00:03:43 +00:00
{% else %}
2022-11-07 05:52:52 +00:00
{% set ns.slurtext = "You've enabled the slur replacer permanently! ✊🏿" %}
2022-11-07 00:03:43 +00:00
{% endif %}
2022-11-06 10:27:44 +00:00
{% endif %}
{% if FEATURES['USERS_PERMANENT_WORD_FILTERS'] and v.profanityreplacer %}
2022-11-07 00:03:43 +00:00
{% if v.profanityreplacer == 1 %}
2022-11-07 02:11:59 +00:00
{% set ns.profanitytext = 'Enable if you would like to automatically replace profanities. < a id = "profanityreplacer-perma-link" href = "#" class = "text-primary" data-bs-toggle = "modal" data-bs-target = "#modal-profanityreplacer" > Make filter permanent for a badge!< / a > ' %}
2022-11-07 00:03:43 +00:00
{% else %}
{% set ns.profanitytext = "You've enabled the profanity replacer permanently! 😇" %}
{% endif %}
2022-11-06 10:27:44 +00:00
{% endif %}
2022-11-06 10:58:34 +00:00
{{common.toggle_section("Slur Replacer", "slurreplacer", 'slurreplacer', v.slurreplacer, ns.slurtext, FEATURES['USERS_PERMANENT_WORD_FILTERS'] and v.slurreplacer > 1)}}
{{common.toggle_section("Profanity Replacer", "profanityreplacer", 'profanityreplacer', v.profanityreplacer, ns.profanitytext, FEATURES['USERS_PERMANENT_WORD_FILTERS'] and v.profanityreplacer > 1)}}
2022-11-06 06:35:49 +00:00
< / div >
< / section >
< section id = "site-settings-referral-section" class = "settings-section-section" >
< h5 > Refer a Friend!< / h5 >
2022-11-06 07:42:28 +00:00
< div class = "settings-section rounded" id = "site-settings-referral" >
2022-11-06 08:11:34 +00:00
< div class = "d-lg-flex border-bottom" >
< div class = "title w-lg-25" >
< label for = "referral_code" > Referral code< / label >
< / div >
< div class = "body w-lg-100" >
< div class = "input-group" >
2022-12-30 17:20:10 +00:00
< input autocomplete = "off" type = "text" readonly class = "form-control copy-link" id = "referral_code" value = "{{SITE_FULL}}/signup?ref={{v.username}}" data-clipboard-text = "{{SITE_FULL}}/signup?ref={{v.username}}" >
2022-11-06 08:11:34 +00:00
< span class = "input-group-append" data-bs-toggle = "tooltip" data-bs-placement = "top" title = "You have referred {{v.referral_count}} user{{'s' if v.referral_count != 1 else ''}} so far. {% if v.referral_count==0 %}¯\_(ツ)_/¯{% elif v.referral_count>10%}Wow!{% endif %}" >
2022-12-25 02:10:56 +00:00
< span class = "input-group-text text-primary border-0" > < i class = "far fa-user mr-1" > < / i > {{v.referral_count}}< / span >
2022-11-06 08:11:34 +00:00
< / span >
< / div >
< div class = "text-small text-muted mt-3" > Share this link with a friend. {% if v.referral_count==0 %} When they sign up, you'll get the bronze recruitment badge. < a href = "/badges" > Learn more.< / a > {% elif v.referral_count< 10 % } When you refer 10 friends , you ' ll receive the silver recruitment badge . < a href = "/badges" > Learn more.< / a > {% elif v.referral_count< 100 % } When you refer 100 friends , you ' ll receive the gold recruitment badge . < a href = "/badges" > Learn more< / a > .{% endif %}< / div >
2022-11-06 06:35:49 +00:00
< / div >
< / div >
< / div >
< / section >
< / div >
< / div >
< / div >
2022-11-15 19:14:29 +00:00
{% include "modals/emoji.html" %}
{% include "modals/gif.html" %}
2022-11-06 06:35:49 +00:00
{% if v.flairchanged %}
2022-12-29 14:20:27 +00:00
< input hidden id = "flairchanged" value = "{{v.flairchanged}}" >
2023-05-13 04:53:14 +00:00
< script defer src = "{{'js/flairchanged.js' | asset}}" > < / script >
{% endif %}
2023-07-08 16:11:29 +00:00
{% if v.namechanged %}
< input hidden id = "namechanged" value = "{{v.namechanged}}" >
2023-05-13 04:53:14 +00:00
< script defer src = "{{'js/namechanged.js' | asset}}" > < / script >
2022-11-06 06:35:49 +00:00
{% endif %}
< script defer src = "{{'js/settings_profile.js' | asset}}" > < / script >
2022-11-06 10:27:44 +00:00
{% macro permanent_filter_modal(id, form_action, field, friendly_name, badge_name) %}
{% if FEATURES['USERS_PERMANENT_WORD_FILTERS'] -%}
2023-01-20 07:14:59 +00:00
< div class = "modal fade" id = "modal-{{id}}" tabindex = "-1" >
< div class = "modal-dialog modal-dialog-centered" >
2022-11-06 12:30:07 +00:00
< form class = "m-auto" action = "{{form_action}}" id = "{{id}}-form" method = "post" >
2022-11-06 10:27:44 +00:00
< div class = "modal-content" >
< div class = "modal-header" >
< h5 class = "modal-title" > Make {{friendly_name}} Permanent< / h5 >
2022-12-25 02:10:56 +00:00
< button type = "button" class = "close" data-bs-dismiss = "modal" >
< span > < i class = "far fa-times" > < / i > < / span >
2022-11-06 10:27:44 +00:00
< / button >
< / div >
< div class = "modal-body" >
2023-01-24 05:10:16 +00:00
< input hidden name = "{{field}}" value = "true" >
< input hidden name = "permanent" value = "true" >
< input hidden name = "formkey" value = "{{v|formkey}}" >
2022-11-06 12:30:07 +00:00
< p > This form will permanently enable the filter for you. You will receive the {{badge_name}} badge and < strong > will not< / strong > be able to disable the filter.< br > Type your username to continue.< / p >
< input autocomplete = "off" type = "text" name = "username" placeholder = "Enter your username to confirm" id = "username-{{id}}" class = "form-control" pattern = "{{v.username}}" required >
2022-11-06 10:27:44 +00:00
< / div >
< div class = "modal-footer" >
< button type = "button" class = "btn btn-link text-muted" data-bs-dismiss = "modal" > Cancel< / button >
2022-11-06 10:58:34 +00:00
< button type = "submit" class = "btn btn-danger" id = "submit-{{id}}-form" > Make Permanent< / button >
2022-11-06 10:27:44 +00:00
< / div >
< / div >
< / form >
< / div >
< / div >
{%- endif %}
{% endmacro %}
2022-11-07 00:03:43 +00:00
{% if v.slurreplacer == 1 -%}
2022-11-06 12:30:07 +00:00
{{permanent_filter_modal('slurreplacer', '/settings/personal', 'slurreplacer', 'Slur Replacer', 'Social Justice Berserker')}}
2022-11-07 00:03:43 +00:00
{%- endif %}
{% if v.profanityreplacer == 1 -%}
2022-11-06 12:30:07 +00:00
{{permanent_filter_modal('profanityreplacer', '/settings/personal', 'profanityreplacer', 'Profanity Replacer', 'Soapy-Mouthed Angel')}}
2022-11-07 00:03:43 +00:00
{%- endif %}
2022-11-06 06:35:49 +00:00
{% endblock %}