mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-31 12:56:11 +01:00
Fixing Icon error on GET
This commit is contained in:
parent
9699bedf39
commit
319361bd3a
@ -34,11 +34,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td id="server_motd_{{ server['stats']['server_id']['server_id'] }}">
|
<td id="server_motd_{{ server['stats']['server_id']['server_id'] }}">
|
||||||
{% if server['stats']['desc'] != 'False' %}
|
{% if server['stats']['desc'] != 'False' %}
|
||||||
{% if server['raw_ping_result']['icon'] %}
|
<img src="/static/assets/images/pack.png" alt="icon" style="-webkit-filter:grayscale(100%); filter:grayscale(100%)"/>
|
||||||
<img src="data:image/png;base64,{% raw server['raw_ping_result']['icon'] %}" alt="icon" />
|
|
||||||
{% else %}
|
|
||||||
<img src="/static/assets/images/pack.png" alt="icon" />
|
|
||||||
{% end %}
|
|
||||||
<span id="input_motd_{{ server['stats']['server_id']['server_id'] }}" class="input_motd">{{
|
<span id="input_motd_{{ server['stats']['server_id']['server_id'] }}" class="input_motd">{{
|
||||||
server['stats']['desc'] }}</span> <br />
|
server['stats']['desc'] }}</span> <br />
|
||||||
{% end %}
|
{% end %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user