mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
implement poster position settings #18
This commit is contained in:
parent
cfeeabee72
commit
5c76a17df5
23 changed files with 342 additions and 29 deletions
|
|
@ -25,7 +25,7 @@
|
|||
{% if torrents %}
|
||||
{% for torrent in torrents %}
|
||||
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night {% if torrent.poster %}background-poster{% endif %}"
|
||||
{% if torrent.poster %}style="background-image:url('{{ torrent.poster }}')"{% endif %}>
|
||||
{% if torrent.poster %}style="background-image:url('{{ torrent.poster.url }}');background-position:{{ torrent.poster.position }}"{% endif %}>
|
||||
<a name="{{ torrent.id }}"></a>
|
||||
<div class="margin-b-16-px">
|
||||
<h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue