forked from rc/aircox
cfr #121 Co-authored-by: Christophe Siraut <d@tobald.eu.org> Co-authored-by: bkfox <thomas bkfox net> Co-authored-by: Thomas Kairos <thomas@bkfox.net> Reviewed-on: rc/aircox#131 Co-authored-by: Chris Tactic <ctactic@noreply.git.radiocampus.be> Co-committed-by: Chris Tactic <ctactic@noreply.git.radiocampus.be>
24 lines
654 B
HTML
24 lines
654 B
HTML
{% extends "./preview.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block tag-class %}{{ block.super }} preview-card{% endblock %}
|
|
|
|
{% block inner %}
|
|
<div class="card-content">
|
|
{% if cover %}
|
|
{% if url %}<a href="{{ url }}">{% endif %}
|
|
<figure style="background-image: url({{ cover }});" class="preview-cover">
|
|
<img src="{{ cover }}" class="hide">
|
|
</figure>
|
|
{% if url %}</a>{% endif %}
|
|
{% endif %}
|
|
|
|
<footer class="actions">
|
|
{% block actions %}{{ block.super }}{% endblock %}
|
|
</footer>
|
|
</div>
|
|
|
|
{% block headings-container %}{{ block.super }}{% endblock %}
|
|
|
|
{% endblock %}
|