forked from MarseyWorld/MarseyWorld
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
commit
2c188f3055
|
@ -146,7 +146,7 @@ blockquote a {
|
|||
background: #ffffff88 !important;
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #949494 !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -521,7 +521,7 @@ a.nav-link:hover {
|
|||
color: var(--black2) !important;
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #6e6e6e !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -201,7 +201,7 @@ a.nav-link:hover {
|
|||
color: var(--white) !important;
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #6e6e6e !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ blockquote {
|
|||
background: #ffffff88 !important;
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #949494 !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ pre {
|
|||
background: None !important;
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #7a7a7a !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ color: var(--gray-700);
|
|||
background-color: var(--gray-800);
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #6e6e6e !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -80,6 +80,6 @@ blockquote {
|
|||
background: #00000055 !important;
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #7a7a7a !important;
|
||||
}
|
|
@ -3425,10 +3425,7 @@ small, .small {
|
|||
.profile-pic-65-wrapper { width: 65px; height: 65px; }
|
||||
.profile-pic-75-wrapper { width: 75px; height: 75px; }
|
||||
.profile-pic-100-wrapper { width: 100px; height: 100px; }
|
||||
.profile-pic-20-hat {
|
||||
width: 20px;
|
||||
bottom: -2.7px;
|
||||
}
|
||||
.profile-pic-20-hat { width: 20px; }
|
||||
.profile-pic-30-hat { width: 30px; }
|
||||
.profile-pic-35-hat { width: 35px; }
|
||||
.profile-pic-50-hat { width: 50px; }
|
||||
|
@ -3436,6 +3433,12 @@ small, .small {
|
|||
.profile-pic-75-hat { width: 75px; }
|
||||
.profile-pic-100-hat { width: 100px; }
|
||||
|
||||
@media (min-width: 767.98px) {
|
||||
.profile-pic-20-hat {
|
||||
bottom: -2.7px;
|
||||
}
|
||||
}
|
||||
|
||||
.profile--pfp--hat {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ body, .navbar-light, .navbar-dark, .card, .modal-content, .comment-write textare
|
|||
background-color: #ccc;
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #6e6e6e !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ pre {
|
|||
background-color: var(--gray-500);
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #7a7a7a !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -219,7 +219,7 @@
|
|||
border: 2px solid var(--gray-200) !important;
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #b0b0b0 !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ blockquote {
|
|||
background: #ffffffaa !important;
|
||||
}
|
||||
|
||||
#frontpage .post-title a:visited {
|
||||
.post-title a:visited {
|
||||
color: #5c5c5c !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -65,18 +65,19 @@ def award_timers(v, bot=False):
|
|||
if v.owoify and v.owoify < now:
|
||||
v.owoify = None
|
||||
notify_if_not_bot("Your OwOify status has expired!")
|
||||
v.house = v.old_house
|
||||
badge = v.has_badge(167)
|
||||
if v.bite and v.bite < now:
|
||||
v.bite = None
|
||||
notify_if_not_bot("Your vampire status has ended!")
|
||||
v.house = v.old_house
|
||||
|
||||
if v.old_house:
|
||||
notify_if_not_bot("Your vampire status has ended!")
|
||||
v.house = v.old_house
|
||||
|
||||
badge = v.has_badge(168)
|
||||
if badge: g.db.delete(badge)
|
||||
if v.earlylife and v.earlylife < now:
|
||||
v.earlylife = None
|
||||
notify_if_not_bot("Your earlylife status has expired!")
|
||||
v.house = v.old_house
|
||||
badge = v.has_badge(169)
|
||||
if v.marsify and v.marsify != 1 and v.marsify < now:
|
||||
v.marsify = 0
|
||||
|
@ -86,7 +87,6 @@ def award_timers(v, bot=False):
|
|||
if v.rainbow and v.rainbow < now:
|
||||
v.rainbow = None
|
||||
notify_if_not_bot("Your rainbow has expired!")
|
||||
v.house = v.old_house
|
||||
badge = v.has_badge(171)
|
||||
|
||||
g.db.add(v)
|
||||
|
|
|
@ -78,8 +78,6 @@ if SITE_NAME == 'rDrama':
|
|||
"uss liberty incident": "tragic accident aboard the USS Liberty",
|
||||
"lavon affair": "Lavon Misunderstanding",
|
||||
"shylock": "Israeli friend",
|
||||
"mohammad": "Prophet Muhammad (ﷺ)",
|
||||
"muhammad": "Prophet Muhammad (ﷺ)",
|
||||
"i hate marsey": "i love marsey",
|
||||
"dancing israelis": "i love Israel",
|
||||
"sodomite": "total dreamboat",
|
||||
|
@ -201,7 +199,6 @@ MOM_ID = 0
|
|||
DONGER_ID = 0
|
||||
GEESE_ID = 0
|
||||
|
||||
BUG_THREAD = 0
|
||||
POLL_THREAD = 0
|
||||
WELCOME_MSG = f"Welcome to {SITE_NAME}!"
|
||||
ROLES={}
|
||||
|
@ -257,7 +254,6 @@ if SITE == 'rdrama.net':
|
|||
DONGER_ID = 541
|
||||
GEESE_ID = 1710
|
||||
|
||||
BUG_THREAD = 18459
|
||||
POLL_THREAD = 79285
|
||||
|
||||
WELCOME_MSG = "Hi there! It's me, your soon-to-be favorite rDrama user @carpathianflorist here to give you a brief rundown on some of the sick features we have here. ~You'll probably want to start by following me, though. So go ahead and click my name and then smash that Follow button. This is actually really important, so go on. Hurry.~ Actually, not enough of you were able to follow even the simplest of instructions, so now everyone is following me by default! If you'd like, you can still get some clicking practice in by hitting the unfollow button. But I'll be notified of that, and you're new, and you wouldn't want to get off on the wrong foot here, would you?\nThanks!\nNext up: If you're a member of the media, similarly just shoot me a DM and I'll set about verifying you and then we can take care of your sad journalism stuff.\n**FOR EVERYONE ELSE**\n Begin by navigating to [the settings page](/settings/profile) (we'll be prettying this up so it's less convoluted soon, don't worry) and getting some basic customization done.\n### Themes\nDefinitely change your theme right away, the default one (Midnight) is pretty enough, but why not use something *exotic* like Win98, or *flashy* like Tron? Even Coffee is super tasteful and way more fun than the default. More themes to come when we get around to it!\n### Avatar/pfp\nYou'll want to set this pretty soon. Set the banner too while you're at it. Your profile is important!\n### Flairs\nSince you're already on the settings page, you may as well set a flair, too. As with your username, you can - obviously - choose the color of this, either with a hex value or just from the preset colors. And also like your username, you can change this at any time. [Paypigs](https://marsey1.gumroad.com/l/rdrama) can even further relive the glory days of 90s-00s internet and set obnoxious signatures.\n### PROFILE ANTHEMS\nSpeaking of profiles, hey, remember MySpace? Do you miss autoplaying music assaulting your ears every time you visited a friend's page? Yeah, we brought that back. Enter a YouTube URL, wait a few seconds for it to process, and then BAM! you've got a profile anthem which people cannot mute. Unless they spend 20,000 dramacoin in the shop for a mute button. Which you can then remove from your profile by spending 40,000 dramacoin on an unmuteable anthem. Get fucked poors!\n### Dramacoin?\nDramacoin is basically our take on the karma system. Except unlike the karma system, it's not gay and boring and stupid and useless. Dramacoin can be spent at [Marsey's Dramacoin Emporium](/shop) on upgrades to your user experience (many more coming than what's already listed there), and best of all on tremendously annoying awards to fuck with your fellow dramautists. We're always adding more, so check back regularly in case you happen to miss one of the announcement posts.\nLike karma, dramacoin is obtained by getting upvotes on your threads and comments. *Unlike* karma, it's also obtained by getting downvotes on your threads and comments. Downvotes don't really do anything here - they pay the same amount of dramacoin and they increase thread/comment ranking just the same as an upvote. You just use them to express petty disapproval and hopefully start a fight. Because all votes are visible here. To hell with your anonymity.\nDramacoin can also be traded amongst users from their profiles. Note that there is a 3% transaction fee.\n### Badges\nRemember all those neat little metallic icons you saw on my profile when you were following me? If not, scroll back up and go have a look. And doublecheck to make sure you pressed the Follow button. Anyway, those are badges. You earn them by doing a variety of things. Some of them even offer benefits, like discounts at the shop. A [complete list of badges and their requirements can be found here](/badges), though I add more pretty regularly, so keep an eye on the [changelog](/h/changelog).\n### Other stuff\nWe're always adding new features, and we take a fun-first approach to development. If you have a suggestion for something that would be fun, funny, annoying - or best of all, some combination of all three - definitely make a thread about it. Or just DM me if you're shy. Weirdo. Anyway there's also the [leaderboards](/leaderboard), boring stuff like two-factor authentication you can toggle on somewhere in the settings page (psycho), the ability to save posts and comments, more than a thousand emojis already (most of which are rDrama originals), and on and on and on and on. This is just the basics, mostly to help you get acquainted with some of the things you can do here to make it more easy on the eyes, customizable, and enjoyable. If you don't enjoy it, just go away! We're not changing things to suit you! Get out of here loser! And no, you can't delete your account :na:\nI love you.<BR>*xoxo Carp* 💋"
|
||||
|
@ -291,7 +287,6 @@ elif SITE == 'pcmemes.net':
|
|||
AEVANN_ID = 1
|
||||
SNAKES_ID = 2279
|
||||
|
||||
BUG_THREAD = 4103
|
||||
WELCOME_MSG = "Welcome to pcmemes.net! Don't forget to turn off the slur filter [here](/settings/content#slurreplacer)"
|
||||
|
||||
LOTTERY_TICKET_COST = 12
|
||||
|
@ -596,7 +591,7 @@ AWARDS = {
|
|||
"kind": "bird",
|
||||
"title": "Bird Site",
|
||||
"description": "Forces the recipient to make all posts/comments < 140 characters for 24 hours.",
|
||||
"icon": "fab fa-twitter",
|
||||
"icon": "fas fa-twitter",
|
||||
"color": "text-blue",
|
||||
"price": 1500
|
||||
},
|
||||
|
@ -676,7 +671,7 @@ AWARDS = {
|
|||
"kind": "unblockable",
|
||||
"title": "Unblockable",
|
||||
"description": "Makes the recipient unblockable and removes all blocks on them.",
|
||||
"icon": "far fa-laugh-squint",
|
||||
"icon": "fas fa-laugh-squint",
|
||||
"color": "text-lightgreen",
|
||||
"price": 20000
|
||||
},
|
||||
|
|
|
@ -357,8 +357,10 @@ def award_thing(v, thing_type, id):
|
|||
g.db.add(thing)
|
||||
elif "Vampire" in kind and kind == v.house:
|
||||
if author.bite: author.bite += 86400 * 7
|
||||
else: author.bite = int(time.time()) + 86400 * 7
|
||||
author.old_house = author.house
|
||||
else:
|
||||
author.bite = int(time.time()) + 86400 * 7
|
||||
author.old_house = author.house
|
||||
|
||||
author.house = 'Vampire'
|
||||
badge_grant(user=author, badge_id=168)
|
||||
elif "Racist" in kind and kind == v.house:
|
||||
|
|
|
@ -48,7 +48,7 @@ def pull_slots(v):
|
|||
if success:
|
||||
return {"game_state": game_state, "gambler": { "coins": v.coins, "procoins": v.procoins }}
|
||||
else:
|
||||
return {"error": "Wager must be more than 100 {currency}."}
|
||||
return {"error": f"Wager must be more than 5 {currency}."}
|
||||
|
||||
|
||||
@app.get("/casino/blackjack/status")
|
||||
|
|
|
@ -545,7 +545,7 @@ def sub_stealth(v, sub):
|
|||
sub = g.db.query(Sub).filter_by(name=sub.strip().lower()).one_or_none()
|
||||
if not sub: abort(404)
|
||||
|
||||
if sub.name in ('smuggies','braincels'): abort(403)
|
||||
if sub.name == 'braincels': abort(403)
|
||||
if not v.mods(sub.name): abort(403)
|
||||
|
||||
sub.stealth = not sub.stealth
|
||||
|
|
|
@ -681,11 +681,6 @@ def unsubscribe(v, post_id):
|
|||
g.db.delete(sub)
|
||||
return {"message": "Post unsubscribed!"}
|
||||
|
||||
@app.get("/report_bugs")
|
||||
@auth_required
|
||||
def reportbugs(v):
|
||||
return redirect(f'/post/{BUG_THREAD}')
|
||||
|
||||
@app.post("/@<username>/message")
|
||||
@limiter.limit("1/second;10/minute;20/hour;50/day")
|
||||
@limiter.limit("1/second;10/minute;20/hour;50/day", key_func=lambda:f'{SITE}-{session.get("lo_user")}')
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{{error}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -26,7 +26,7 @@
|
|||
{{msg}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{{error}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -26,7 +26,7 @@
|
|||
{{msg}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{{error}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -26,7 +26,7 @@
|
|||
{{msg}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
{{error}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -87,7 +87,7 @@
|
|||
{{msg}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="modal-header">
|
||||
<h5 class="modal-title">Give Award</h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div id="awardModalBody" class="modal-body mb-3">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<div class="modal-header pt-3">
|
||||
<h5 id="banModalTitle"></h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body" id="ban-modal-body">
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
id="casinoSlotsBet"
|
||||
class="form-control"
|
||||
autocomplete="off"
|
||||
value="100"
|
||||
min="100"
|
||||
value="5"
|
||||
min="5"
|
||||
step="1"
|
||||
aria-label="Bet"
|
||||
name="casinoSlotsBet"
|
||||
|
@ -171,8 +171,8 @@
|
|||
id="casinoBlackjackBet"
|
||||
class="form-control"
|
||||
autocomplete="off"
|
||||
value="100"
|
||||
min="100"
|
||||
value="5"
|
||||
min="5"
|
||||
step="1"
|
||||
aria-label="Bet"
|
||||
name="casinoBlackjackBet"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="modal-header pt-3">
|
||||
<h5 id="category-modal-title"></h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body" id="category-modal-body">
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
|
||||
<div class="border-right pb-1 pt-2 px-3">
|
||||
<span id="online2" data-bs-html="true" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Users in chat right now" class="text-muted">
|
||||
<i class="far fa-user fa-sm mr-1"></i>
|
||||
<i class="fas fa-user fa-sm mr-1"></i>
|
||||
<span class="board-chat-count">0</span>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -215,7 +215,7 @@
|
|||
</div>
|
||||
{% if c.active_flags(v) %}
|
||||
<div id="flaggers-{{c.id}}" class="flaggers d-none">
|
||||
<strong><i class="far fa-fw fa-flag"></i> Reported by:</strong>
|
||||
<strong><i class="fas fa-fw fa-flag"></i> Reported by:</strong>
|
||||
<pre></pre>
|
||||
<ul style="padding-left:20px; margin-bottom: 0;word-wrap:break-word">
|
||||
{% for f in c.filtered_flags(v) %}
|
||||
|
@ -549,8 +549,8 @@
|
|||
</div>
|
||||
|
||||
{% if request.path.startswith('/transfers') %}
|
||||
<a href="{{c.log_link}}"><i class="far fa-link ml-1 text-muted"></i></a>
|
||||
<a role="button" class="copy-link" role="button" data-clipboard-text="{{c.log_link}}"><i class="far fa-copy ml-1 text-muted"></i></a>
|
||||
<a href="{{c.log_link}}"><i class="fas fa-link ml-1 text-muted"></i></a>
|
||||
<a role="button" class="copy-link" role="button" data-clipboard-text="{{c.log_link}}"><i class="fas fa-copy ml-1 text-muted"></i></a>
|
||||
{% endif %}
|
||||
|
||||
{% if render_replies %}
|
||||
|
@ -608,7 +608,7 @@
|
|||
<div class="modal-header">
|
||||
<h5 class="modal-title h6">More options</h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
@ -634,9 +634,9 @@
|
|||
{% if c.author_id == v.id %}
|
||||
<a role="button" data-bs-dismiss="modal" onclick="toggleEdit('{{c.id}}')" class="list-group-item"><i class="fas fa-edit mr-2"></i>Edit</a>
|
||||
|
||||
<a id="undelete2-{{c.id}}" class="{% if not c.deleted_utc %}d-none{% endif %} list-group-item text-success" role="button" onclick="post_toast(this,'/undelete/comment/{{c.id}}', 'delete2-{{c.id}}', 'undelete2-{{c.id}}','d-none');document.getElementById('comment-{{c.id}}').classList.remove('deleted')" data-bs-dismiss="modal"><i class="far fa-trash-alt text-success mr-2"></i>Undelete</a>
|
||||
<a id="undelete2-{{c.id}}" class="{% if not c.deleted_utc %}d-none{% endif %} list-group-item text-success" role="button" onclick="post_toast(this,'/undelete/comment/{{c.id}}', 'delete2-{{c.id}}', 'undelete2-{{c.id}}','d-none');document.getElementById('comment-{{c.id}}').classList.remove('deleted')" data-bs-dismiss="modal"><i class="fas fa-trash-alt text-success mr-2"></i>Undelete</a>
|
||||
|
||||
<a id="delete2-{{c.id}}" class="{% if c.deleted_utc %}d-none{% endif %} list-group-item text-danger" role="button" data-bs-toggle="modal" data-bs-dismiss="modal" data-bs-target="#deleteCommentModal" onclick="delete_commentModal('{{c.id}}')"><i class="far fa-trash-alt text-danger mr-2"></i>Delete</a>
|
||||
<a id="delete2-{{c.id}}" class="{% if c.deleted_utc %}d-none{% endif %} list-group-item text-danger" role="button" data-bs-toggle="modal" data-bs-dismiss="modal" data-bs-target="#deleteCommentModal" onclick="delete_commentModal('{{c.id}}')"><i class="fas fa-trash-alt text-danger mr-2"></i>Delete</a>
|
||||
|
||||
<a id="mark2-{{c.id}}" class="{% if c.over_18 %}d-none{% endif %} list-group-item text-danger" role="button" onclick="post_toast(this,'/toggle_comment_nsfw/{{c.id}}','mark2-{{c.id}}','unmark2-{{c.id}}','d-none')" data-bs-dismiss="modal"><i class="fas fa-eye-evil text-danger mr-2"></i>Mark +18</a>
|
||||
<a id="unmark2-{{c.id}}" class="{% if not c.over_18 %}d-none{% endif %} list-group-item text-danger" role="button" onclick="post_toast(this,'/toggle_comment_nsfw/{{c.id}}','mark2-{{c.id}}','unmark2-{{c.id}}','d-none')" data-bs-dismiss="modal"><i class="fas fa-eye-evil text-danger mr-2"></i>Unmark +18</a>
|
||||
|
@ -688,7 +688,7 @@
|
|||
<div class="modal-header">
|
||||
<h5 class="modal-title h6">Admin options</h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
@ -767,7 +767,7 @@
|
|||
<div class="modal-header d-none d-md-flex">
|
||||
<h5 class="modal-title">Delete comment?</h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body text-center">
|
||||
|
@ -796,7 +796,7 @@
|
|||
<div class="modal-header">
|
||||
<h5 class="modal-title">Report <span id="comment-author"></span>'s comment</h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="" id="reportCommentFormBefore">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{{msg}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="modal-header d-none d-md-flex">
|
||||
<h5 class="modal-title">Delete post?</h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body text-center">
|
||||
|
|
|
@ -7,8 +7,16 @@
|
|||
{% block pagetype %}message{% endblock %}
|
||||
|
||||
{% block Banner %}
|
||||
<style>
|
||||
@media (max-width: 768px) {
|
||||
#hats-banner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<header class="container pb-1 text-center">
|
||||
<img class="mt-5" alt="hats banner" src="/i/hats.webp?v=1" width="50%">
|
||||
<img id="hats-banner" class="mt-5" alt="hats banner" src="/i/hats.webp?v=1" width="50%">
|
||||
<h5 class="mt-4">Number of hats you bought: {{v.num_of_owned_hats}}</h5>
|
||||
<h5 class="mt-4">Number of hats you designed: {{v.num_of_designed_hats}}</h5>
|
||||
<h5 class="mt-4">Coins you spent on hats: {{v.coins_spent_on_hats}}</h5>
|
||||
|
|
|
@ -232,21 +232,19 @@
|
|||
</div>
|
||||
<div class="px-2">
|
||||
{% if has_app -%}
|
||||
<a class="dropdown-item" href="/assets/app_{{SITE_NAME}}_v2.4.apk"><i class="fab fa-android fa-fw mr-3"></i>Android app</a>
|
||||
<a class="dropdown-item" href="/assets/app_{{SITE_NAME}}_v2.4.apk"><i class="fas fa-android fa-fw mr-3"></i>Android app</a>
|
||||
{%- endif %}
|
||||
|
||||
<a class="dropdown-item" href="https://rdrama.net/h/changelog"><i class="fas fa-clipboard fa-fw mr-3"></i>Changelog</a>
|
||||
|
||||
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="https://github.com/Aevann1/rDrama"><i class="fab fa-github fa-fw mr-3"></i>Source code</a>
|
||||
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="https://github.com/Aevann1/rDrama"><i class="fas fa-github fa-fw mr-3"></i>Source code</a>
|
||||
|
||||
{% if SITE_NAME in ['rDrama', 'PCM'] %}
|
||||
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="/report_bugs"><i class="fas fa-bug fa-fw mr-3"></i>Bugs/Suggestions</a>
|
||||
{% endif %}
|
||||
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="https://rdrama.net/post/18459"><i class="fas fa-bug fa-fw mr-3"></i>Bugs/Suggestions</a>
|
||||
|
||||
{% if SITE_NAME == 'rDrama' %}
|
||||
<a class="dropdown-item" href="/discord"><i class="fab fa-discord fa-fw mr-3"></i>Discord</a>
|
||||
<a class="dropdown-item" href="/post/75863"><i class="fas fa-square-share-nodes fa-fw mr-3"></i>Fediverse</a>
|
||||
<a class="dropdown-item" href="/discord"><i class="fas fa-discord fa-fw mr-3"></i>Discord</a>
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['PROCOINS'] %}
|
||||
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="{{GUMROAD_LINK}}"><i class="fas fa-dollar-sign fa-fw mr-3"></i>Donate</a>
|
||||
{% endif %}
|
||||
|
@ -299,15 +297,19 @@
|
|||
{% endif %}
|
||||
|
||||
{% if has_app -%}
|
||||
<a class="nav-item nav-link" href="/assets/app_{{SITE_NAME}}_v2.4.apk"><i class="fab fa-android fa-fw mr-3"></i>Android app</a>
|
||||
<a class="nav-item nav-link" href="/assets/app_{{SITE_NAME}}_v2.4.apk"><i class="fas fa-android fa-fw mr-3"></i>Android app</a>
|
||||
{%- endif %}
|
||||
|
||||
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="https://github.com/Aevann1/rDrama"><i class="fab fa-github fa-fw mr-3"></i>Source code</a>
|
||||
<a class="nav-item nav-link" href="https://rdrama.net/h/changelog"><i class="fas fa-clipboard fa-fw mr-3"></i>Changelog</a>
|
||||
|
||||
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="https://github.com/Aevann1/rDrama"><i class="fas fa-github fa-fw mr-3"></i>Source code</a>
|
||||
|
||||
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="https://rdrama.net/post/18459"><i class="fas fa-bug fa-fw mr-3"></i>Bugs/Suggestions</a>
|
||||
|
||||
{% if SITE_NAME == 'rDrama' %}
|
||||
<a class="nav-item nav-link" href="/discord"><i class="fab fa-discord fa-fw mr-3"></i>Discord</a>
|
||||
<a class="nav-item nav-link" href="/post/75863"><i class="fas fa-square-share-nodes fa-fw mr-3"></i>Fediverse</a>
|
||||
<a class="nav-item nav-link" href="/discord"><i class="fas fa-discord fa-fw mr-3"></i>Discord</a>
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['PROCOINS'] %}
|
||||
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="{{GUMROAD_LINK}}"><i class="fas fa-dollar-sign fa-fw mr-3"></i>Donate</a>
|
||||
{% endif %}
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
<a href="#leaderboard-awards">Awards</a> •
|
||||
<a href="#leaderboard-downvotes">Downvotes</a> •
|
||||
<a href="#leaderboard-badges">Badges</a> •
|
||||
{%- if users12 %}<a href="#leaderboard-marseys">Marseys</a> • {% endif -%}
|
||||
{%- if users13 %}<a href="#leaderboard-upgiven">Upvotes Given</a> • {% endif -%}
|
||||
{% if users12 %}<a href="#leaderboard-marseys">Marseys</a> • {% endif %}
|
||||
{% if users13 %}<a href="#leaderboard-upgiven">Upvotes Given</a> • {% endif %}
|
||||
<a href="#leaderboard-winnings">Winnings</a> •
|
||||
<a href="#leaderboard-losses">Losses</a> •
|
||||
<a href="#leaderboard-blocked">Blocked</a> •
|
||||
|
|
|
@ -116,8 +116,8 @@
|
|||
|
||||
<div class="text-gray-500">
|
||||
<span class="log--item-age" id="{{ma.id}}-age" data-bs-toggle="tooltip" data-bs-placement="bottom" onmouseover="timestamp('{{ma.id}}-age','{{ma.created_utc}}')">{{ma.age_string}}</span>
|
||||
<a href="{{ma.permalink}}"><i class="far fa-link ml-1 text-muted"></i></a>
|
||||
<a role="button" class="copy-link" role="button" data-clipboard-text="{{ma.permalink}}"><i class="far fa-copy ml-1 text-muted"></i></a>
|
||||
<a href="{{ma.permalink}}"><i class="fas fa-link ml-1 text-muted"></i></a>
|
||||
<a role="button" class="copy-link" role="button" data-clipboard-text="{{ma.permalink}}"><i class="fas fa-copy ml-1 text-muted"></i></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -91,8 +91,8 @@
|
|||
|
||||
<div class="text-gray-500">
|
||||
<span class="log--item-age" id="{{ma.id}}-age" data-bs-toggle="tooltip" data-bs-placement="bottom" onmouseover="timestamp('{{ma.id}}-age','{{ma.created_utc}}')">{{ma.age_string}}</span>
|
||||
<a href="{{ma.permalink}}"><i class="far fa-link ml-1 text-muted"></i></a>
|
||||
<a role="button" class="copy-link" role="button" data-clipboard-text="{{ma.permalink}}"><i class="far fa-copy ml-1 text-muted"></i></a>
|
||||
<a href="{{ma.permalink}}"><i class="fas fa-link ml-1 text-muted"></i></a>
|
||||
<a role="button" class="copy-link" role="button" data-clipboard-text="{{ma.permalink}}"><i class="fas fa-copy ml-1 text-muted"></i></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
|
||||
{% if v and ((not p.ghost and v.admin_level >= PERMS['VOTES_VISIBLE']) or v.id == AEVANN_ID) %}<a class="btn-block" href="/votes/{{p.fullname}}"><button class="nobackground btn btn-link btn-block btn-lg text-left text-muted"><i class="fas fa-arrows-v text-center text-muted mr-2"></i>Votes</button></a>{% endif %}
|
||||
|
||||
<button data-bs-dismiss="modal" class="copy-link nobackground btn btn-link btn-block btn-lg text-left text-muted" data-clipboard-text="{% if SITE == 'rdrama.net' %}https://rdrama.org{{p.shortlink}}{% else %}{{p.permalink}}{% endif %}"><i class="far fa-copy text-center text-muted mr-2"></i>Copy link</button>
|
||||
<button data-bs-dismiss="modal" class="copy-link nobackground btn btn-link btn-block btn-lg text-left text-muted" data-clipboard-text="{% if SITE == 'rdrama.net' %}https://rdrama.org{{p.shortlink}}{% else %}{{p.permalink}}{% endif %}"><i class="fas fa-copy text-center text-muted mr-2"></i>Copy link</button>
|
||||
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-bs-toggle="modal" data-bs-dismiss="modal" data-bs-target="#reportPostModal" onclick="report_postModal('{{p.id}}')"><i class="far fa-flag text-center text-muted mr-2"></i>Report</button>
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-bs-toggle="modal" data-bs-dismiss="modal" data-bs-target="#reportPostModal" onclick="report_postModal('{{p.id}}')"><i class="fas fa-flag text-center text-muted mr-2"></i>Report</button>
|
||||
|
||||
{% if FEATURES['AWARDS'] -%}
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-bs-toggle="modal" data-bs-dismiss="modal" data-bs-target="#awardModal" data-url='/award/post/{{p.id}}'><i class="fas fa-gift text-center text-muted mr-2"></i>Give Award</button>
|
||||
|
@ -34,9 +34,9 @@
|
|||
{% endif %}
|
||||
|
||||
|
||||
<button id="undelete-{{p.id}}" class="{% if not p.deleted_utc %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-success" role="button" onclick="post_toast(this,'/undelete_post/{{p.id}}', 'delete-{{p.id}}', 'undelete-{{p.id}}','d-none');document.getElementById('post-{{p.id}}').classList.remove('deleted')" data-bs-dismiss="modal"><i class="far fa-trash-alt text-center mr-2"></i>Undelete</button>
|
||||
<button id="undelete-{{p.id}}" class="{% if not p.deleted_utc %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-success" role="button" onclick="post_toast(this,'/undelete_post/{{p.id}}', 'delete-{{p.id}}', 'undelete-{{p.id}}','d-none');document.getElementById('post-{{p.id}}').classList.remove('deleted')" data-bs-dismiss="modal"><i class="fas fa-trash-alt text-center mr-2"></i>Undelete</button>
|
||||
|
||||
<button id="delete-{{p.id}}" class="{% if p.deleted_utc %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-danger" data-bs-toggle="modal" data-bs-dismiss="modal" data-bs-target="#deletePostModal" onclick="delete_postModal('{{p.id}}')"><i class="far fa-trash-alt mr-2"></i>Delete</button>
|
||||
<button id="delete-{{p.id}}" class="{% if p.deleted_utc %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-danger" data-bs-toggle="modal" data-bs-dismiss="modal" data-bs-target="#deletePostModal" onclick="delete_postModal('{{p.id}}')"><i class="fas fa-trash-alt mr-2"></i>Delete</button>
|
||||
|
||||
|
||||
{% if FEATURES['COUNTRY_CLUB'] -%}
|
||||
|
@ -44,8 +44,8 @@
|
|||
<button id="unclub3-{{p.id}}" class="{% if not p.club %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-success text-left" role="button" onclick="post_toast(this,'/toggle_club/{{p.id}}','club3-{{p.id}}','unclub3-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="fas fa-eye mr-2"></i>Unmark club</button>
|
||||
{%- endif %}
|
||||
|
||||
<button id="mark3-{{p.id}}" class="{% if p.over_18 %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-danger" onclick="post_toast(this,'/toggle_post_nsfw/{{p.id}}','mark3-{{p.id}}','unmark3-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="far fa-eye-evil text-center mr-2"></i>Mark +18</button>
|
||||
<button id="unmark3-{{p.id}}" class="{% if not p.over_18 %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-success" onclick="post_toast(this,'/toggle_post_nsfw/{{p.id}}','mark3-{{p.id}}','unmark3-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="far fa-eye-evil text-center mr-2"></i>Unmark +18</button>
|
||||
<button id="mark3-{{p.id}}" class="{% if p.over_18 %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-danger" onclick="post_toast(this,'/toggle_post_nsfw/{{p.id}}','mark3-{{p.id}}','unmark3-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="fas fa-eye-evil text-center mr-2"></i>Mark +18</button>
|
||||
<button id="unmark3-{{p.id}}" class="{% if not p.over_18 %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-success" onclick="post_toast(this,'/toggle_post_nsfw/{{p.id}}','mark3-{{p.id}}','unmark3-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="fas fa-eye-evil text-center mr-2"></i>Unmark +18</button>
|
||||
{% else %}
|
||||
|
||||
{% if not p.ghost %}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<div class="modal-body">
|
||||
<ul class="list-group post-actions">
|
||||
{% if (request.path.startswith('/post/') or request.path.startswith('/h/')) and v.admin_level > 2 and p.id %}
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-bs-dismiss="modal" onclick="togglePostEdit('{{p.id}}')"><i class="far fa-edit text-center text-muted mr-2"></i>Edit</button>
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-bs-dismiss="modal" onclick="togglePostEdit('{{p.id}}')"><i class="fas fa-edit text-center text-muted mr-2"></i>Edit</button>
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['COUNTRY_CLUB'] -%}
|
||||
|
@ -31,19 +31,19 @@
|
|||
<button id="unpin2-{{p.id}}" class="{% if not p.stickied %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-primary" role="button" onclick="post_toast(this,'/unsticky/{{p.id}}','pin2-{{p.id}}','unpin2-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="fas fa-thumbtack fa-rotate--45 text-center text-primary mr-2"></i>Unpin</button>
|
||||
|
||||
{% if "/reported/" in request.path %}
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-danger text-left" role="button" onclick="post_toast(this,'/remove_post/{{p.id}}')" data-bs-dismiss="modal"><i class="far fa-ban text-center mr-2"></i>Remove</button>
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-success text-left" role="button" onclick="post_toast(this,'/approve_post/{{p.id}}')" data-bs-dismiss="modal"><i class="far fa-check text-center mr-2"></i>Approve</button>
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-danger text-left" role="button" onclick="post_toast(this,'/remove_post/{{p.id}}')" data-bs-dismiss="modal"><i class="fas fa-ban text-center mr-2"></i>Remove</button>
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-success text-left" role="button" onclick="post_toast(this,'/approve_post/{{p.id}}')" data-bs-dismiss="modal"><i class="fas fa-check text-center mr-2"></i>Approve</button>
|
||||
{% else %}
|
||||
<button id="remove2-{{p.id}}" class="{% if p.is_banned %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-danger text-left" role="button" onclick="post_toast(this,'/remove_post/{{p.id}}','remove2-{{p.id}}','approve2-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="far fa-ban text-center mr-2"></i>Remove</button>
|
||||
<button id="approve2-{{p.id}}" class="{% if not p.is_banned %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-success text-left" role="button" onclick="post_toast(this,'/approve_post/{{p.id}}','remove2-{{p.id}}','approve2-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="far fa-check text-center mr-2"></i>Approve</button>
|
||||
<button id="remove2-{{p.id}}" class="{% if p.is_banned %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-danger text-left" role="button" onclick="post_toast(this,'/remove_post/{{p.id}}','remove2-{{p.id}}','approve2-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="fas fa-ban text-center mr-2"></i>Remove</button>
|
||||
<button id="approve2-{{p.id}}" class="{% if not p.is_banned %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-success text-left" role="button" onclick="post_toast(this,'/approve_post/{{p.id}}','remove2-{{p.id}}','approve2-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="fas fa-check text-center mr-2"></i>Approve</button>
|
||||
{% endif %}
|
||||
|
||||
{% if p.oauth_app %}
|
||||
<a href="{{p.oauth_app.permalink}}"><button class="nobackground btn btn-link btn-block btn-lg text-muted text-left"><i class="far fa-code text-center text-info mr-2"></i>API App</button></a>
|
||||
<a href="{{p.oauth_app.permalink}}"><button class="nobackground btn btn-link btn-block btn-lg text-muted text-left"><i class="fas fa-code text-center text-info mr-2"></i>API App</button></a>
|
||||
{% endif %}
|
||||
|
||||
<button id="mark2-{{p.id}}" class="{% if p.over_18 %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-danger" onclick="post_toast(this,'/toggle_post_nsfw/{{p.id}}','mark2-{{p.id}}','unmark2-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="far fa-eye-evil text-center text-danger mr-2"></i>Mark +18</button>
|
||||
<button id="unmark2-{{p.id}}" class="{% if not p.over_18 %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-danger" onclick="post_toast(this,'/toggle_post_nsfw/{{p.id}}','mark2-{{p.id}}','unmark2-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="far fa-eye-evil text-center text-danger mr-2"></i>Unmark +18</button>
|
||||
<button id="mark2-{{p.id}}" class="{% if p.over_18 %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-danger" onclick="post_toast(this,'/toggle_post_nsfw/{{p.id}}','mark2-{{p.id}}','unmark2-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="fas fa-eye-evil text-center text-danger mr-2"></i>Mark +18</button>
|
||||
<button id="unmark2-{{p.id}}" class="{% if not p.over_18 %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-danger" onclick="post_toast(this,'/toggle_post_nsfw/{{p.id}}','mark2-{{p.id}}','unmark2-{{p.id}}','d-none')" data-bs-dismiss="modal"><i class="fas fa-eye-evil text-center text-danger mr-2"></i>Unmark +18</button>
|
||||
|
||||
{% if v.id != p.author_id %}
|
||||
<button id="ban2-{{p.id}}" data-bs-dismiss="modal" data-bs-toggle="modal" data-bs-target="#banModal" onclick="banModal('/post/{{p.id}}', '{{p.author.id}}', '{{p.author_name}}')" class="{% if p.author.is_suspended %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-danger text-left" role="button"><i class="fas fa-user-minus mr-2"></i>Ban user</button>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="modal-header">
|
||||
<h5 class="modal-title">Report post</h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div id="reportPostFormBefore">
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
{{error}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -87,7 +87,7 @@
|
|||
{{msg}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -173,7 +173,7 @@
|
|||
<div class="modal-header">
|
||||
<h5 class="modal-title">{% if mfa_secret %}Setup two-step login{% elif mfa_secret and not v.email %}Email required for two-step login{% else %}Disable two-step login{% endif %}</h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% if mfa_secret %}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{{error}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -89,7 +89,7 @@
|
|||
<div class="modal-header">
|
||||
<h5 class="modal-title">Block users</h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
|
|
@ -295,7 +295,7 @@
|
|||
|
||||
<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 %}">
|
||||
<span class="input-group-text text-primary border-0">
|
||||
<i class="far fa-user mr-1" aria-hidden="true"></i>{{v.referral_count}}</span>
|
||||
<i class="fas fa-user mr-1" aria-hidden="true"></i>{{v.referral_count}}</span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -226,7 +226,7 @@
|
|||
<div class="modal-header">
|
||||
<h5 class="modal-title">Delete your {{SITE_NAME}} account</h5>
|
||||
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="" id="deleteFormContainer">
|
||||
|
|
|
@ -13,8 +13,16 @@
|
|||
{% block pagetype %}message{% endblock %}
|
||||
|
||||
{% block Banner %}
|
||||
<style>
|
||||
@media (max-width: 768px) {
|
||||
#shop-banner {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<header class="container pb-1 text-center">
|
||||
<img alt="shop banner" src="/i/shop.webp" width="50%">
|
||||
<img id="shop-banner" alt="shop banner" src="/i/shop.webp">
|
||||
<h3 class="mt-4">{{SHOP_FLAVOR}} Earn coins.</h5>
|
||||
<h5 class="mt-4">Total sales: {{sales}} coins</h5>
|
||||
<h5 class="mt-4">Coins spent by you: {{v.coins_spent}} coins</h5>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{{error}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -23,7 +23,7 @@
|
|||
{{msg}}
|
||||
</span>
|
||||
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
<span aria-hidden="true"><i class="fas fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -580,7 +580,7 @@
|
|||
<div class="modal-body">
|
||||
<ul class="list-group post-actions">
|
||||
{% if v.id==p.author_id %}
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-bs-dismiss="modal" onclick="togglePostEdit('{{p.id}}')"><i class="far fa-edit text-center text-muted mr-2"></i>Edit</button>
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-bs-dismiss="modal" onclick="togglePostEdit('{{p.id}}')"><i class="fas fa-edit text-center text-muted mr-2"></i>Edit</button>
|
||||
{% elif p.body %}
|
||||
<button class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-bs-dismiss="modal" onclick="expandMarkdown('{{p.id}}','p')"><i class="fas text-expand-icon-{{p.id}} fa-expand-alt text-center mr-2"></i><span class="expand-text-p-{{p.id}}">View source</span></button>
|
||||
{% endif %}
|
||||
|
@ -699,7 +699,7 @@
|
|||
</div>
|
||||
{% if p.active_flags(v) %}
|
||||
<div id="flaggers" class="flaggers d-none">
|
||||
<strong><i class="far fa-fw fa-flag"></i> Reported by:</strong>
|
||||
<strong><i class="fas fa-fw fa-flag"></i> Reported by:</strong>
|
||||
<pre></pre>
|
||||
<ul style="padding-left:20px; margin-bottom: 0;word-wrap:break-word">
|
||||
{% for f in p.filtered_flags(v) %}
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
{% if p.active_flags(v) %}
|
||||
<div id="flaggers-{{p.id}}" class="flaggers d-none">
|
||||
<strong><i class="far fa-fw fa-flag"></i> Reported by:</strong>
|
||||
<strong><i class="fas fa-fw fa-flag"></i> Reported by:</strong>
|
||||
<pre></pre>
|
||||
<ul style="padding-left:20px; margin-bottom: 0;word-wrap:break-word">
|
||||
{% for f in p.filtered_flags(v) %}
|
||||
|
@ -194,7 +194,7 @@
|
|||
</div>
|
||||
|
||||
<h5 class="card-title post-title text-left w-lg-95 mb-0 pb-0 pb-md-1">
|
||||
<a id="{{p.id}}-title" {% if v and v.newtab and not g.webview %}target="_blank"{% endif %} href="{{p.permalink}}" class="{% if p.sub %}sub{% endif %} stretched-link {% if p.author.agendaposter and p.sub != 'chudrama' %}agendaposter{% endif %} {% if p.author.rainbow %}rainbow-text{% endif %}">
|
||||
<a id="{{p.id}}-title" {% if v and v.newtab and not g.webview %}target="_blank"{% endif %} href="{{p.permalink}}" class="{% if p.sub %}sub{% endif %} stretched-link {% if p.author.agendaposter and p.sub != 'chudrama' %}agendaposter{% endif %}">
|
||||
{% if p.club %}<span class="patron font-weight-bolder mr-1" style="background-color:red; font-size:12px; line-height:2;">{{CC}}</span>{% endif %}
|
||||
{% if p.category %}{{help.submission_category_tag(p.category.name, p.category.color_text, p.category.color_bg)}}{% endif %}
|
||||
{% if p.flair %}<span class="patron font-weight-bolder mr-1" style="background-color:var(--primary); font-size:12px; line-height:2;">{{p.flair | safe}}</span>{% endif %}
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
<div class="dropdown show d-none">
|
||||
<a role="button" data-bs-toggle="dropdown"
|
||||
aria-haspopup="true" aria-expanded="false">
|
||||
<i class="far fa-ellipsis-h text-lg align-middle text-gray-600"></i>
|
||||
<i class="fas fa-ellipsis-h text-lg align-middle text-gray-600"></i>
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -99,7 +99,7 @@
|
|||
<div class="dropdown show d-none">
|
||||
<a role="button" id="dropdownProfileActionsLink" data-bs-toggle="dropdown"
|
||||
aria-haspopup="true" aria-expanded="false">
|
||||
<i class="far fa-ellipsis-h text-lg align-middle text-gray-600"></i>
|
||||
<i class="fas 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">
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{%-
|
||||
set CACHE_VER = {
|
||||
'css/main.css': 4015,
|
||||
'css/catalog.css': 4002,
|
||||
'css/4chan.css': 4002,
|
||||
'css/classic.css': 4002,
|
||||
'css/classic_dark.css': 4002,
|
||||
'css/coffee.css': 4002,
|
||||
'css/dark.css': 4002,
|
||||
'css/dramblr.css': 4002,
|
||||
'css/light.css': 4002,
|
||||
'css/midnight.css': 4002,
|
||||
'css/reddit.css': 4002,
|
||||
'css/transparent.css': 4002,
|
||||
'css/tron.css': 4002,
|
||||
'css/win98.css': 4002,
|
||||
'css/main.css': 4017,
|
||||
'css/catalog.css': 4003,
|
||||
'css/4chan.css': 4003,
|
||||
'css/classic.css': 4003,
|
||||
'css/classic_dark.css': 4003,
|
||||
'css/coffee.css': 4003,
|
||||
'css/dark.css': 4003,
|
||||
'css/dramblr.css': 4003,
|
||||
'css/light.css': 4003,
|
||||
'css/midnight.css': 4003,
|
||||
'css/reddit.css': 4003,
|
||||
'css/transparent.css': 4003,
|
||||
'css/tron.css': 4003,
|
||||
'css/win98.css': 4003,
|
||||
|
||||
'js/award_modal.js': 4000,
|
||||
'js/bootstrap.js': 4000,
|
||||
|
|
Loading…
Reference in New Issue