This commit is contained in:
Aevann1 2022-02-12 23:02:34 +02:00
parent 471a2f3b11
commit 52aef86c0c
4 changed files with 4 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Before After
Before After

View file

@ -361,8 +361,6 @@ class Comment(Base):
amount = randint(0, 3)
self.upvotes += amount
g.db.add(self)
self.author.coins += amount
g.db.add(self.author)
g.db.commit()
for c in self.options:

View file

@ -380,8 +380,6 @@ class Submission(Base):
self.views += amount*random.randint(3, 5)
self.upvotes += amount
g.db.add(self)
self.author.coins += amount
g.db.add(self.author)
g.db.commit()
for c in self.options:

View file

@ -228,25 +228,25 @@
}
</style>
<marquee class="train train1" direction="left" scrollamount=10 width="100%">
<img alt=":#marseyscooter:" class="scooterimg mirrored" src="/static/assets/images/emojis/marseyscooter.webp?a=1008">
<img alt=":#marseyscooter:" class="scooterimg" src="/static/assets/images/emojis/marseyscooter.webp?a=1008">
</marquee>
{% endif %}
{% if p.award_count("scooter") > 1 %}
<marquee class="train train2" direction="right" scrollamount=10 width="100%">
<img alt=":#marseyscooter:" class="scooterimg" src="/static/assets/images/emojis/marseyscooter.webp?a=1008">
<img alt=":#marseyscooter:" class="scooterimg mirrored" src="/static/assets/images/emojis/marseyscooter.webp?a=1008">
</marquee>
{% endif %}
{% if p.award_count("scooter") > 2 %}
<marquee class="train train3" direction="left" scrollamount=10 width="100%">
<img alt=":#marseyscooter:" class="scooterimg mirrored" src="/static/assets/images/emojis/marseyscooter.webp?a=1008">
<img alt=":#marseyscooter:" class="scooterimg" src="/static/assets/images/emojis/marseyscooter.webp?a=1008">
</marquee>
{% endif %}
{% if p.award_count("scooter") > 3 %}
<marquee class="train train4" direction="right" scrollamount=10 width="100%">
<img alt=":#marseyscooter:" class="scooterimg" src="/static/assets/images/emojis/marseyscooter.webp?a=1008">
<img alt=":#marseyscooter:" class="scooterimg mirrored" src="/static/assets/images/emojis/marseyscooter.webp?a=1008">
</marquee>
{% endif %}