mirror of
https://github.com/anthonyaxenov/iptv.git
synced 2024-11-22 05:24:45 +00:00
Эскиз для отсутствующего логотипа
This commit is contained in:
parent
688ffc547e
commit
4e659c0abf
BIN
src/public/no-tvg-logo.png
Normal file
BIN
src/public/no-tvg-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
@ -3,7 +3,7 @@
|
|||||||
{% block title %}{{ name }} - {{ config('app.title') }}{% endblock %}
|
{% block title %}{{ name }} - {{ config('app.title') }}{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<style>.tvg-logo{max-width:100px;max-height:100px;background:white;padding:2px;border-radius:5px}</style>
|
<style>.tvg-logo{max-width:100px;max-height:100px;background:white;padding:2px;border-radius:5px}.tvg-logo{background:unset}</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
@ -85,9 +85,11 @@
|
|||||||
<td class="p-1" class="chindex">{{ loop.index }}</td>
|
<td class="p-1" class="chindex">{{ loop.index }}</td>
|
||||||
<td class="p-1">
|
<td class="p-1">
|
||||||
{% if (channel.logo.base64) %}
|
{% if (channel.logo.base64) %}
|
||||||
<img class="tvg-logo" src="{{ channel.logo.base64 }}" />
|
<img class="tvg-logo yes" src="{{ channel.logo.base64 }}" />
|
||||||
{% elseif (channel.attributes['tvg-logo']) %}
|
{% elseif (channel.attributes['tvg-logo']) %}
|
||||||
<img loading="lazy" class="tvg-logo" src="{{ base_url('logo?url=' ~ channel.attributes['tvg-logo']) }}" />
|
<img loading="lazy" class="tvg-logo" src="{{ base_url('logo?url=' ~ channel.attributes['tvg-logo']) }}" />
|
||||||
|
{% else %}
|
||||||
|
<img class="tvg-logo.empty" src="{{ base_url('no-tvg-logo.png') }}"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td class="p-1 chname">{{ channel.name }}</td>
|
<td class="p-1 chname">{{ channel.name }}</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user