mirror of
https://github.com/anthonyaxenov/iptv.git
synced 2024-11-21 13:04:43 +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 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 %}
|
||||
|
||||
{% block header %}
|
||||
@ -85,9 +85,11 @@
|
||||
<td class="p-1" class="chindex">{{ loop.index }}</td>
|
||||
<td class="p-1">
|
||||
{% 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']) %}
|
||||
<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 %}
|
||||
</td>
|
||||
<td class="p-1 chname">{{ channel.name }}</td>
|
||||
|
Loading…
Reference in New Issue
Block a user