2021-10-15 14:08:27 +00:00
{% extends "default.html" %}
2021-12-14 22:48:37 +00:00
2021-12-08 03:29:08 +00:00
{% block pagetype %}userpage{% endblock %}
2021-10-15 14:08:27 +00:00
{% block title %}
2022-01-14 11:25:43 +00:00
{% if u and u.profilecss and not request.values.get('nocss') %}
2021-12-14 22:48:37 +00:00
< link rel = "stylesheet" href = "/@{{u.username}}/profilecss" >
{% endif %}
2022-01-14 11:25:43 +00:00
2022-01-13 23:39:39 +00:00
< title > {{u.username}}'s profile - {{SITE_NAME}}< / title >
2021-10-26 21:11:14 +00:00
< meta property = "og:article:author" content = "@{{u.username}}" >
2022-01-13 23:39:39 +00:00
< meta property = "article:section" content = "{{u.username}}'s profile - {{SITE_NAME}}" >
2021-10-26 21:11:14 +00:00
< meta property = "article:published_time" content = "{{u.created_date}}" >
2022-01-19 12:44:05 +00:00
< meta property = "og:description" name = "description" content = "{{u.coins}} coins - Joined {{u.created_date}} - {% if u.stored_subscriber_count >=1 and not u.is_private and not u.is_nofollow %}{{u.stored_subscriber_count}} Followers - {% endif %}{% if not u.is_private %} {{0 if u.shadowbanned else u.post_count}} Posts - {{0 if u.shadowbanned else u.comment_count}} Comments - {% endif %}{{u.bio}}" >
2021-10-26 21:11:14 +00:00
< meta property = "og:author" name = "author" content = "@{{u.username}}" >
< meta property = "og:title" content = "{{u.username}}" >
< meta property = "og:image" content = "{{u.banner_url}}" >
2022-01-28 20:55:59 +00:00
< meta property = "og:url" content = "{{u.url}}" >
2021-10-26 21:11:14 +00:00
< meta property = "og:site_name" content = "{{request.host}}" >
< meta name = "twitter:card" content = "summary_large_image" >
2022-01-24 17:37:37 +00:00
< meta name = "twitter:site" content = "{{SITE_FULL}}/" >
2022-01-13 23:39:39 +00:00
< meta name = "twitter:title" content = "{{u.username}}'s profile - {{SITE_NAME}}" >
2021-10-15 14:08:27 +00:00
< meta name = "twitter:creator" content = "@{{u.username}}" >
2022-01-19 12:44:05 +00:00
< meta name = "twitter:description" content = "{{u.coins}} coins - Joined {{u.created_date}} - {% if u.stored_subscriber_count >=1 and not u.is_private and not u.is_nofollow %}{{u.stored_subscriber_count}} Followers -{% endif %} {% if not u.is_private %} {{0 if u.shadowbanned else u.post_count}} Posts - {{0 if u.shadowbanned else u.comment_count}} Comments - {% endif %}{{u.bio}}" >
2021-10-26 21:11:14 +00:00
< meta name = "twitter:image" content = "{{u.banner_url}}" >
2022-01-28 20:55:59 +00:00
< meta name = "twitter:url" content = "{{u.url}}" >
2021-10-15 14:08:27 +00:00
{% endblock %}
2021-12-14 22:48:37 +00:00
{% block desktopUserBanner %}
< div class = "row d-none d-md-block" >
< div class = "col px-0" >
< div class = "jumbotron jumbotron-fluid jumbotron-guild d-none d-md-block" style = "background-image: url({{u.banner_url}})" >
< div class = "jumbotron-overlay" > < / div >
< div class = "w-100 my-3" >
< div class = "container-fluid nobackground" >
< div class = "d-md-flex text-center text-md-left" >
< div >
2021-12-27 05:07:19 +00:00
< a rel = "nofollow noopener noreferrer" href = "{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}" > < img alt = "@{{u.username}}'s profile picture" loading = "lazy" src = "{{u.profile_url}}" class = "profile-pic profile-pic-100 mb-5" > < / a >
2021-12-14 22:48:37 +00:00
< / div >
< div id = "profilestuff" class = "ml-3 w-100" >
{% if u.is_suspended %}
2022-01-13 23:29:15 +00:00
< h5 class = "text-primary" > BANNED USER{% if u.ban_reason %}:
2022-01-14 10:22:37 +00:00
{% if u.ban_reason_link %}< a href = "{{u.ban_reason_link}}" > < i class = "fas fa-link" > < / i > {% endif %}
{{u.ban_reason}}
2021-12-14 22:48:37 +00:00
{% if u.ban_reason_link %}< / a > {% endif %}
{% endif %}< / h5 >
2022-01-13 23:29:15 +00:00
{% if u.unban_utc %}< h5 class = "text-primary" > >{{u.unban_string}}< / h5 > {% endif %}
2021-12-14 22:48:37 +00:00
{% endif %}
< div class = "d-flex align-items-center mt-1 mb-2" >
2022-01-03 10:32:31 +00:00
< h1 class = "font-weight-bolder h3 mb-0" style = "color: #{{u.namecolor}}" > < span { % if u . patron % } class = "patron" style = "background-color:#{{u.namecolor}}" { % endif % } > {{u.username}}< / span > < / h1 >
2021-12-14 22:48:37 +00:00
{% if u.username != u.original_username %}
< span >
< i class = "fad fa-user-tag text-info align-middle ml-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Original Username: @{{u.original_username}}" > < / i >
< / span >
{% endif %}
2022-02-08 19:01:23 +00:00
{% if SITE_NAME=='Drama' and u.house %}
2022-02-06 13:04:55 +00:00
< img src = "/assets/images/{{SITE_NAME}}/houses/{{u.house}}.webp?a=5" height = "20" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "House {{u.house}}" >
2022-02-04 11:13:59 +00:00
{% endif %}
2021-12-14 22:48:37 +00:00
{% if u.verified %}< span > < i class = "fas fa-badge-check align-middle ml-1" style = "color:{% if u.verifiedcolor %}#{{u.verifiedcolor}}{% else %}#1DA1F2{% endif %}" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "{{u.verified}}" > < / i > < / span > {% endif %}
{% if u.admin_level > 1 or (u.admin_level == 1 and not(v and v.admin_level > 1)) %}
< span >
< i class = "fas fa-broom text-admin align-middle ml-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Admin" > < / i >
< / span >
{% elif u.admin_level == 1 and v and v.admin_level > 1 %}
< span >
< i class = "fas fa-broom align-middle ml-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Meme Admin" > < / i >
< / span >
{% endif %}
{% if v and v.has_follower(u) %}
< span class = "followsyou badge badge-secondary text-small align-middle ml-2" > Follows you< / span >
{% endif %}
< div class = "profile-actions align-middle d-none ml-2" >
{% if v and v.id != u.id %}
< div class = "dropdown show d-none" >
2021-12-30 05:27:22 +00:00
< a role = "button" data-bs-toggle = "dropdown"
2021-12-14 22:48:37 +00:00
aria-haspopup="true" aria-expanded="false">
< i class = "far fa-ellipsis-h text-lg align-middle text-gray-600" > < / i >
< / a >
< / div >
{% endif %}
{% if v and v.id == u.id %}
< div class = "dropdown show d-none" >
2021-12-30 05:27:22 +00:00
< a role = "button" id = "dropdownProfileActionsLink" data-bs-toggle = "dropdown"
2021-12-14 22:48:37 +00:00
aria-haspopup="true" aria-expanded="false">
< i class = "far fa-ellipsis-h text-lg align-middle text-gray-600" > < / i >
< / a >
< div class = "dropdown-menu dropdown-menu-right border-0 shadow" aria-labelledby = "dropdownMoreLink" >
< a class = "dropdown-item" href = "/settings/profile#bio" > < i class = "fas fa-edit" > < / i > Edit profile< / a >
< a class = "dropdown-item" href = "/settings/security" > < i class = "fas fa-cog" > < / i > Account details< / a >
< / div >
< / div >
{% endif %}
< / div >
< / div >
2022-01-24 16:44:54 +00:00
{% if u.customtitle %}< p class = "font-weight-bolder" style = "color: #{{u.titlecolor}}" > {% if u.quadrant %}< img alt = "{{u.quadrant}} quadrant" loading = "lazy" height = "20" src = "/static/assets/images/quadrants/{{u.quadrant}}.webp?a=1008" > {% endif %}{{u.customtitle | safe}}< / p >
2021-12-14 22:48:37 +00:00
{% else %}< pre > < / pre >
2021-12-10 06:29:14 +00:00
{% endif %}
2021-12-14 22:48:37 +00:00
< div class = "font-weight-bolder mb-2" > < a class = "mr-1" href = "/@{{u.username}}/upvoters" > Simps< / a > | < a class = "mx-1" href = "/@{{u.username}}/downvoters" > Haters< / a > | < a class = "mx-1" href = "/@{{u.username}}/upvoting" > Simps for< / a > | < a class = "ml-1" href = "/@{{u.username}}/downvoting" > Hates< / a > < / div >
< div class = "font-weight-bolder" >
< span id = "profile-coins-amount" > {{u.coins}}< / span >
2022-01-24 16:44:54 +00:00
< img alt = "coins" class = "ml-1 mb-1" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "coins" height = "20" src = "/static/assets/images/marseycoin.webp?a=1008" >
2021-12-14 22:48:37 +00:00
2021-12-24 02:28:24 +00:00
< span id = "profile-bux-amount" > {{u.procoins}}< / span >
2022-01-24 16:44:54 +00:00
< img alt = "marseybux" class = "ml-1 mb-1" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Marseybux" height = "20" src = "/static/assets/images/marseybux.webp?a=1008" >
2021-12-14 22:48:37 +00:00
2022-01-02 12:31:14 +00:00
< a href = "/@{{u.username}}/followers" > {{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}}< / a >
2022-01-02 00:05:22 +00:00
2022-01-02 12:31:14 +00:00
< a href = "/@{{u.username}}/following" > follows {{u.follow_count}} user{{'s' if u.follow_count != 1 else ''}}< / a >
2022-01-02 00:05:22 +00:00
2021-12-14 22:48:37 +00:00
joined < span data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "{{u.created_datetime}}" > {{u.created_date}}< / span >
< / div >
{% if u.basedcount %}< p class = "text-muted" > Based Count: {{u.basedcount}}< / p > {% endif %}
{% if u.bio_html %}
< pre > < / pre >
2021-12-23 13:39:12 +00:00
< div class = "text-muted font-weight-bolder" > {{u.bio_html | safe}}< / div >
2021-12-14 22:48:37 +00:00
{% else %}
< p class = "text-muted" > No bio...< / p >
2021-12-10 06:29:14 +00:00
{% endif %}
2021-12-14 22:48:37 +00:00
{% if u.friends_html %}
< p class = "text-muted font-weight-bold" > Friends:< / p >
2021-12-23 13:39:12 +00:00
{{u.friends_html | safe}}
2021-12-10 06:29:14 +00:00
{% endif %}
2021-12-14 22:48:37 +00:00
{% if u.enemies_html %}
< p class = "text-muted font-weight-bold" > Enemies:< / p >
{{u.enemies_html | safe}}
2021-12-10 06:29:14 +00:00
{% endif %}
2021-12-14 22:48:37 +00:00
{% if u.received_awards %}
< div class = "text-white rounded p-2 mb-3" style = "background-color: rgba(50, 50, 50, 0.6); width: 30%;" >
< p class = "text-uppercase my-0" style = "font-weight: bold; font-size: 12px;" > Awards received< / p >
{% for a in u.received_awards %}
< span class = "d-inline-block mx-1" >
< i class = "{{a['icon']}} {{a['color']}} fa-fw" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "{{a['title']}} Awards received" > < / i >
x{{a['count']}}
< / span >
{% endfor %}
< / div >
{% endif %}
< div class = "d-flex justify-content-between align-items-center" >
< div >
{% if v and v.id != u.id %}
2021-12-30 05:27:22 +00:00
{% if not u.fish %}< a id = "button-unsub" class = "btn btn-secondary {% if not is_following %}d-none{% endif %}" role = "button" onclick = "post_toast2('/unfollow/{{u.username}}','button-unsub','button-sub')" > Unfollow< / a > {% endif %}
< a id = "button-sub" class = "btn btn-primary {% if is_following or u.is_nofollow or u.is_blocked %}d-none{% endif %}" role = "button" onclick = "post_toast2('/follow/{{u.username}}','button-unsub','button-sub')" > Follow< / a >
2022-01-24 16:27:39 +00:00
< a class = "btn btn-primary" role = "button" onclick = "toggleElement('profile-toggleable', 'message', 'input-message')" > Message< / a >
2021-12-14 22:48:37 +00:00
2021-12-30 05:27:22 +00:00
< a class = "btn btn-primary" role = "button" onclick = "post_toast('/@{{u.username}}/suicide')" > Get them help< / a >
2022-01-24 16:27:39 +00:00
< a class = "btn btn-primary" role = "button" onclick = "toggleElement('profile-toggleable', 'coin-transfer', 'coin-transfer-amount')" > Gift coins< / a >
< a class = "btn btn-primary" role = "button" onclick = "toggleElement('profile-toggleable', 'bux-transfer', 'bux-transfer-amount')" > Gift Marseybux< / a >
2021-12-14 22:48:37 +00:00
2022-01-02 00:05:22 +00:00
{% if v.admin_level > 2 %}
2022-01-24 15:30:45 +00:00
< a id = "admin" class = "{% if u.admin_level > 1 %}d-none{% endif %} btn btn-primary" href = "javascript:void(0)" onclick = "post_toast2('/@{{u.username}}/make_admin','admin','unadmin')" > Make admin< / a >
2022-01-02 00:05:22 +00:00
2022-01-09 00:35:53 +00:00
< a id = "unadmin" class = "{% if u.admin_level < 2 %}d-none{% endif %} btn btn-primary" href = "javascript:void(0)" onclick = "post_toast2('/@{{u.username}}/remove_admin','admin','unadmin')" > Remove admin< / a >
2021-12-30 05:27:22 +00:00
< a id = "memeadmin" class = "{% if u.admin_level == 1%}d-none{% endif %} btn btn-primary" role = "button" onclick = "post_toast2('/@{{u.username}}/make_meme_admin','memeadmin','unmemeadmin')" > Make meme admin< / a >
< a id = "unmemeadmin" class = "{% if u.admin_level != 1 %}d-none{% endif %} btn btn-primary" role = "button" onclick = "post_toast2('/@{{u.username}}/remove_meme_admin','memeadmin','unmemeadmin')" > Remove meme admin< / a >
2021-12-14 22:48:37 +00:00
{% if u.admin_level > 1 %}
2021-12-30 05:27:22 +00:00
< a class = "btn btn-primary" role = "button" onclick = "post_toast('/@{{u.username}}/revert_actions')" > Revert admin actions< / a >
2021-12-14 22:48:37 +00:00
{% endif %}
{% endif %}
2022-01-06 16:46:09 +00:00
< form class = "d-none profile-toggleable" id = "message" action = "/@{{u.username}}/message" onsubmit = "submitFormAjax(event)" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" value = "{{v.formkey}}" >
2021-12-14 22:48:37 +00:00
< pre > < / pre >
2022-01-19 06:20:05 +00:00
< textarea autocomplete = "off" id = "input-message" form = "message" name = "message" rows = "3" minlength = "1" maxlength = "10000" class = "form-control b2" oninput = "markdown('input-message', 'message-preview')" required > < / textarea >
2021-12-14 22:48:37 +00:00
< pre > < / pre >
< pre class = "btn btn-secondary format d-inline-block m-0 fas fa-bold" aria-hidden = "true" onclick = "makeBold('input-message')" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Bold" > < / pre >
< pre class = "btn btn-secondary format d-inline-block m-0 fas fa-italic" aria-hidden = "true" onclick = "makeItalics('input-message')" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Italicize" > < / pre >
< pre class = "btn btn-secondary format d-inline-block m-0 fas fa-quote-right" aria-hidden = "true" onclick = "makeQuote('input-message')" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Quote" > < / pre >
< pre class = "btn btn-secondary format d-inline-block m-0 fas fa-smile-beam" onclick = "loadEmojis('input-message')" aria-hidden = "true" data-bs-toggle = "modal" data-bs-target = "#emojiModal" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Add Emoji" > < / pre >
2022-01-17 12:48:43 +00:00
< input autocomplete = "off" type = "submit" value = "Submit" class = "btn btn-primary" >
2021-12-14 22:48:37 +00:00
< / form >
2022-01-29 05:25:40 +00:00
< div id = "message-preview" class = "preview mt-2" > < / div >
2021-12-31 23:45:27 +00:00
2021-12-14 22:48:37 +00:00
< div class = "d-none mt-3 profile-toggleable" id = "coin-transfer" >
2022-01-24 16:27:39 +00:00
< input autocomplete = "off" id = "coin-transfer-amount" class = "form-control" name = "amount" type = "number" oninput = "updateTax()" >
2022-01-19 12:44:05 +00:00
< div > {{u.username}} will receive < span id = "coins-transfer-taxed" > 0< / span > coins< / div >
2021-12-14 22:48:37 +00:00
< button class = "btn btn-primary mt-3" onclick = "transferCoins()" > Gift< / button >
< / div >
2021-12-23 14:55:44 +00:00
< div class = "d-none mt-3 profile-toggleable" id = "bux-transfer" >
2021-12-23 15:15:16 +00:00
< input autocomplete = "off" id = "bux-transfer-amount" class = "form-control" name = "amount" type = "number" oninput = "updateBux()" >
2021-12-23 14:55:44 +00:00
< div > {{u.username}} will receive < span id = "bux-transfer-taxed" > 0< / span > marseybux< / div >
< button class = "btn btn-primary mt-3" onclick = "transferBux()" > Gift< / button >
< / div >
2021-12-14 22:48:37 +00:00
{% elif v and v.id == u.id %}
< a href = "/settings/profile" class = "btn btn-secondary" > Edit profile< / a >
< a href = "/views" class = "btn btn-secondary" > Profile views< / a >
2021-12-09 15:37:31 +00:00
{% endif %}
2021-12-14 22:48:37 +00:00
2022-01-12 05:37:15 +00:00
{% if u.song and v and (v.id == u.id or v.mute and not u.unmutable) %}
2022-01-18 13:40:45 +00:00
< a class = "btn btn-secondary" role = "button" onclick = "toggle()" > Toggle anthem< / a >
2021-12-14 22:48:37 +00:00
{% endif %}
{% if v and v.id != u.id and v.admin_level > 1 %}
< br > < br >
< div class = "body d-lg-flex border-bottom" >
< div class = "w-lg-100" >
< form action = "/admin/title_change/{{u.id}}" method = "post" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" value = "{{v.formkey}}" >
< input autocomplete = "off" id = "customtitlebody" type = "text" name = "title" class = "form-control" placeholder = 'Enter a flair here' value = "{% if u.customtitleplain %}{{u.customtitleplain}}{% endif %}" >
2021-12-14 22:48:37 +00:00
< div class = "d-flex mt-2" >
2021-12-30 20:56:20 +00:00
< a class = "format" role = "button" > < i class = "btn btn-secondary format d-inline-block m-0 fas fa-smile-beam" onclick = "loadEmojis('customtitlebody')" aria-hidden = "true" data-bs-toggle = "modal" data-bs-target = "#emojiModal" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Add Emoji" > < / i > < / a >
2021-12-14 22:48:37 +00:00
< div class = "custom-control custom-checkbox" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "checkbox" class = "custom-control-input" id = "locked" name = "locked" { % if u . flairchanged % } checked { % endif % } >
2021-12-14 22:48:37 +00:00
< label class = "custom-control-label" for = "locked" > locked< / label >
< / div >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" class = "btn btn-primary ml-auto" type = "submit" value = "Change Flair" >
2021-12-14 22:48:37 +00:00
< / div >
< / form >
< / div >
< / div >
< pre > < / pre >
{% if u.is_suspended %}
< form action = "/unban_user/{{u.id}}/" method = "post" action = "" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" value = "{{v.formkey}}" >
< input autocomplete = "off" type = "hidden" name = "redir" value = "true" >
< input autocomplete = "off" type = "submit" class = "btn btn-success" value = "Unban user" >
2021-12-14 22:48:37 +00:00
< / form >
{% else %}
< form action = "/ban_user/{{u.id}}" method = "post" action = "" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" value = "{{v.formkey}}" >
< input autocomplete = "off" type = "hidden" name = "redir" value = "true" >
2022-01-31 23:55:11 +00:00
< input autocomplete = "off" style = "font-size:11px;" type = "text" class = "form-control" name = "reason" placeholder = "Ban Reason" oninput = "document.getElementById('user-ban-submit').disabled=false" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" style = "font-size:11px;" type = "number" step = "any" class = "form-control" name = "days" placeholder = "Days (blank = permanent)" >
2021-12-14 22:48:37 +00:00
< div class = "custom-control custom-checkbox" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "checkbox" id = "alts-2-desktop" class = "custom-control-input" name = "alts" value = "1" >
2021-12-14 22:48:37 +00:00
< label class = "custom-control-label" for = "alts-2-desktop" > Include alts< / label >
< / div >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" id = "user-ban-submit" type = "submit" class = "btn btn-danger" value = "Ban user" disabled >
2021-12-14 22:48:37 +00:00
< / form >
{% endif %}
< pre > < / pre >
< form id = "agendaposter1" class = "{% if u.agendaposter %}d-none{% endif %}" action = "/agendaposter/{{u.id}}" method = "post" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" , value = "{{v.formkey}}" >
< input autocomplete = "off" type = "number" step = "any" name = "days" class = "form-control" placeholder = "Days (0 or blank = permanent)" >
2022-01-28 04:37:40 +00:00
< input autocomplete = "off" type = "submit" class = "btn btn-danger" value = "Lock Chud Theme" >
2021-12-14 22:48:37 +00:00
< / form >
2022-01-28 04:37:40 +00:00
< a id = "unagendaposter" class = "{% if not u.agendaposter %}d-none{% endif %} btn btn-success" role = "button" onclick = "post_toast2('/agendaposter/{{u.id}}','agendaposter1','unagendaposter')" > Disable Chud Theme< / a >
2021-12-14 22:48:37 +00:00
< pre > < / pre >
2021-12-30 05:27:22 +00:00
< a id = "shadowban" class = "{% if u.shadowbanned %}d-none{% endif %} btn btn-danger" role = "button" onclick = "post_toast2('/shadowban/{{u.id}}','shadowban','unshadowban')" > Shadowban< / a >
2021-12-14 22:48:37 +00:00
2021-12-30 05:27:22 +00:00
< a id = "unshadowban" class = "{% if not u.shadowbanned %}d-none{% endif %} btn btn-success" role = "button" onclick = "post_toast2('/unshadowban/{{u.id}}','shadowban','unshadowban')" > Unshadowban< / a >
2021-12-14 22:48:37 +00:00
< pre > < / pre >
2022-02-10 15:24:04 +00:00
{% if v.admin_level > 2 %}
< a id = "verify" class = "{% if u.verified %}d-none{% endif %} btn btn-success" role = "button" onclick = "post_toast2('/admin/verify/{{u.id}}','verify','unverify')" > Verify< / a >
< a id = "unverify" class = "{% if not u.verified %}d-none{% endif %} btn btn-success" role = "button" onclick = "post_toast2('/admin/unverify/{{u.id}}','verify','unverify')" > Unverify< / a >
{% endif %}
2021-12-14 22:48:37 +00:00
< pre > < / pre >
< form action = "/admin/unnuke_user" method = "post" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" , value = "{{v.formkey}}" >
< input autocomplete = "off" type = "hidden" name = "user" value = "{{u.username}}" >
< input autocomplete = "off" type = "submit" class = "btn btn-success" value = "Approve User's Content" >
2021-12-14 22:48:37 +00:00
< / form >
2022-01-18 13:05:50 +00:00
< pre > < / pre >
2021-12-14 22:48:37 +00:00
< form action = "/admin/nuke_user" method = "post" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" , value = "{{v.formkey}}" >
< input autocomplete = "off" type = "hidden" name = "user" value = "{{u.username}}" >
< input autocomplete = "off" type = "submit" class = "btn btn-danger" value = "Remove User's Content" >
2021-12-14 22:48:37 +00:00
< / form >
2022-01-14 11:41:38 +00:00
< pre > < / pre >
2021-12-14 22:48:37 +00:00
< button id = "grant2" class = "{% if u.paid_dues %}d-none{% endif %} btn btn-success" onclick = "post_toast2('/@{{u.username}}/club_allow','grant2','bar2')" > Grant club access< / button >
2021-12-21 15:07:28 +00:00
< button id = "bar2" class = "{% if u.club_allowed == False %}d-none{% endif %} btn btn-danger" onclick = "post_toast2('/@{{u.username}}/club_ban','grant2','bar2')" > Bar from club< / button >
2021-12-14 22:48:37 +00:00
{% endif %}
< pre > < / pre >
< p > User ID: {{u.id}}< / p >
< p > Coins spent: {{u.coins_spent}}< / p >
2021-12-23 14:33:12 +00:00
< p > True score: {{u.truecoins}}< / p >
2022-01-31 22:13:16 +00:00
< p > Winnings: {{u.winnings}}< / p >
2021-12-23 14:33:12 +00:00
{% if u.is_private %}
< p > User has private mode enabled.< / p >
2021-12-09 15:37:31 +00:00
{% endif %}
2021-12-14 22:48:37 +00:00
{% if v and (v.admin_level > 1 or v.alt) %}
< span > Alts:< / span >
< ul >
{% for account in u.alts_unique %}
< li > < a href = "{{account.url}}" > @{{account.username}}< / a > {% if account._is_manual %} [m]{% endif %}< / li >
{% endfor %}
< / ul >
2021-12-09 15:37:31 +00:00
{% endif %}
2021-12-14 22:48:37 +00:00
{% if u.is_suspended %}
< p > Banned by: < a href = "{{u.banned_by.url}}" > @{{u.banned_by.username}}< / a > < / p >
2021-12-09 15:37:31 +00:00
{% endif %}
< / div >
2021-12-23 15:20:09 +00:00
< / div >
2021-12-14 22:48:37 +00:00
2021-12-08 03:39:47 +00:00
< div >
2021-12-14 22:48:37 +00:00
{% for b in u.badges %}
{% if b.url %}
2022-02-04 10:19:49 +00:00
< a rel = "nofollow noopener noreferrer" href = "{{b.url}}" > < img alt = "{{b.name}}" width = 55 height = 60 loading = "lazy" src = "{{b.path}}?a=1010" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{b.text}}" data-bs-original-title = "{{b.text}}" > < / a >
2021-12-14 22:48:37 +00:00
{% else %}
2022-02-04 10:19:49 +00:00
< img alt = "{{b.name}}" width = 55 height = 60 loading = "lazy" src = "{{b.path}}?a=1010" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{b.text}}" data-bs-original-title = "{{b.text}}" >
2021-12-14 22:48:37 +00:00
{% endif %}
{% endfor %}
2021-12-08 03:39:47 +00:00
< / div >
2021-12-14 22:48:37 +00:00
2021-12-09 03:31:48 +00:00
< / div >
2021-12-09 03:22:27 +00:00
< / div >
2021-12-14 22:48:37 +00:00
< / div >
< / div >
< / div >
< / div >
< / div >
{% endblock %}
{% block mobileUserBanner %}
2022-01-13 03:52:53 +00:00
< div class = "container-fluid pb-0 text-center bg-white d-md-none" style = "margin-top:-6px;border-radius:0!important;" >
2021-12-14 22:48:37 +00:00
< div class = "row" >
< div class = "col px-0" >
< a rel = "nofollow noopener noreferrer" href = "{{u.banner_url}}" { % if not v or v . newtabexternal % } target = "_blank" { % endif % } >
2021-12-27 05:07:19 +00:00
< img alt = "@{{u.username}}'s banner" class = "userbanner" height = "100" width = "100%" src = "{{u.banner_url}}" >
< / a > p
2021-12-09 03:55:35 +00:00
< / div >
2021-12-14 22:48:37 +00:00
< / div >
< div class = "row border-bottom" >
< div class = "col" >
< div style = "margin-top: -34px;" >
2021-12-27 05:07:19 +00:00
< a rel = "nofollow noopener noreferrer" href = "{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}" > < img alt = "@{{u.username}}'s profile picture" loading = "lazy" src = "{{u.profile_url}}" class = "profile-pic-65 bg-white border-2 border-white mb-2" > < / a >
2021-12-14 22:48:37 +00:00
< / div >
< div class = "mt-n3 py-3" >
{% if u.is_suspended %}
2022-02-08 09:02:14 +00:00
< h5 class = "text-primary" > BANNED USER{% if u.ban_reason %}: {{u.ban_reason}}{% endif %}< / h5 >
2022-01-13 23:29:15 +00:00
{% if u.unban_utc %}< h5 class = "text-primary" > >{{u.unban_string}}< / h5 > {% endif %}
2021-12-12 18:54:52 +00:00
{% endif %}
2022-02-08 19:01:23 +00:00
{% if SITE_NAME=='Drama' and u.house %}
2022-02-06 13:04:55 +00:00
< img src = "/assets/images/{{SITE_NAME}}/houses/{{u.house}}.webp?a=5" height = "20" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "House {{u.house}}" >
2022-02-04 11:13:59 +00:00
{% endif %}
2021-12-14 22:48:37 +00:00
{% if u.verified %}< span > < i class = "fas fa-badge-check align-middle ml-1" style = "color:{% if u.verifiedcolor %}#{{u.verifiedcolor}}{% else %}#1DA1F2{% endif %}" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "{{u.verified}}" > < / i > < / span > {% endif %}
2022-01-19 10:39:22 +00:00
< h1 class = "h5 d-inline-block" style = "color: #{{u.namecolor}}" > < span { % if u . patron % } class = "patron" style = "background-color:#{{u.namecolor}}" { % endif % } > {{u.username}}< / span > < / h1 >
2021-12-14 22:48:37 +00:00
{% if u.username != u.original_username %}
< span >
< i class = "fad fa-user-tag text-info align-middle ml-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Original Username: @{{u.original_username}}" > < / i >
< / span >
{% endif %}
{% if u.admin_level > 1 or (u.admin_level == 1 and not(v and v.admin_level > 1)) %}
< span >
< i class = "fas fa-broom text-admin align-middle ml-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Admin" > < / i >
< / span >
{% elif u.admin_level == 1 and v and v.admin_level > 1 %}
< span >
< i class = "fas fa-broom align-middle ml-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Meme Admin" > < / i >
< / span >
{% endif %}
{% if v and v.has_follower(u) and not v.is_nofollow %}
< span class = "followsyou badge badge-secondary text-small align-middle mx-1" > Follows you< / span >
{% endif %}
2022-01-24 16:44:54 +00:00
{% if u.customtitle %}< p style = "color: #{{u.titlecolor}}" > {% if u.quadrant %}< img alt = "@{{u.quadrant}} quadrant" loading = "lazy" height = "20" src = "/static/assets/images/quadrants/{{u.quadrant}}.webp?a=1008" > {% endif %}{{u.customtitle | safe}}< / p >
2021-12-14 22:48:37 +00:00
{% else %}
< pre > < / pre >
{% endif %}
< div class = "font-weight-bolder mb-2" > < a class = "mr-1" href = "/@{{u.username}}/upvoters" > Simps< / a > | < a class = "mx-1" href = "/@{{u.username}}/downvoters" > Haters< / a > | < a class = "mx-1" href = "/@{{u.username}}/upvoting" > Simps for< / a > | < a class = "ml-1" href = "/@{{u.username}}/downvoting" > Hates< / a > < / div >
< div class = "font-weight-normal" >
< span id = "profile-coins-amount-mobile" class = "font-weight-bold" > {{u.coins}}< / span >
2022-01-24 16:44:54 +00:00
< img alt = "coins" class = "ml-1 mb-1" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "coins" height = "15" src = "/static/assets/images/marseycoin.webp?a=1008" >
2021-12-14 22:48:37 +00:00
2021-12-24 01:16:19 +00:00
< span id = "profile-bux-amount-mobile" class = "font-weight-bold" > {{u.procoins}}< / span >
2022-01-24 16:44:54 +00:00
< img alt = "marseybux" class = "ml-1 mb-1" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Marseybux" height = "15" src = "/static/assets/images/marseybux.webp?a=1008" >
2021-12-14 22:48:37 +00:00
2022-01-02 12:31:14 +00:00
< a href = "/@{{u.username}}/followers" class = "font-weight-bold" > {{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}}< / a >
2022-01-02 00:05:22 +00:00
2022-01-02 17:34:20 +00:00
< a href = "/@{{u.username}}/following" class = "font-weight-bold" style = "display:block" > follows {{u.follow_count}} user{{'s' if u.follow_count != 1 else ''}}< / a >
2022-01-02 00:05:22 +00:00
2021-12-14 22:48:37 +00:00
{% if u.basedcount %}
< br > Based count: {{u.basedcount}}
{% endif %}
< br > joined < span data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "{{u.created_datetime}}" class = "font-weight-bold" > {{u.created_date}}< / span >
< / div >
{% if u.bio_html %}
< p class = "text-muted text-break" > {{u.bio_html | safe}}< / p >
{% endif %}
2021-12-12 18:54:52 +00:00
{% if u.friends_html %}
2021-12-14 22:48:37 +00:00
< p class = "text-muted font-weight-bold mt-3" > Friends:< / p >
{{u.friends_html | safe}}
2021-12-12 18:54:52 +00:00
{% endif %}
2021-12-08 23:27:49 +00:00
2021-12-12 18:54:52 +00:00
{% if u.enemies_html %}
2021-12-14 22:48:37 +00:00
< p class = "text-muted font-weight-bold mt-3" > Enemies:< / p >
{{u.enemies_html | safe}}
{% endif %}
{% if u.received_awards %}
< div class = "text-white rounded p-2 my-3 text-center" style = "background-color: rgba(50, 50, 50, 0.6);" >
< p class = "text-uppercase my-0" style = "font-weight: bold; font-size: 12px;" > Awards received< / p >
{% for a in u.received_awards %}
< span class = "d-inline-block mx-1" >
< i class = "{{a['icon']}} {{a['color']}} fa-fw" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "{{a['title']}} Awards received" > < / i >
x{{a['count']}}
< / span >
{% endfor %}
< / div >
{% endif %}
< div class = "mb-3" >
{% for b in u.badges %}
{% if b.url %}
2022-02-04 10:19:49 +00:00
< a rel = "nofollow noopener noreferrer" href = "{{b.url}}" > < img alt = "{{b.name}}" width = 29.33 height = 32 loading = "lazy" src = "{{b.path}}?a=1010" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{b.text}}" data-bs-original-title = "{{b.text}}" > < / a >
2021-12-14 22:48:37 +00:00
{% else %}
2022-02-04 10:19:49 +00:00
< img alt = "{{b.name}}" width = 29.33 height = 32 loading = "lazy" src = "{{b.path}}?a=1010" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{b.text}}" data-bs-original-title = "{{b.text}}" >
2021-12-14 22:48:37 +00:00
{% endif %}
{% endfor %}
< / div >
{% if v and v.id == u.id %}
< a href = "/settings/profile" class = "btn btn-secondary " > Edit profile< / a >
< a href = "/views" class = "btn btn-secondary" > Profile views< / a >
{% endif %}
2022-01-18 13:37:18 +00:00
{% if u.song and v and (v.id == u.id or v.mute and not u.unmutable) %}
2022-01-18 13:40:45 +00:00
< a class = "btn btn-secondary" role = "button" onclick = "toggle()" > Toggle anthem< / a >
2021-12-14 22:48:37 +00:00
{% endif %}
{% if v and v.id != u.id %}
2021-12-30 05:27:22 +00:00
{% if not u.fish %}< a id = "button-unsub2" class = "btn btn-secondary {% if not is_following %}d-none{% endif %}" role = "button" onclick = "post_toast2('/unfollow/{{u.username}}','button-unsub2','button-sub2')" > Unfollow< / a > {% endif %}
< a id = "button-sub2" class = "btn btn-primary {% if is_following or u.is_nofollow or u.is_blocked %}d-none{% endif %}" role = "button" onclick = "post_toast2('/follow/{{u.username}}','button-unsub2','button-sub2')" > Follow< / a >
2022-01-24 16:27:39 +00:00
< a class = "btn btn-primary" role = "button" onclick = "toggleElement('profile-toggleable-mobile', 'message-mobile', 'input-message-mobile')" > Message< / a >
2021-12-30 05:27:22 +00:00
< a class = "btn btn-primary" role = "button" onclick = "post_toast('/@{{u.username}}/suicide')" > Get them help< / a >
2022-01-24 16:27:39 +00:00
< a class = "btn btn-primary" role = "button" onclick = "toggleElement('profile-toggleable-mobile', 'coin-transfer-mobile', 'coin-transfer-amount-mobile')" > Gift coins< / a >
< a class = "btn btn-primary" role = "button" onclick = "toggleElement('profile-toggleable', 'bux-transfer-mobile', 'bux-transfer-amount-mobile')" > Gift Marseybux< / a >
2021-12-14 22:48:37 +00:00
{% if v.admin_level > 2 %}
2022-01-24 15:30:45 +00:00
< a id = "admin2" class = "{% if u.admin_level > 1 %}d-none{% endif %} btn btn-primary" href = "javascript:void(0)" onclick = "post_toast2('/@{{u.username}}/make_admin','admin2','unadmin2')" > Make admin< / a >
2022-01-02 00:05:22 +00:00
2022-01-09 00:35:53 +00:00
< a id = "unadmin2" class = "{% if u.admin_level < 2 %}d-none{% endif %} btn btn-primary" href = "javascript:void(0)" onclick = "post_toast2('/@{{u.username}}/remove_admin','admin2','unadmin2')" > Remove admin< / a >
2021-12-30 05:27:22 +00:00
< a id = "memeadmin2" class = "{% if u.admin_level == 1%}d-none{% endif %} btn btn-primary" role = "button" onclick = "post_toast2('/@{{u.username}}/make_meme_admin','memeadmin2','unmemeadmin2')" > Make meme admin< / a >
< a id = "unmemeadmin2" class = "{% if u.admin_level != 1 %}d-none{% endif %} btn btn-primary" role = "button" onclick = "post_toast2('/@{{u.username}}/remove_meme_admin','memeadmin2','unmemeadmin2')" > Remove meme admin< / a >
2021-12-14 22:48:37 +00:00
{% if u.admin_level > 1 %}
2021-12-30 05:27:22 +00:00
< a class = "btn btn-primary" role = "button" onclick = "post_toast('/@{{u.username}}/revert_actions')" > Revert admin actions< / a >
2021-12-14 22:48:37 +00:00
{% endif %}
{% endif %}
2022-01-06 16:46:09 +00:00
< form class = "d-none profile-toggleable-mobile" id = 'message-mobile' action = "/@{{u.username}}/message" onsubmit = "submitFormAjax(event)" >
2021-12-14 22:48:37 +00:00
< pre > < / pre >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" value = "{{v.formkey}}" >
2022-01-19 06:20:05 +00:00
< textarea autocomplete = "off" id = "input-message-mobile" form = "message-mobile" name = "message" rows = "3" minlength = "1" maxlength = "10000" class = "form-control" oninput = "markdown('input-message-mobile', 'message-preview-mobile')" required > < / textarea >
2021-12-14 22:48:37 +00:00
< pre > < / pre >
< pre class = "btn btn-secondary format d-inline-block m-0 fas fa-bold" aria-hidden = "true" onclick = "makeBold('input-message-mobile')" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Bold" > < / pre >
< pre class = "btn btn-secondary format d-inline-block m-0 fas fa-italic" aria-hidden = "true" onclick = "makeItalics('input-message-mobile')" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Italicize" > < / pre >
< pre class = "btn btn-secondary format d-inline-block m-0 fas fa-quote-right" aria-hidden = "true" onclick = "makeQuote('input-message-mobile')" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Quote" > < / pre >
< pre class = "btn btn-secondary format d-inline-block m-0 fas fa-smile-beam" onclick = "loadEmojis('input-message-mobile')" aria-hidden = "true" data-bs-toggle = "modal" data-bs-target = "#emojiModal" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Add Emoji" > < / pre >
2022-01-17 12:48:43 +00:00
< input autocomplete = "off" type = "submit" value = "Submit" class = "btn btn-primary" >
2021-12-14 22:48:37 +00:00
< / form >
2022-01-29 05:25:40 +00:00
< div id = "message-preview-mobile" class = "preview my-3" > < / div >
2021-12-31 23:45:27 +00:00
2021-12-14 22:48:37 +00:00
< div class = "d-none mt-3 profile-toggleable-mobile" id = "coin-transfer-mobile" >
2022-01-24 16:27:39 +00:00
< input autocomplete = "off" id = "coin-transfer-amount-mobile" class = "form-control" name = "amount" type = "number" oninput = "updateTax(true)" >
2022-01-19 12:44:05 +00:00
< div > {{u.username}} will receive < span id = "coins-transfer-taxed-mobile" > 0< / span > coins< / div >
2022-02-10 16:11:14 +00:00
< button class = "btn btn-primary mt-2 mb-3" onclick = "transferCoins(true)" > Gift< / button >
2021-12-14 22:48:37 +00:00
< / div >
2021-12-23 14:55:44 +00:00
< div class = "d-none mt-3 profile-toggleable-mobile" id = "bux-transfer-mobile" >
2021-12-23 15:15:16 +00:00
< input autocomplete = "off" id = "bux-transfer-amount-mobile" class = "form-control" name = "amount" type = "number" oninput = "updateBux(true)" >
2021-12-23 14:55:44 +00:00
< div > {{u.username}} will receive < span id = "bux-transfer-taxed-mobile" > 0< / span > marseybux< / div >
2022-02-10 16:11:14 +00:00
< button class = "btn btn-primary mt-2 mb-3" onclick = "transferBux(true)" > Gift< / button >
2021-12-23 14:55:44 +00:00
< / div >
2021-12-14 22:48:37 +00:00
{% if v.admin_level > 1 %}
< button id = "grant" class = "{% if u.paid_dues %}d-none{% endif %} btn btn-success" onclick = "post_toast2('/@{{u.username}}/club_allow','grant','bar')" > Grant club access< / button >
2021-12-21 15:07:28 +00:00
< button id = "bar" class = "{% if u.club_allowed == False %}d-none{% endif %} btn btn-danger" onclick = "post_toast2('/@{{u.username}}/club_ban','grant','bar')" > Bar from club< / button >
2021-12-14 22:48:37 +00:00
< br > < br >
< div class = "body d-lg-flex border-bottom" >
< div class = "w-lg-100" >
< form action = "/admin/title_change/{{u.id}}" method = "post" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" value = "{{v.formkey}}" >
2022-01-02 13:22:12 +00:00
< input autocomplete = "off" id = "customtitlebody-mobile" type = "text" name = "title" class = "form-control" placeholder = 'Enter a flair here' value = "{% if u.customtitleplain %}{{u.customtitleplain}}{% endif %}" >
2021-12-14 22:48:37 +00:00
< div class = "d-flex mt-2" >
2021-12-30 20:56:20 +00:00
< a class = "format" role = "button" > < i class = "btn btn-secondary format d-inline-block m-0 fas fa-smile-beam" onclick = "loadEmojis('customtitlebody-mobile')" aria-hidden = "true" data-bs-toggle = "modal" data-bs-target = "#emojiModal" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "Add Emoji" > < / i > < / a >
2021-12-14 22:48:37 +00:00
< div class = "custom-control custom-checkbox" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "checkbox" class = "custom-control-input" id = "locked-mobile" name = "locked" { % if u . flairchanged % } checked { % endif % } >
2021-12-14 22:48:37 +00:00
< label class = "custom-control-label" for = "locked-mobile" > locked< / label >
< / div >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" class = "btn btn-primary ml-auto" type = "submit" value = "Change Flair" >
2021-12-14 22:48:37 +00:00
< / div >
< / form >
< / div >
< / div >
< pre > < / pre >
{% if u.is_suspended %}
< form action = "/unban_user/{{u.id}}" method = "post" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" , value = "{{v.formkey}}" >
< input autocomplete = "off" type = "hidden" name = "redir" value = "true" >
< input autocomplete = "off" type = "submit" class = "btn btn-success" value = "Unban user" >
2021-12-14 22:48:37 +00:00
< / form >
{% else %}
< form action = "/ban_user/{{u.id}}/" method = "post" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" value = "{{v.formkey}}" >
< input autocomplete = "off" type = "hidden" name = "redir" value = "true" >
2022-01-31 23:55:11 +00:00
< input autocomplete = "off" style = "font-size:11px;" type = "text" class = "form-control" name = "reason" placeholder = "Ban Reason" oninput = "document.getElementById('user-ban-submit2').disabled=false" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" style = "font-size:11px;" type = "number" step = "any" class = "form-control" name = "days" placeholder = "Days (blank = permanent)" >
2021-12-14 22:48:37 +00:00
< br >
< div class = "custom-control custom-checkbox" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "checkbox" id = "alts-2-mobile" class = "custom-control-input" name = "alts" value = "1" >
2021-12-14 22:48:37 +00:00
< label class = "custom-control-label" for = "alts-2-mobile" > Include alts< / label >
< / div >
< br >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" id = "user-ban-submit2" type = "submit" class = "btn btn-danger" value = "Ban user" disabled >
2021-12-14 22:48:37 +00:00
< / form >
{% endif %}
< pre > < / pre >
< form id = "agendaposter2" class = "{% if u.agendaposter %}d-none{% endif %}" action = "/agendaposter/{{u.id}}" method = "post" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" , value = "{{v.formkey}}" >
< input autocomplete = "off" type = "number" step = "any" name = "days" class = "form-control" placeholder = "Days (0 or blank = permanent)" >
2022-01-28 04:37:40 +00:00
< input autocomplete = "off" type = "submit" class = "btn btn-danger" value = "Lock Chud Theme" >
2021-12-14 22:48:37 +00:00
< / form >
2022-01-28 04:37:40 +00:00
< a id = "unagendaposter2" class = "{% if not u.agendaposter %}d-none{% endif %} btn btn-success" role = "button" onclick = "post_toast2('/agendaposter/{{u.id}}','agendaposter2','unagendaposter2')" > Disable Chud Theme< / a >
2021-12-14 22:48:37 +00:00
< pre > < / pre >
2021-12-30 05:27:22 +00:00
< a id = "shadowban2" class = "{% if u.shadowbanned %}d-none{% endif %} btn btn-danger" role = "button" onclick = "post_toast2('/shadowban/{{u.id}}','shadowban2','unshadowban2')" > Shadowban< / a >
2021-12-14 22:48:37 +00:00
2021-12-30 05:27:22 +00:00
< a id = "unshadowban2" class = "{% if not u.shadowbanned %}d-none{% endif %} btn btn-success" role = "button" onclick = "post_toast2('/unshadowban/{{u.id}}','shadowban2','unshadowban2')" > Unshadowban< / a >
2021-12-14 22:48:37 +00:00
< pre > < / pre >
2022-02-10 15:24:04 +00:00
{% if v.admin_level > 2 %}
< a id = "verify2" class = "{% if u.verified %}d-none{% endif %} btn btn-success" role = "button" onclick = "post_toast2('/admin/verify/{{u.id}}','verify2','unverify2')" > Verify< / a >
< a id = "unverify2" class = "{% if not u.verified %}d-none{% endif %} btn btn-success" role = "button" onclick = "post_toast2('/admin/unverify/{{u.id}}','verify2','unverify2')" > Unverify< / a >
{% endif %}
2022-02-10 16:11:14 +00:00
2021-12-14 22:48:37 +00:00
< pre > < / pre >
< form action = "/admin/unnuke_user" method = "post" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" , value = "{{v.formkey}}" >
< input autocomplete = "off" type = "hidden" name = "user" value = "{{u.username}}" >
< input autocomplete = "off" type = "submit" class = "btn btn-success" value = "Approve User's Content" >
2021-12-14 22:48:37 +00:00
< / form >
< pre > < / pre >
< form action = "/admin/nuke_user" method = "post" >
2021-12-28 12:41:26 +00:00
< input autocomplete = "off" type = "hidden" name = "formkey" , value = "{{v.formkey}}" >
< input autocomplete = "off" type = "hidden" name = "user" value = "{{u.username}}" >
< input autocomplete = "off" type = "submit" class = "btn btn-danger" value = "Remove User's Content" >
2021-12-14 22:48:37 +00:00
< / form >
{% endif %}
{% endif %}
< pre > < / pre >
< p > User ID: {{u.id}}< / p >
< p > Coins spent: {{u.coins_spent}}< / p >
2021-12-23 14:33:12 +00:00
< p > True score: {{u.truecoins}}< / p >
2022-01-31 22:13:16 +00:00
< p > Winnings: {{u.winnings}}< / p >
2021-12-23 14:33:12 +00:00
{% if u.is_private %}
< p > User has private mode enabled.< / p >
2021-12-14 22:48:37 +00:00
{% endif %}
{% if v and (v.admin_level > 1 or v.alt) %}
< span > Alts:< / span >
< ul >
{% for account in u.alts_unique %}
< li > < a href = "{{account.url}}" > @{{account.username}}< / a > {% if account._is_manual %} [m]{% endif %}< / li >
{% endfor %}
< / ul >
{% endif %}
{% if u.is_suspended %}
< p > Banned by: < a href = "{{u.banned_by.url}}" > @{{u.banned_by.username}}< / a > < / p >
2021-12-12 18:54:52 +00:00
{% endif %}
< / div >
2021-12-14 22:48:37 +00:00
< / div >
2021-12-08 23:27:49 +00:00
< / div >
2021-12-08 01:21:57 +00:00
< / div >
2021-12-08 03:23:30 +00:00
{% endblock %}
2021-12-14 22:48:37 +00:00
{% block content %}
< div id = "profilecontent" class = "row no-gutters" >
< div class = "col" >
< div class = "flex-row box-shadow-bottom d-flex justify-content-center justify-content-md-between align-items-center" >
< ul class = "nav settings-nav" >
< li class = "nav-item" >
2022-01-29 03:11:27 +00:00
< a class = "nav-link {% if not 'saved' in request.path %}active{% endif %}" style = "font-size: .9rem !important; padding: .75rem .4rem !important;" href = "/@{{u.username}}" > Posts < span class = "count" > ({{u.post_count}})< / span > < / a >
2021-12-13 01:50:30 +00:00
< / li >
2021-12-14 22:48:37 +00:00
< li class = "nav-item" >
2022-01-29 03:11:27 +00:00
< a class = "nav-link" style = "font-size: .9rem !important; padding: .75rem .4rem !important;" href = "/@{{u.username}}/comments" > Comments < span class = "count" > ({{u.comment_count}})< / span > < / a >
2021-12-13 01:50:30 +00:00
< / li >
{% if u.id == v.id %}
2021-12-14 22:48:37 +00:00
< li class = "nav-item" >
2022-01-29 03:19:47 +00:00
< a class = "nav-link {% if 'saved' in request.path %}active{% endif %}" style = "font-size: .9rem !important; padding: .75rem .4rem !important;" href = "/@{{u.username}}/saved/posts" > Saved Posts < span class = "count" > ({{u.saved_count}})< / span > < / a >
2021-12-13 01:50:30 +00:00
< / li >
2021-12-14 22:48:37 +00:00
< li class = "nav-item" >
2022-01-29 03:19:47 +00:00
< a class = "nav-link" style = "font-size: .9rem !important; padding: .75rem .4rem !important;" href = "/@{{u.username}}/saved/comments" > Saved Comments < span class = "count" > ({{u.saved_comment_count}})< / span > < / a >
2021-12-13 01:50:30 +00:00
< / li >
{% endif %}
< / ul >
< / div >
2021-12-08 02:35:43 +00:00
< / div >
< / div >
2021-12-08 03:22:52 +00:00
2021-12-14 22:48:37 +00:00
{% if not "saved" in request.full_path %}
< div class = "d-flex justify-content-between align-items-center" style = "padding-top:10px" >
< div class = "d-flex align-items-center sortingbarmargin" >
< div class = "text-small font-weight-bold mr-2" > ‎ < / div >
< div class = "dropdown dropdown-actions" >
2021-12-30 05:27:22 +00:00
< button class = "btn btn-secondary dropdown-toggle" role = "button" id = "dropdownMenuButton" data-bs-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2021-12-15 19:30:26 +00:00
{% if t=="hour" %}< i class = "fas fa-clock mr-1" > < / i >
{% elif t=="day" %}< i class = "fas fa-calendar-day mr-1" > < / i >
{% elif t=="week" %}< i class = "fas fa-calendar-week mr-1" > < / i >
{% elif t=="month" %}< i class = "fas fa-calendar-alt mr-1" > < / i >
{% elif t=="year" %}< i class = "fas fa-calendar mr-1" > < / i >
{% elif t=="all" %}< i class = "fas fa-infinity mr-1" > < / i >
{% endif %}
{{t | capitalize}}
2021-12-14 22:48:37 +00:00
< / button >
< div class = "dropdown-menu" aria-labelledby = "dropdownMenuButton" x-placement = "bottom-start" style = "position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(0px, 31px, 0px);" >
2022-01-22 09:58:22 +00:00
{% if t != "hour" %}< a class = "dropdown-item" href = "?sort={{sort}}&t=hour" > < i class = "fas fa-clock mr-2" > < / i > Hour< / a > {% endif %}
{% if t != "day" %}< a class = "dropdown-item" href = "?sort={{sort}}&t=day" > < i class = "fas fa-calendar-day mr-2" > < / i > Day< / a > {% endif %}
{% if t != "week" %}< a class = "dropdown-item" href = "?sort={{sort}}&t=week" > < i class = "fas fa-calendar-week mr-2" > < / i > Week< / a > {% endif %}
{% if t != "month" %}< a class = "dropdown-item" href = "?sort={{sort}}&t=month" > < i class = "fas fa-calendar-alt mr-2" > < / i > Month< / a > {% endif %}
{% if t != "year" %}< a class = "dropdown-item" href = "?sort={{sort}}&t=year" > < i class = "fas fa-calendar mr-2" > < / i > Year< / a > {% endif %}
{% if t != "all" %}< a class = "dropdown-item" href = "?sort={{sort}}&t=all" > < i class = "fas fa-infinity mr-2" > < / i > All< / a > {% endif %}
2021-12-14 22:48:37 +00:00
< / div >
2021-12-12 18:47:53 +00:00
< / div >
2021-12-14 22:48:37 +00:00
< div class = "text-small font-weight-bold ml-3 mr-2" > ‎ < / div >
< div class = "dropdown dropdown-actions" >
2021-12-30 05:27:22 +00:00
< button class = "btn btn-secondary dropdown-toggle" role = "button" id = "dropdownMenuButton2" data-bs-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2021-12-14 22:48:37 +00:00
{% if sort=="top" %}< i class = "fas fa-arrow-alt-circle-up mr-1" > < / i > {% endif %}
{% if sort=="bottom" %}< i class = "fas fa-arrow-alt-circle-down mr-1" > < / i > {% endif %}
{% if sort=="new" %}< i class = "fas fa-sparkles mr-1" > < / i > {% endif %}
{% if sort=="old" %}< i class = "fas fa-book mr-1" > < / i > {% endif %}
{% if sort=="controversial" %}< i class = "fas fa-bullhorn mr-1" > < / i > {% endif %}
{% if sort=="comments" %}< i class = "fas fa-comments mr-1" > < / i > {% endif %}
{{sort | capitalize}}
< / button >
< div class = "dropdown-menu" aria-labelledby = "dropdownMenuButton2" x-placement = "bottom-start" style = "position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(0px, 31px, 0px);" >
{% if sort != "top" %}< a class = "dropdown-item" href = "?sort=top&t={{t}}" > < i class = "fas fa-arrow-alt-circle-up mr-2" > < / i > Top< / a > {% endif %}
{% if sort != "bottom" %}< a class = "dropdown-item" href = "?sort=bottom&t={{t}}" > < i class = "fas fa-arrow-alt-circle-down mr-2" > < / i > Bottom< / a > {% endif %}
{% if sort != "new" %}< a class = "dropdown-item" href = "?sort=new&t={{t}}" > < i class = "fas fa-sparkles mr-2" > < / i > New< / a > {% endif %}
{% if sort != "old" %}< a class = "dropdown-item" href = "?sort=old&t={{t}}" > < i class = "fas fa-book mr-2" > < / i > Old< / a > {% endif %}
{% if sort != "controversial" %}< a class = "dropdown-item" href = "?sort=controversial&t={{t}}" > < i class = "fas fa-bullhorn mr-2" > < / i > Controversial< / a > {% endif %}
{% if sort != "comments" %}< a class = "dropdown-item" href = "?sort=comments&t={{t}}" > < i class = "fas fa-comments mr-2" > < / i > Comments< / a > {% endif %}
< / div >
2021-12-12 18:44:23 +00:00
< / div >
2021-12-12 18:36:58 +00:00
< / div >
2021-12-12 18:45:43 +00:00
< / div >
2021-12-14 22:48:37 +00:00
{% endif %}
2021-12-12 18:45:43 +00:00
2021-12-14 22:48:37 +00:00
< div class = "row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %}" style = "margin-top: 10px;" >
2021-12-12 18:36:58 +00:00
2021-12-14 22:48:37 +00:00
< div class = "col" >
< div class = "posts" >
2021-12-10 06:26:12 +00:00
{% include "submission_listing.html" %}
< / div >
2021-12-13 03:11:18 +00:00
2021-12-14 22:48:37 +00:00
< / div >
2021-12-13 03:11:18 +00:00
2021-12-14 22:48:37 +00:00
< / div >
2021-12-08 04:11:32 +00:00
2022-01-23 18:16:53 +00:00
{% if u.song %}
2022-01-21 21:59:27 +00:00
{% if v and v.id == u.id %}
2022-01-22 09:15:18 +00:00
< div id = "v_username" class = "d-none" > {{v.username}}< / div >
2022-01-21 21:59:27 +00:00
{% else %}
2022-01-22 09:15:18 +00:00
< div id = "u_username" class = "d-none" > {{u.username}}< / div >
2022-01-21 21:59:27 +00:00
{% endif %}
2021-12-17 07:06:25 +00:00
{% endif %}
{% if v %}
2022-01-02 18:03:51 +00:00
< div id = 'tax' class = "d-none" > {% if v.patron or u.patron or v.alts_patron or u.alts_patron %}0{% else %}0.03{% endif %}< / div >
2022-02-11 23:32:14 +00:00
< script src = "/static/assets/js/userpage_v.js?a=241" > < / script >
2021-12-17 07:06:25 +00:00
< div id = "username" class = "d-none" > {{u.username}}< / div >
{% endif %}
2022-02-02 00:06:29 +00:00
< script src = "/static/assets/js/userpage.js?a=240" > < / script >
2021-12-17 07:06:25 +00:00
2021-12-04 16:12:56 +00:00
{% endblock %}
2021-11-30 17:32:52 +00:00
2021-12-14 22:48:37 +00:00
{% block pagenav %}
{% if listing %}
< nav aria-label = "Page navigation" >
< ul class = "pagination pagination-sm mb-0" >
{% if page>1 %}
< li class = "page-item" >
< small > < a class = "page-link" href = "?page={{page-1}}&sort={{sort}}&t={{t}}" tabindex = "-1" > Prev< / a > < / small >
< / li >
{% else %}
< li class = "page-item disabled" > < span class = "page-link" > Prev< / span > < / li >
{% endif %}
{% if next_exists %}
< li class = "page-item" >
< small > < a class = "page-link" href = "?page={{page+1}}&sort={{sort}}&t={{t}}" > Next< / a > < / small >
< / li >
{% else %}
< li class = "page-item disabled" > < span class = "page-link" > Next< / span > < / li >
{% endif %}
< / ul >
< / nav >
2021-11-30 17:32:52 +00:00
{% endif %}
2021-10-15 14:08:27 +00:00
2022-02-11 23:32:14 +00:00
< script src = "/static/assets/js/marked.js?a=242" > < / script >
2021-12-31 23:45:27 +00:00
2021-12-14 22:48:37 +00:00
< style >
.userbanner {
object-fit: cover !important;
2021-12-08 03:19:06 +00:00
}
2022-01-29 03:11:27 +00:00
@media (max-width: 400px) {
.count {
display:block;
2022-01-29 05:19:20 +00:00
text-align: center;
}
2022-01-29 03:11:27 +00:00
}
2021-12-14 22:48:37 +00:00
< / style >
2021-12-04 16:12:56 +00:00
2022-01-17 12:45:24 +00:00
{% if v and v.id != u.id and '/comments' not in request.path %}
{% include "emoji_modal.html" %}
{% endif %}
2021-12-14 22:48:37 +00:00
{% endblock %}
2021-12-13 03:38:05 +00:00
2021-12-17 07:06:25 +00:00
{% block GIFpicker %}
2021-11-30 17:32:52 +00:00
{% endblock %}