This commit is contained in:
Aevann1 2021-12-30 17:03:28 +02:00
parent bf4994cbb7
commit a775478fad
6 changed files with 4 additions and 6 deletions

View file

@ -97,7 +97,8 @@ a:not([href]) {
color: inherit;
text-decoration: none;
}
a:not([href]):hover {
a:not([href]):not([role="button"])
{
color: inherit;
text-decoration: none;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

View file

@ -1072,6 +1072,7 @@ def unsticky_comment(cid, v):
if comment.is_pinned.endswith("(pin award)"): return {"error": "Can't unpin award pins!"}, 403
comment.is_pinned = None
g.db.add(comment)
ma=ModAction(

View file

@ -261,10 +261,6 @@ def api_comment(v):
v.ban(reason="Spamming.",
days=1)
for alt in v.alts:
if not alt.is_suspended:
alt.ban(reason="Spamming.", days=1)
for comment in similar_comments:
comment.is_banned = True
comment.ban_reason = "AutoJanny"

View file

@ -278,7 +278,7 @@
{% block sidebar %}
<div class="col sidebar text-left d-none d-lg-block pt-3 bg-white" style="max-width:300px">
<div class="sidebar-section">
<img src="/static/assets/images/{{'SITE_NAME' | app_config}}/banners/{{range(1,96)|random()}}.webp?a=1" width=100%>
<img src="/static/assets/images/{{'SITE_NAME' | app_config}}/banners/{{range(1,95)|random()}}.webp?a=2" width=100%>
<a class="btn btn-primary btn-block mt-4" href="/submit">SUBMIT DRAMA!</a>
{% set template = "sidebar_" + environ.get("SITE_NAME") + ".html" %}
{% include template %}