mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +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
|
|
@ -30,7 +30,7 @@
|
|||
{% endblock %}
|
||||
{% block main_content %}
|
||||
<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 %}>
|
||||
<h1 class="display-block text-center margin-b-16-px">
|
||||
{{ file.name }}
|
||||
{#{{ 'Torrent' | trans }} #{{ torrent.id }}#}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue