update glowing hat
parent
5e0e58793d
commit
b2d134fa6c
Binary file not shown.
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 11 KiB |
|
@ -81,7 +81,7 @@ socket.on('speak', function(json) {
|
||||||
document.getElementsByClassName('avatar')[0].classList.remove('d-none')
|
document.getElementsByClassName('avatar')[0].classList.remove('d-none')
|
||||||
document.getElementsByClassName('avatar-pic')[0].src = json['avatar']
|
document.getElementsByClassName('avatar-pic')[0].src = json['avatar']
|
||||||
if (json['hat'])
|
if (json['hat'])
|
||||||
document.getElementsByClassName('avatar-hat')[0].src = json['hat'] + "?v=3"
|
document.getElementsByClassName('avatar-hat')[0].src = json['hat'] + "?h=4"
|
||||||
else
|
else
|
||||||
document.getElementsByClassName('avatar-hat')[0].removeAttribute("src")
|
document.getElementsByClassName('avatar-hat')[0].removeAttribute("src")
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ function popclick(e) {
|
||||||
|
|
||||||
popover.getElementsByClassName('pop-banner')[0].src = author["bannerurl"]
|
popover.getElementsByClassName('pop-banner')[0].src = author["bannerurl"]
|
||||||
popover.getElementsByClassName('pop-picture')[0].src = author["profile_url"]
|
popover.getElementsByClassName('pop-picture')[0].src = author["profile_url"]
|
||||||
if (author["hat"]) popover.getElementsByClassName('pop-hat')[0].src = author['hat'] + "?v=3"
|
if (author["hat"]) popover.getElementsByClassName('pop-hat')[0].src = author['hat'] + "?h=4"
|
||||||
popover.getElementsByClassName('pop-username')[0].innerHTML = author["username"]
|
popover.getElementsByClassName('pop-username')[0].innerHTML = author["username"]
|
||||||
if (popover.getElementsByClassName('pop-bio').length > 0) {
|
if (popover.getElementsByClassName('pop-bio').length > 0) {
|
||||||
popover.getElementsByClassName('pop-bio')[0].innerHTML = author["bio_html"]
|
popover.getElementsByClassName('pop-bio')[0].innerHTML = author["bio_html"]
|
||||||
|
|
|
@ -169,7 +169,7 @@
|
||||||
<div class="profile-pic-20-wrapper">
|
<div class="profile-pic-20-wrapper">
|
||||||
<img src="{{m['avatar']}}" class="pp20 mr-1">
|
<img src="{{m['avatar']}}" class="pp20 mr-1">
|
||||||
{% if m.get('hat') -%}
|
{% if m.get('hat') -%}
|
||||||
<img class="profile-pic-20-hat hat" loading="lazy" src="{{m['hat']}}?v=3">
|
<img class="profile-pic-20-hat hat" loading="lazy" src="{{m['hat']}}?h=4">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -222,6 +222,6 @@
|
||||||
|
|
||||||
<script src="{{asset('js/lozad.js')}}"></script>
|
<script src="{{asset('js/lozad.js')}}"></script>
|
||||||
<script src="/assets/js/lite-youtube.js?v=4000"></script>
|
<script src="/assets/js/lite-youtube.js?v=4000"></script>
|
||||||
<script src="/chat.js?v=4006"></script>
|
<script src="/chat.js?h=4"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
|
@ -171,7 +171,7 @@
|
||||||
<div class="profile-pic-30-wrapper">
|
<div class="profile-pic-30-wrapper">
|
||||||
<img loading="lazy" src="{{c.author.profile_url}}" class="profile-pic-30 mr-2">
|
<img loading="lazy" src="{{c.author.profile_url}}" class="profile-pic-30 mr-2">
|
||||||
{% if c.author.hat_active -%}
|
{% if c.author.hat_active -%}
|
||||||
<img class="profile-pic-30-hat hat" loading="lazy" src="{{c.author.hat_active}}?v=3" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{c.author.hat_tooltip(v)}}">
|
<img class="profile-pic-30-hat hat" loading="lazy" src="{{c.author.hat_active}}?h=4" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{c.author.hat_tooltip(v)}}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
<span {% if c.author.patron and not c.distinguish_level %}class="patron" style="background-color:#{{c.author.name_color}};"{% elif c.distinguish_level %}class="mod"{% endif %}>{{c.author_name}}</span>
|
<span {% if c.author.patron and not c.distinguish_level %}class="patron" style="background-color:#{{c.author.name_color}};"{% elif c.distinguish_level %}class="mod"{% endif %}>{{c.author_name}}</span>
|
||||||
|
@ -839,7 +839,7 @@
|
||||||
|
|
||||||
{% include "expanded_image_modal.html" %}
|
{% include "expanded_image_modal.html" %}
|
||||||
|
|
||||||
<script src="{{asset('js/comments+submission_listing.js')}}"></script>
|
<script src="/assets/js/comments+submission_listing.js?h=4"></script>
|
||||||
<script src="/assets/js/comments.js?v=4000"></script>
|
<script src="/assets/js/comments.js?v=4000"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
const profile_pic_hat = document.getElementById("profile-pic-35-hat");
|
const profile_pic_hat = document.getElementById("profile-pic-35-hat");
|
||||||
function extra_actions(xhr) {
|
function extra_actions(xhr) {
|
||||||
if(xhr.status == 200) {
|
if(xhr.status == 200) {
|
||||||
profile_pic_hat.src = `/i/hats/${hat_name}.webp?v=3`
|
profile_pic_hat.src = `/i/hats/${hat_name}.webp?h=4`
|
||||||
profile_pic_hat.classList.remove('d-none')
|
profile_pic_hat.classList.remove('d-none')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
<td>
|
<td>
|
||||||
<div class="profile-pic-75-wrapper mt-4">
|
<div class="profile-pic-75-wrapper mt-4">
|
||||||
<img loading="lazy" alt="avatar" src="{{v.profile_url}}" class="profile-pic-75">
|
<img loading="lazy" alt="avatar" src="{{v.profile_url}}" class="profile-pic-75">
|
||||||
<img loading="lazy" alt="{{hat.name}}" class="profile-pic-75-hat" src="/i/hats/{{hat.name}}.webp?v=3">
|
<img loading="lazy" alt="{{hat.name}}" class="profile-pic-75-hat" src="/i/hats/{{hat.name}}.webp?h=4">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>{{hat.name}}</td>
|
<td>{{hat.name}}</td>
|
||||||
|
|
|
@ -207,7 +207,7 @@
|
||||||
<div class="profile-pic-35-wrapper">
|
<div class="profile-pic-35-wrapper">
|
||||||
<img loading="lazy" src="{{v.profile_url}}" class="profile-pic-35">
|
<img loading="lazy" src="{{v.profile_url}}" class="profile-pic-35">
|
||||||
{% if v.hat_active -%}
|
{% if v.hat_active -%}
|
||||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{v.hat_active}}?v=3" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{v.hat_tooltip(v)}}">
|
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{v.hat_active}}?h=4" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{v.hat_tooltip(v)}}">
|
||||||
{% elif request.path == '/hats' %}
|
{% elif request.path == '/hats' %}
|
||||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat d-none" loading="lazy" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{v.hat_tooltip(v)}}">
|
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat d-none" loading="lazy" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{v.hat_tooltip(v)}}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
<div class="profile-pic-35-wrapper">
|
<div class="profile-pic-35-wrapper">
|
||||||
<img loading="lazy" src="{{ma.user.profile_url}}" alt="avatar" class="profile-pic-35">
|
<img loading="lazy" src="{{ma.user.profile_url}}" alt="avatar" class="profile-pic-35">
|
||||||
{% if ma.user.hat_active -%}
|
{% if ma.user.hat_active -%}
|
||||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{ma.user.hat_active}}?v=3" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{ma.user.hat_tooltip(v)}}">
|
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{ma.user.hat_active}}?h=4" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{ma.user.hat_tooltip(v)}}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
<div class="profile-pic-35-wrapper">
|
<div class="profile-pic-35-wrapper">
|
||||||
<img loading="lazy" src="{{ma.user.profile_url}}" alt="avatar" class="profile-pic-35">
|
<img loading="lazy" src="{{ma.user.profile_url}}" alt="avatar" class="profile-pic-35">
|
||||||
{% if ma.user.hat_active -%}
|
{% if ma.user.hat_active -%}
|
||||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{ma.user.hat_active}}?v=3" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{ma.user.hat_tooltip(v)}}">
|
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{ma.user.hat_active}}?h=4" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{ma.user.hat_tooltip(v)}}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -677,7 +677,7 @@
|
||||||
<div class="profile-pic-30-wrapper">
|
<div class="profile-pic-30-wrapper">
|
||||||
<img loading="lazy" src="{{p.author.profile_url}}" class="profile-pic-30 mr-2">
|
<img loading="lazy" src="{{p.author.profile_url}}" class="profile-pic-30 mr-2">
|
||||||
{% if p.author.hat_active -%}
|
{% if p.author.hat_active -%}
|
||||||
<img class="profile-pic-30-hat hat" loading="lazy" src="{{p.author.hat_active}}?v=3" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.hat_tooltip(v)}}">
|
<img class="profile-pic-30-hat hat" loading="lazy" src="{{p.author.hat_active}}?h=4" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.hat_tooltip(v)}}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
<span {% if p.author.patron and not p.distinguish_level %}class="patron" style="background-color:#{{p.author.name_color}};"{% elif p.distinguish_level %}class="mod"{% endif %}>{{p.author_name}}</span>
|
<span {% if p.author.patron and not p.distinguish_level %}class="patron" style="background-color:#{{p.author.name_color}};"{% elif p.distinguish_level %}class="mod"{% endif %}>{{p.author_name}}</span>
|
||||||
|
|
|
@ -172,7 +172,7 @@
|
||||||
<div class="profile-pic-30-wrapper">
|
<div class="profile-pic-30-wrapper">
|
||||||
<img loading="lazy" src="{{p.author.profile_url}}" class="profile-pic-30 mr-2">
|
<img loading="lazy" src="{{p.author.profile_url}}" class="profile-pic-30 mr-2">
|
||||||
{% if p.author.hat_active -%}
|
{% if p.author.hat_active -%}
|
||||||
<img class="profile-pic-30-hat hat" loading="lazy" src="{{p.author.hat_active}}?v=3" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.hat_tooltip(v)}}">
|
<img class="profile-pic-30-hat hat" loading="lazy" src="{{p.author.hat_active}}?h=4" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.hat_tooltip(v)}}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
<span {% if p.author.patron and not p.distinguish_level %}class="patron" style="background-color:#{{p.author.name_color}};"{% elif p.distinguish_level %}class="mod"{% endif %}>{{p.author_name}}</span>
|
<span {% if p.author.patron and not p.distinguish_level %}class="patron" style="background-color:#{{p.author.name_color}};"{% elif p.distinguish_level %}class="mod"{% endif %}>{{p.author_name}}</span>
|
||||||
|
@ -428,5 +428,5 @@
|
||||||
{% include "expanded_image_modal.html" %}
|
{% include "expanded_image_modal.html" %}
|
||||||
|
|
||||||
<script src="/assets/js/clipboard.js?v=4000"></script>
|
<script src="/assets/js/clipboard.js?v=4000"></script>
|
||||||
<script src="{{asset('js/comments+submission_listing.js')}}"></script>
|
<script src="/assets/js/comments+submission_listing.js?h=4"></script>
|
||||||
<script src="{{asset('js/submission_listing.js')}}"></script>
|
<script src="{{asset('js/submission_listing.js')}}"></script>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="profile-pic-20-wrapper mb-2">
|
<div class="profile-pic-20-wrapper mb-2">
|
||||||
<img loading="lazy" src="{{user.profile_url}}" class="pp20">
|
<img loading="lazy" src="{{user.profile_url}}" class="pp20">
|
||||||
{% if user.hat_active -%}
|
{% if user.hat_active -%}
|
||||||
<img class="profile-pic-20-hat hat" loading="lazy" src="{{user.hat_active}}?v=3" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.hat_tooltip(v)}}">
|
<img class="profile-pic-20-hat hat" loading="lazy" src="{{user.hat_active}}?h=4" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.hat_tooltip(v)}}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
<span {% if user.patron %}class="patron" style="background-color:#{{user.name_color}}"{% endif %}>{{user.username}}</span>
|
<span {% if user.patron %}class="patron" style="background-color:#{{user.name_color}}"{% endif %}>{{user.username}}</span>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<div class="profile-pic-50-wrapper" style="position: absolute; left: 15px; bottom: 15px; box-sizing: content-box;">
|
<div class="profile-pic-50-wrapper" style="position: absolute; left: 15px; bottom: 15px; box-sizing: content-box;">
|
||||||
<img loading="lazy" src="{{u.profile_url}}" class="profile-pic-50">
|
<img loading="lazy" src="{{u.profile_url}}" class="profile-pic-50">
|
||||||
{% if u.hat_active -%}
|
{% if u.hat_active -%}
|
||||||
<img id="profile-pic-50-hat" class="profile-pic-50-hat hat" loading="lazy" src="{{u.hat_active}}?v=3" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_tooltip(v)}}">
|
<img id="profile-pic-50-hat" class="profile-pic-50-hat hat" loading="lazy" src="{{u.hat_active}}?h=4" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_tooltip(v)}}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
<a rel="nofollow noopener noreferrer" href="{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}" class="profile-pic-100-wrapper">
|
<a rel="nofollow noopener noreferrer" href="{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}" class="profile-pic-100-wrapper">
|
||||||
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" loading="lazy" src="{{u.profile_url}}" class="profile-pic profile-pic-100 mb-5">
|
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" loading="lazy" src="{{u.profile_url}}" class="profile-pic profile-pic-100 mb-5">
|
||||||
{% if u.hat_active -%}
|
{% if u.hat_active -%}
|
||||||
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" class="profile-pic-100-hat hat" loading="lazy" src="{{u.hat_active}}?v=3" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_tooltip(v)}}">
|
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" class="profile-pic-100-hat hat" loading="lazy" src="{{u.hat_active}}?h=4" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_tooltip(v)}}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -407,7 +407,7 @@
|
||||||
<a rel="nofollow noopener noreferrer" href="{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}" class="profile-pic-65-wrapper">
|
<a rel="nofollow noopener noreferrer" href="{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}" class="profile-pic-65-wrapper">
|
||||||
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" loading="lazy" src="{{u.profile_url}}" class="profile-pic-65 bg-white mb-2">
|
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" loading="lazy" src="{{u.profile_url}}" class="profile-pic-65 bg-white mb-2">
|
||||||
{% if u.hat_active -%}
|
{% if u.hat_active -%}
|
||||||
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" class="profile-pic-65-hat hat" loading="lazy" src="{{u.hat_active}}?v=3" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_tooltip(v)}}">
|
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" class="profile-pic-65-hat hat" loading="lazy" src="{{u.hat_active}}?h=4" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_tooltip(v)}}">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,7 +18,6 @@ set CACHE_VER = {
|
||||||
'js/award_modal.js': 4000,
|
'js/award_modal.js': 4000,
|
||||||
'js/bootstrap.js': 4000,
|
'js/bootstrap.js': 4000,
|
||||||
'js/category_modal.js': 4000,
|
'js/category_modal.js': 4000,
|
||||||
'js/comments+submission_listing.js': 4007,
|
|
||||||
'js/comments_admin.js': 4000,
|
'js/comments_admin.js': 4000,
|
||||||
'js/comments_v.js': 4000,
|
'js/comments_v.js': 4000,
|
||||||
'js/submission_listing.js': 4000,
|
'js/submission_listing.js': 4000,
|
||||||
|
|
Loading…
Reference in New Issue