2020-11-11 21:50:16 +01:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Mail RSS{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
|
|
|
|
|
|
|
<style>
|
|
|
|
#logo {
|
|
|
|
height: calc(100vh * 0.4)
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 p-5 text-center">
|
|
|
|
<img id="logo" src="{{ asset('assets/icon.svg') }}" alt="Mail RSS">
|
|
|
|
</div>
|
|
|
|
|
2020-12-21 17:44:24 +01:00
|
|
|
{% if mailings|length %}
|
2020-12-21 20:23:04 +01:00
|
|
|
<div class="col-8 m-auto">
|
2020-12-21 17:44:24 +01:00
|
|
|
<ul class="list-group">
|
2020-12-21 20:23:04 +01:00
|
|
|
<li class="list-group-item list-group-item-action list-group-item-secondary font-weight-bolder">
|
|
|
|
Flux publiés
|
|
|
|
</li>
|
2020-12-21 17:44:24 +01:00
|
|
|
{% for mailing in mailings %}
|
2020-12-21 20:23:04 +01:00
|
|
|
<li class="list-group-item d-flex justify-content-between align-items-center">
|
2020-12-21 17:44:24 +01:00
|
|
|
<a href="{{ path('mailing_rss', {mailing: mailing.id}) }}">
|
|
|
|
{{ mailing.label }}
|
|
|
|
</a>
|
2020-12-21 20:23:04 +01:00
|
|
|
|
|
|
|
<span class="badge badge-primary badge-pill">
|
|
|
|
{{ mailing.mails|length }}
|
|
|
|
</span>
|
2020-12-21 17:44:24 +01:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-12-21 20:23:04 +01:00
|
|
|
|
|
|
|
<div class="col-12">
|
|
|
|
<p class="h6 p-2 text-center mt-5">
|
|
|
|
Propulsé par <a href="https://gitnet.fr/deblan/mail-rss" target="_blank">Mail RSS</a>
|
|
|
|
développé par <a href="https://www.deblan.io" target="_blank">Simon Vieille</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
2020-11-11 21:50:16 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|