fix up tabs
parent
aa2c90c893
commit
a68dcfd5fe
|
@ -153,5 +153,4 @@
|
|||
{% if v.admin_level >= PERMS['CLAIM_REWARDS_ALL_USERS'] %}
|
||||
<button type="button" class="btn btn-primary d-block" data-nonce="{{g.nonce}}" data-onclick="postToastSwitch(this,'/admin/claim_rewards_all_users')" style="margin-bottom: 2em">CLAIM {{patron.upper()}} REWARDS FOR ALL USERS</button>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -46,5 +46,4 @@
|
|||
</div>
|
||||
|
||||
<script defer src="{{'js/admin/apps.js' | asset}}"></script>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{% block pagetitle %}{{"Badge Grant" if grant else "Badge Remove"}}{% endblock %}
|
||||
{% block pagetype %}message{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<link rel="stylesheet" href="{{('css/admin/badges.css') | asset}}">
|
||||
|
||||
{% set form_action = "/admin/badge_grant" if grant else "/admin/badge_remove" %}
|
||||
|
@ -10,7 +9,8 @@
|
|||
<form action="{{form_action}}" method="post" data-nonce="{{g.nonce}}" data-onsubmit="sendFormXHR(this)">
|
||||
<input hidden name="formkey" value="{{v|formkey}}">
|
||||
|
||||
<div class="overflow-x-auto mt-4"><table class="table table-striped">
|
||||
<div class="overflow-x-auto mt-4">
|
||||
<table class="table table-striped">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>Select</th>
|
||||
|
@ -38,6 +38,8 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<label for="input-usernames">Usernames (separated with a space)</label>
|
||||
{% set usernames = request.values.get('usernames') %}
|
||||
<input autocomplete="off" id="input-usernames" class="form-control" type="text" name="usernames" placeholder="Required (separated by space)" {% if usernames %}value="{{usernames}}"{% endif %} required>
|
||||
|
@ -49,8 +51,7 @@
|
|||
<label class="mt-2" for="input-description">Custom description</label>
|
||||
<input autocomplete="off" id="input-description" class="form-control" type="text" name="description" placeholder="Optional except for specific badges">
|
||||
{% endif %}
|
||||
|
||||
<input autocomplete="off" class="btn btn-primary mt-3" type="submit">
|
||||
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{% block pagetitle %}Banned Domains{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<script defer src="{{'js/admin/banned_domains.js' | asset}}"></script>
|
||||
|
||||
<div class="overflow-x-auto mt-2">
|
||||
|
@ -36,5 +35,4 @@
|
|||
<input autocomplete="off" id="ban-submit" type="submit" class="btn btn-primary mt-2" value="Ban domain" disabled>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{% extends "settings2.html" %}
|
||||
{% block pagetitle %}Logged In Users{% endblock %}
|
||||
{% block content %}
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -17,5 +18,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{% extends "settings2.html" %}
|
||||
{% block pagetitle %}Logged Out Users{% endblock %}
|
||||
{% block content %}
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -15,5 +16,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
{% block pagetitle %}Lottery Participants{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="my-1">Admin — Lottery Participants</h5>
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -18,4 +19,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{% extends "settings2.html" %}
|
||||
{% block pagetitle %}Patrons{% endblock %}
|
||||
{% block content %}
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -25,5 +26,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{% extends "settings2.html" %}
|
||||
{% block pagetitle %}Shadowbanned Users{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<h5 class="my-4">Shadowbanned Users</h5>
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
|
@ -26,7 +25,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
{% block pagetitle %}Admins{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h5 class="font-weight-bolder text-center pt-2 pb-3"><span>Admins</span></h5>
|
||||
<div class="overflow-x-auto mt-1">
|
||||
<table class="table table-striped mb-5">
|
||||
|
@ -28,7 +27,4 @@
|
|||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -24,6 +24,5 @@
|
|||
<div class="font-weight-bold mt-4 mb-2">Step 1:</div>
|
||||
<img loading="lazy" data-nonce="{{g.nonce}}" data-onclick="expandImage()" alt="Step 1" style="height:30vh" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/enable-push-notifs.webp">
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -31,7 +31,4 @@
|
|||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% extends "settings2.html" %}
|
||||
{% block pagetitle %}Banned Users{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<h5 class="font-weight-bolder text-center pt-2 pb-3"><span>Banned Users</span></h5>
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -31,7 +31,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
{% block pagetitle %}Blocks{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="font-weight-bolder text-center pt-2 pb-3"><span>Blocks</span></h5>
|
||||
<div class="overflow-x-auto mt-3"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto mt-3">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>User</th>
|
||||
|
@ -26,4 +27,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% extends "settings2.html" %}
|
||||
{% block pagetitle %}Chuds{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<h5 class="my-4">Chudded Users</h5>
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -29,7 +29,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -19,5 +19,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -14,9 +14,7 @@
|
|||
{% set disable_votes = (request.path.startswith('/@') and not wall) and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %}
|
||||
|
||||
{% macro single_comment(c, level=1, collapse=False) %}
|
||||
|
||||
{% if can_see(v, c) %}
|
||||
|
||||
{% set ups=c.upvotes %}
|
||||
{% set downs=c.downvotes %}
|
||||
{% set score=ups-downs %}
|
||||
|
@ -51,7 +49,6 @@
|
|||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
|
||||
{% set score=c.score %}
|
||||
|
||||
{% if v %}
|
||||
|
@ -111,9 +108,7 @@
|
|||
<span class="comment-collapse-line" style="border-color: {% if c.ghost %}var(--primary){% else %}#{{c.author.name_color}}{% endif %}" data-nonce="{{g.nonce}}" data-onclick="collapse_comment('{{c.id}}')"></span>
|
||||
{% endif %}
|
||||
<div class="comment-body">
|
||||
|
||||
<div id="{% if comment_info and comment_info.id == c.id %}context{% else %}comment-{{c.id}}-only{% endif %}" class="{% if c.unread %}unread{% endif %} comment-{{c.id}}-only comment-anchor {% if comment_info and comment_info.id == c.id %}context{% endif %}{% if c.is_banned %} banned{% endif %}{% if c.deleted_utc %} deleted{% endif %}">
|
||||
|
||||
<div class="user-info">
|
||||
<span class="comment-collapse-icon" data-nonce="{{g.nonce}}" data-onclick="collapse_comment('{{c.id}}')"></span>
|
||||
|
||||
|
@ -643,11 +638,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
|
||||
<div class="modal fade d-md-none" id="adminModal-{{c.id}}" tabindex="-1">
|
||||
<div class="modal-dialog modal-dialog-centered">
|
||||
|
@ -712,9 +702,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endmacro %}
|
||||
|
||||
{% for comment in comments %}
|
||||
|
|
|
@ -80,12 +80,10 @@
|
|||
|
||||
{% include "header.html" %}
|
||||
|
||||
{% block mobileUserBanner %}
|
||||
{% endblock %}
|
||||
{% block mobileUserBanner %}{% endblock %}
|
||||
|
||||
{% if IS_HOMOWEEN() %}
|
||||
{% block hauntBg %}
|
||||
{% endblock %}
|
||||
{% block hauntBg %}{% endblock %}
|
||||
{% endif %}
|
||||
|
||||
<div class="container">
|
||||
|
@ -142,5 +140,4 @@
|
|||
{% if IS_EVENT() %}
|
||||
{% include "events/shared/music.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -18,5 +18,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{% extends "default.html" %}
|
||||
{% block pagetitle %}!{{group}}{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
{% if v.id != group.owner.id %}
|
||||
<button id="leave-{{group}}" type="button" class="mt-4 btn btn-danger btn-block {% if v.id not in group.membership_user_ids %}d-none{% endif %}" data-nonce="{{g.nonce}}" data-onclick="postToastSwitch(this,'/!{{group}}/leave','leave-{{group}}','apply-{{group}}','d-none')">
|
||||
{%- if v.id in group.member_ids or group.name == 'verifiedrich' -%}
|
||||
|
@ -92,5 +91,4 @@
|
|||
{{process_memberships(members, 'members')}}
|
||||
{{process_memberships(applications, 'applications')}}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -62,5 +62,4 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
{% block pagetitle %}Users {{verb}} /h/{{hole}}{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="mt-3">Users {{verb}} /h/{{hole}}</h5>
|
||||
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto mt-1">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -18,5 +19,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
{% block pagetitle %}/h/{{hole}} Exiles{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="my-4 ml-2">Users exiled from /h/{{hole}}</h5>
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -33,5 +34,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -31,7 +31,4 @@
|
|||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{% extends "default.html" %}
|
||||
{% block pagetitle %}/h/{{hole}} Mods{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<script defer src="{{'js/remove_mod.js' | asset}}"></script>
|
||||
|
||||
<h5 class="mt-2">/h/{{hole}} Mods</h5>
|
||||
|
@ -40,5 +39,4 @@
|
|||
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" value="Add Mod" style="margin-bottom: 5px">
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{% block pagetitle %}/h/{{hole}} Settings{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="title mt-5">
|
||||
<label class="text-lg" for="stealth">Stealth Mode</label>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% extends "default.html" %}
|
||||
|
||||
{% block title %}
|
||||
{% if hole %}
|
||||
<title>/h/{{hole.name}}</title>
|
||||
|
@ -12,10 +13,12 @@
|
|||
{{super()}}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block pagetitle %}{{SITE_NAME if not hole else '/h/' ~ hole.name}}{% endblock %}
|
||||
|
||||
{% block head_final %}
|
||||
{% set preview = hole.siderbarurl if hole and hole.sidebarurl else hole.bannerurl %}
|
||||
|
||||
{% if hole %}
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:title" content="/h/{{hole}}">
|
||||
|
@ -31,11 +34,13 @@
|
|||
<meta name="twitter:image" content="{{preview}}">
|
||||
<meta name="twitter:url" content="{{request.full_path}}">
|
||||
{% endif %}
|
||||
|
||||
{% if hole.sidebar %}
|
||||
<meta property="og:description" name="description" content="{{hole.sidebar}}">
|
||||
<meta name="twitter:description" content="{{hole.sidebar}}">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block desktopBanner %}
|
||||
{%- set search_placeholder = "Search" -%}
|
||||
{%- if hole -%}
|
||||
|
@ -89,13 +94,11 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block PseudoSubmitForm %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %}">
|
||||
<div class="col-12">
|
||||
<div class="posts">
|
||||
|
@ -103,7 +106,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
@ -126,5 +128,4 @@
|
|||
{% if FP and request.path == '/' and v and not v.fp %}
|
||||
<script defer src="{{'js/fp.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{% block pagetitle -%}
|
||||
{{ref_user.username ~ " invites you to " ~ SITE_NAME if ref_user else "Sign Up"}}
|
||||
{%- endblock %}
|
||||
|
||||
{% block pagetype %}login{% endblock %}
|
||||
|
||||
{% block template_config %}
|
||||
|
@ -116,6 +117,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script defer src="{{'js/signup.js' | asset}}"></script>
|
||||
{% if turnstile != DEFAULT_CONFIG_VALUE %}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
{% endblock %}
|
||||
{% block authtitle %}Whoops! You can't refer yourself!{% endblock %}
|
||||
{% block authtext %}Send this link to a friend instead :){% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<label>Referral code</label>
|
||||
{% set link = SITE_FULL ~ "/signup?ref=" ~ request.values.get('ref') %}
|
||||
|
@ -15,6 +16,7 @@
|
|||
Already have an account? <a href="/login{{'?redirect='+redirect if redirect else ''}}" class="font-weight-bold toggle-login">Log in</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<div class="toast clipboard" id="toast-success" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
||||
<div class="toast-body text-center">
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{% block pagetype %}lottery{% endblock %}
|
||||
{% block pagetitle %}Lottershe{% endblock %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<div class="lottery-page--wrapper">
|
||||
<div class="lottery-page--image">
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/lottery.webp?x=6">
|
||||
|
@ -153,5 +152,4 @@
|
|||
</div>
|
||||
</div>
|
||||
<script defer src="{{'js/lottery.js' | asset}}"></script>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
{% extends "default.html" %}
|
||||
{% block pagetitle %}Notification Mutes{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="font-weight-bolder text-center pt-2 pb-3"><span>Notification Mutes</span></h5>
|
||||
<div class="overflow-x-auto mt-3"><table class="table table-striped mb-5">
|
||||
<h5 class="font-weight-bolder text-center pt-2 pb-3">
|
||||
<span>Notification Mutes</span>
|
||||
</h5>
|
||||
<div class="overflow-x-auto mt-3">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>User</th>
|
||||
|
@ -26,4 +29,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<div class="font-weight-bold py-3"></div>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<div class="row border-bottom w-200 pr-0" style="overflow: visible">
|
||||
<div class="col p-0 w-100">
|
||||
<ul class="nav settings-nav" style="padding:0 0 0 20px" id="notifications--nav-list">
|
||||
|
@ -57,7 +56,6 @@
|
|||
{% endif %}
|
||||
|
||||
<div class="notifs px-3 p-md-0">
|
||||
|
||||
{% if request.path == '/notifications/posts' %}
|
||||
{% with listing=notifications %}
|
||||
<div class="mt-4 posts">
|
||||
|
@ -67,7 +65,6 @@
|
|||
{% elif request.path == '/notifications/modactions' %}
|
||||
<div class="rounded border mx-auto mt-4">
|
||||
{% for ma in notifications %}
|
||||
|
||||
<div id="action-{{ma.id}}" class="{% if ma.unread %}unread{% endif %} position-relative d-flex justify-content-between flex-wrap align-items-center h-min-16 px-3 py-3 {% if loop.index > 1 %} border-top{% endif %}">
|
||||
|
||||
<div class="d-flex flex-grow-1 align-items-center">
|
||||
|
@ -128,9 +125,7 @@
|
|||
<h5>No notifications</h5>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
@ -145,7 +140,6 @@
|
|||
<script defer src="{{'js/flash.js' | asset}}"></script>
|
||||
<script defer src="{{'js/messages.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block GIFpicker %}{% endblock %}
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
{% block pagetitle %}{{kind}} Owners{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="my-3">{{kind}} Owners</h5>
|
||||
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto mt-1">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
@ -18,7 +19,7 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{% extends "default.html" %}
|
||||
{% block pagetitle %}Poll Votes{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if option %}
|
||||
|
||||
<h3 class="mt-5">{{option.body_html | safe}} - {{ups | length}} {% if option.exclusive == 2 %}bets{% else %}votes{% endif %}</h3>
|
||||
|
||||
<p><b>Link:</b> <a href="{{option.parent.permalink}}">{{option.parent.permalink}}</a></p>
|
||||
|
@ -39,6 +39,5 @@
|
|||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
{% endif %}
|
||||
|
||||
{% set v_forbid_deleted = (p.deleted_utc != 0) and not (v and v.admin_level >= PERMS['POST_COMMENT_MODERATION']) and not (v and v.id == p.author_id) %}
|
||||
{% block actionsModal %}
|
||||
|
||||
{% block actionsModal %}
|
||||
{% if v %}
|
||||
<div class="modal fade d-md-none" id="actionsModal" tabindex="-1">
|
||||
<div class="modal-dialog modal-dialog-centered">
|
||||
|
@ -67,11 +67,9 @@
|
|||
{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
|
||||
{% include "post_admin_actions_mobile.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="row mb-3">
|
||||
|
||||
<div id="post-root" class="col-12">
|
||||
|
@ -357,5 +355,4 @@
|
|||
{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
|
||||
<script defer src="{{'js/admin/post.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "post.html" %}
|
||||
|
||||
{% set score=p.score %}
|
||||
|
||||
{% if v %}
|
||||
{% set voted=p.voted %}
|
||||
{% set adjust=voted %}
|
||||
|
@ -11,11 +12,6 @@
|
|||
|
||||
{% block title %}
|
||||
<title>{{p.plaintitle(v)}}</title>
|
||||
{% if p.is_banned %}
|
||||
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -71,7 +67,6 @@
|
|||
{% if offset %}
|
||||
<script defer src="{{'js/view_more.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block mobileactions %}
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
{% set disable_votes = request.path.startswith('/@') and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %}
|
||||
|
||||
{% for p in listing if can_see(v, p) %}
|
||||
|
||||
<input hidden class="twoattrs" value="{{p.id}},{{p.comment_count}}">
|
||||
|
||||
{% set ups=p.upvotes %}
|
||||
|
@ -31,7 +30,6 @@
|
|||
{{macros.reports(p, 'post')}}
|
||||
|
||||
<div id="post-{{p.id}}" class="actual-post card {% if p.ghost %}ghost-post{% endif %} {% if p.unread %}unread{% endif %} {% if p.is_banned %} banned{% endif %}{% if p.deleted_utc %} deleted{% endif %}{% if p.stickied %} stickied{% endif %}{% if voted==1 %} upvoted{% elif voted==-1 %} downvoted{% endif %}{% if p.nsfw %} nsfw{% endif %}">
|
||||
|
||||
<div class="d-flex flex-row-reverse flex-md-row flex-nowrap" style="align-items:flex-start">
|
||||
<div class="voting my-2 d-none d-md-flex pr-2">
|
||||
{% if v %}
|
||||
|
@ -186,7 +184,6 @@
|
|||
{% include "post_admin_actions_mobile.html" %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if not v_forbid_deleted %}
|
||||
{% if p.realbody(v) %}
|
||||
<div class="{% if p.chudded %}text-uppercase chud-img chud-{{p.id_last_num}}{% endif %} d-none card rounded border post-preview" id="post-text-{{p.id}}">
|
||||
|
|
|
@ -49,6 +49,5 @@
|
|||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block onload %}{% endblock %}
|
||||
<script defer src="{{'js/vendor/clipboard.js' | asset}}"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -129,6 +129,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block clipboard %}
|
||||
<div class="toast clipboard" id="toast-success" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
||||
<div class="toast-body text-center">
|
||||
|
|
|
@ -41,5 +41,4 @@
|
|||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -371,6 +371,7 @@
|
|||
</div>
|
||||
{%- endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{{permanent_filter_modal('slurreplacer', '/settings/personal', 'slurreplacer', 'Slur Replacer', 'Social Justice Berserker')}}
|
||||
{{permanent_filter_modal('profanityreplacer', '/settings/personal', 'profanityreplacer', 'Profanity Replacer', 'Soapy-Mouthed Angel')}}
|
||||
{% endblock %}
|
||||
|
|
|
@ -72,12 +72,9 @@
|
|||
{% endblock %}
|
||||
|
||||
<div class="pt-3 container">
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="toast clipboard" id="toast-clipboard-success" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
||||
<div class="toast-body text-center">
|
||||
<i class="fas fa-check-circle text-success mr-2"></i>Link copied to clipboard
|
||||
|
|
|
@ -31,5 +31,4 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{% extends "default.html" %}
|
||||
{% block pagetitle %}Content Statistics{% endblock %}
|
||||
{% block content %}
|
||||
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto mt-1">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th class="disable-sort-click">Statistic</th>
|
||||
|
@ -19,4 +20,5 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -168,7 +168,6 @@
|
|||
{% endif %}
|
||||
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<div>
|
||||
{% if v and v.id != u.id %}
|
||||
<div id="profile--actionbtns">
|
||||
<div class="actionbtns mb-3">
|
||||
|
@ -289,7 +288,6 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if FEATURES['BADGES'] -%}
|
||||
<div id="profile--badges">
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
{% block pagetitle %}@{{u.username}}'s blockers{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="my-3">@{{u.username}}'s blockers ({{total}} user{{macros.plural(total)}})</h5>
|
||||
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto mt-1">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
@ -18,7 +19,7 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
{% if v.id == u.id %}
|
||||
<script defer src="{{'js/userpage_blocking.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
{% block pagetitle %}@{{u.username}}'s followers{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="my-3">@{{u.username}}'s followers ({{total}} user{{macros.plural(total)}})</h5>
|
||||
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto mt-1">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
@ -28,9 +29,9 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<script defer src="{{'js/followers.js' | asset}}"></script>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
{% block pagetitle %}Users followed by @{{u.username}}{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="my-3">Users followed by @{{u.username}} ({{total}} user{{macros.plural(total)}})</h5>
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
@ -28,9 +29,9 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<script defer src="{{'js/following.js' | asset}}"></script>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
{% block pagetitle %}@{{u.username}}'s notification muters{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="my-3">@{{u.username}}'s notification muters ({{total}} user{{macros.plural(total)}})</h5>
|
||||
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto mt-1">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
@ -18,7 +19,7 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
{% block pagetitle %}Users whose notifications are muted by @{{u.username}}{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="my-3">Users whose notifications are muted by @{{u.username}} ({{total}} user{{macros.plural(total)}})</h5>
|
||||
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto mt-1">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
@ -26,11 +27,11 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{% if v.id == u.id %}
|
||||
<script defer src="{{'js/userpage_muting.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "default.html" %}
|
||||
{% block pagetype %}userpage{% endblock %}
|
||||
{% block pagetitle %}@{{u.username}}'s profile{% endblock %}
|
||||
|
||||
{% block head_final %}
|
||||
{% if u and u.profile_background %}
|
||||
<link rel="stylesheet" href="{{('css/transparent.css') | asset}}">
|
||||
|
@ -9,10 +10,12 @@
|
|||
<link rel="stylesheet" href="/@{{u.username}}/profilecss">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{%- include 'userpage/banner.html' -%}
|
||||
{%- include 'userpage/header.html' -%}
|
||||
{% block userpage_content required %}{% endblock %}
|
||||
|
||||
{% if FEATURES['USERS_PROFILE_SONG'] and u.song %}
|
||||
{% if v and v.id == u.id %}
|
||||
<div id="v_username" class="d-none">{{v.username}}</div>
|
||||
|
@ -26,7 +29,9 @@
|
|||
<script defer src="{{'js/userpage_v.js' | asset}}"></script>
|
||||
<div id="username" class="d-none">{{u.username}}</div>
|
||||
{% endif %}
|
||||
|
||||
<script defer src="{{'js/userpage.js' | asset}}"></script>
|
||||
|
||||
{% if can_see(v, u) and u.song %}
|
||||
<audio id="profile-song" hidden preload="none" src="/songs/{{u.song}}.mp3" loop></audio>
|
||||
<script defer src="{{'js/profile_song.js' | asset}}"></script>
|
||||
|
@ -47,4 +52,5 @@
|
|||
{% include "modals/gif.html" %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block GIFpicker %}{% endblock %}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
{% extends "default.html" %}
|
||||
{% block pagetitle %}@{{u.username}}'s Profile Views{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h5 class="pt-4 pl-2 pb-3">Users who viewed @{{u.username}}'s profile</h5>
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
@ -20,7 +22,7 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
{% block content %}
|
||||
<h3 class="my-3" style="text-align: center">{{name2}}</h3>
|
||||
<h5 class="font-weight-bold text-center mt-3">Total: {{total_items}}</h5>
|
||||
<div class="mt-1 overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="mt-1 overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
@ -32,7 +33,7 @@
|
|||
{% endif %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
|
|
Loading…
Reference in New Issue