forked from MarseyWorld/MarseyWorld
restore transparency for namelock badge
parent
91987cd080
commit
0c2e0f0b67
Binary file not shown.
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 118 KiB |
|
@ -27,7 +27,7 @@ document.addEventListener('shown.bs.popover', (e) => {
|
|||
badgesDOM.innerHTML = "";
|
||||
for (const badge of author["badges"]) {
|
||||
const badgeDOM = popClickBadgeTemplateDOM.cloneNode();
|
||||
badgeDOM.src = badge + "?b=9";
|
||||
badgeDOM.src = badge + "?b=10";
|
||||
|
||||
badgesDOM.append(badgeDOM);
|
||||
}
|
||||
|
|
|
@ -27,9 +27,9 @@ class BadgeDef(Base):
|
|||
@lazy
|
||||
def path(self):
|
||||
if self.id == 7 or 20 < self.id < 29 or self.id == 222:
|
||||
return f"{SITE_FULL_IMAGES}/i/{SITE_NAME}/badges/{self.id}.webp?b=9"
|
||||
return f"{SITE_FULL_IMAGES}/i/{SITE_NAME}/badges/{self.id}.webp?b=10"
|
||||
|
||||
return f"{SITE_FULL_IMAGES}/i/badges/{self.id}.webp?b=9"
|
||||
return f"{SITE_FULL_IMAGES}/i/badges/{self.id}.webp?b=10"
|
||||
|
||||
class Badge(Base):
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<td>{% include "user_in_table.html" %}</td>
|
||||
<td data-sort-key="{{user.patrons}}">
|
||||
{% if user.patron > 1 %}
|
||||
<img class="contain" alt="2{{user.patron}}" loading="lazy" width=29.33 height=32 src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{user.patron}}.webp?b=9" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.patron_tooltip}}">
|
||||
<img class="contain" alt="2{{user.patron}}" loading="lazy" width=29.33 height=32 src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{user.patron}}.webp?b=10" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.patron_tooltip}}">
|
||||
{% endif %}
|
||||
</td>
|
||||
<td data-sort-key="{{user.lifetime_donated}}">${{user.lifetime_donated}}</td>
|
||||
|
|
|
@ -159,7 +159,7 @@
|
|||
<span {% if c.distinguish_level %}class="mod {% if SITE_NAME == 'rDrama' %}mod-rdrama{% endif %}"{% endif %}>👻</span>
|
||||
{% else %}
|
||||
{% if FEATURES['PATRON_ICONS'] and c.author.patron > 1 %}
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{c.author.patron}}.webp?b=9" class="patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{c.author.patron_tooltip}}" alt="{{c.author.patron_tooltip}}">
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{c.author.patron}}.webp?b=10" class="patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{c.author.patron_tooltip}}" alt="{{c.author.patron_tooltip}}">
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['HOUSES'] and c.author.house %}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if FEATURES['PATRON_ICONS'] and u.patron > 1 %}
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{u.patron}}.webp?b=9" class="ml-3 patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.patron_tooltip}}" alt="{{u.patron_tooltip}}">
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{u.patron}}.webp?b=10" class="ml-3 patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.patron_tooltip}}" alt="{{u.patron_tooltip}}">
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['HOUSES'] and u.house %}
|
||||
|
@ -302,7 +302,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if FEATURES['PATRON_ICONS'] and u.patron > 1 %}
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{u.patron}}.webp?b=9" class="ml-2 patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.patron_tooltip}}" alt="{{u.patron_tooltip}}">
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{u.patron}}.webp?b=10" class="ml-2 patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.patron_tooltip}}" alt="{{u.patron_tooltip}}">
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['HOUSES'] and u.house %}
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
<span {% if p.distinguish_level %}class="mod {% if SITE_NAME == 'rDrama' %}mod-rdrama{% endif %}"{% endif %}>👻</span>
|
||||
{% else %}
|
||||
{% if FEATURES['PATRON_ICONS'] and p.author.patron > 1 %}
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{p.author.patron}}.webp?b=9" class="patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.patron_tooltip}}" alt="{{p.author.patron_tooltip}}">
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{p.author.patron}}.webp?b=10" class="patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.patron_tooltip}}" alt="{{p.author.patron_tooltip}}">
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['HOUSES'] and p.author.house %}
|
||||
|
|
Loading…
Reference in New Issue