This commit is contained in:
Aevann1 2022-01-13 03:28:02 +02:00
parent 1df656629f
commit c076e7abac
7 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Before After
Before After

View file

@ -55,7 +55,7 @@ class Badge(Base):
@property @property
@lazy @lazy
def path(self): def path(self):
return f"/static/assets/images/badges/{self.name.replace(' ','%20')}.webp" return f"/static/assets/images/badges/{self.name.replace(' ','%20')}.webp?a=4"
@property @property
@lazy @lazy

View file

@ -60,7 +60,7 @@
<label class="custom-control-label" for="{{k}}"></label> <label class="custom-control-label" for="{{k}}"></label>
</div> </div>
</td> </td>
<td><label for="badge-{{k}}"><img alt="{{v['name']}}" loading="lazy" src="/static/assets/images/badges/{{v['name']}}.webp?a=3" width="70px" height="70px"></label></td> <td><label for="badge-{{k}}"><img alt="{{v['name']}}" loading="lazy" src="/static/assets/images/badges/{{v['name']}}.webp?a=4" width="70px" height="70px"></label></td>
<td>{{v['name']}}</td> <td>{{v['name']}}</td>
<td>{{v['description']}}</td> <td>{{v['description']}}</td>
</tr> </tr>

View file

@ -60,7 +60,7 @@
<label class="custom-control-label" for="{{k}}"></label> <label class="custom-control-label" for="{{k}}"></label>
</div> </div>
</td> </td>
<td><label for="badge-{{k}}"><img alt="{{v['name']}}" loading="lazy" src="/static/assets/images/badges/{{v['name']}}.webp?a=3" width="70px" height="70px"></label></td> <td><label for="badge-{{k}}"><img alt="{{v['name']}}" loading="lazy" src="/static/assets/images/badges/{{v['name']}}.webp?a=4" width="70px" height="70px"></label></td>
<td>{{v['name']}}</td> <td>{{v['name']}}</td>
<td>{{v['description']}}</td> <td>{{v['description']}}</td>
</tr> </tr>

View file

@ -21,7 +21,7 @@
{% for k,v in badges.items() %} {% for k,v in badges.items() %}
<tr> <tr>
<td>{{v['name']}}</td> <td>{{v['name']}}</td>
<td><img alt="{{v['name']}}" loading="lazy" src="/static/assets/images/badges/{{v['name']}}.webp?a=3" width=50 height=50> <td><img alt="{{v['name']}}" loading="lazy" src="/static/assets/images/badges/{{v['name']}}.webp?a=4" width=50 height=50>
<td>{{v['description']}}</td> <td>{{v['description']}}</td>
</tr> </tr>
{% endfor %} {% endfor %}

View file

@ -14,7 +14,7 @@
<td style="font-weight:bold;">{{loop.index}}</td> <td style="font-weight:bold;">{{loop.index}}</td>
<td><a style="color:#{{u.namecolor}}; font-weight:bold;" href="/@{{u.username}}"><img alt="@{{u.username}}'s profile picture" loading="lazy" src="{{u.profile_url}}" class="pp20"><span {% if u.patron %}class="patron" style="background-color:#{{u.namecolor}}"{% endif %}>{{u.username}}</span></a></td> <td><a style="color:#{{u.namecolor}}; font-weight:bold;" href="/@{{u.username}}"><img alt="@{{u.username}}'s profile picture" loading="lazy" src="{{u.profile_url}}" class="pp20"><span {% if u.patron %}class="patron" style="background-color:#{{u.namecolor}}"{% endif %}>{{u.username}}</span></a></td>
<td><img alt="Patron-{{u.patron}}" loading="lazy" width=32 height=32 src="/static/assets/images/badges/Patron-{{u.patron}}.webp?a=3"></td> <td><img alt="Patron-{{u.patron}}" loading="lazy" width=32 height=32 src="/static/assets/images/badges/Patron-{{u.patron}}.webp?a=4"></td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>