|
@@ -49,16 +49,16 @@
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block body %}
|
|
|
- <div class="grid">
|
|
|
- <div class="g-col-sm-8">
|
|
|
- <div class="grid">
|
|
|
- <div class="g-col-sm-7">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-sm-8">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-sm-7">
|
|
|
<div class="card border-info">
|
|
|
<div class="card-header">
|
|
|
- <div class="grid">
|
|
|
- <h5 class="g-col-10">Fiche technique</h5>
|
|
|
+ <div class="row">
|
|
|
+ <h5 class="col-10">Fiche technique</h5>
|
|
|
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
|
|
|
- <div class="g-col-2">
|
|
|
+ <div class="col-2">
|
|
|
<a data-bs-toggle="tooltip" title="Modifier la fiche du film" href="{{ path('videotheque_modifier', {'id': film.id}) }}"><i class="fa fa-edit fa-lg"></i></a>
|
|
|
{% if is_granted('ROLE_ADMIN') %}<a href="{{ path('videotheque_supprimer', {'id': film.id}) }}"><i class="fa fa-trash fa-lg", style="color:Tomato;"></i></a>{% endif %}
|
|
|
|
|
@@ -67,37 +67,37 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="card-body">
|
|
|
- <dl class="grid">
|
|
|
- <dt class="g-col-4">Année</dt>
|
|
|
- <dd class="g-col-8">{{ film.annee | date('Y') }}</dd>
|
|
|
- <dt class="g-col-4">Réalisateur(s)</dt>
|
|
|
- <dd class="g-col-8">
|
|
|
+ <dl class="row">
|
|
|
+ <dt class="col-4">Année</dt>
|
|
|
+ <dd class="col-8">{{ film.annee | date('Y') }}</dd>
|
|
|
+ <dt class="col-4">Réalisateur(s)</dt>
|
|
|
+ <dd class="col-8">
|
|
|
{% for realisateur in film.realisateurs %}
|
|
|
<a href="{{ path('videotheque_listeparreal', {'id': realisateur.id}) }}"><span class="badge bg-info">{{ realisateur.nomComplet }}</span></a>
|
|
|
{% endfor %}
|
|
|
</dd>
|
|
|
- <dt class="g-col-4">Genre</dt>
|
|
|
- <dd class="g-col-8">
|
|
|
+ <dt class="col-4">Genre</dt>
|
|
|
+ <dd class="col-8">
|
|
|
{% for genre in film.genres %}
|
|
|
<a href="{{ path('videotheque_listepargenre', {'id': genre.id}) }}"><span class="badge bg-info">{{ genre.name }}</span></a>
|
|
|
{% endfor %}
|
|
|
</dd>
|
|
|
{% if film.lien is not null %}
|
|
|
- <dt class="g-col-4">Lien</dt>
|
|
|
- <dd class="g-col-8"><a href="{{ film.lien }}"><i class="fa fa-external-link"></i></a></dd>
|
|
|
+ <dt class="col-4">Lien</dt>
|
|
|
+ <dd class="col-8"><a href="{{ film.lien }}"><i class="fa fa-external-link"></i></a></dd>
|
|
|
{% endif %}
|
|
|
</dl>
|
|
|
</div>
|
|
|
<div class="card-footer">
|
|
|
- <dl class="grid">
|
|
|
- <dt class="g-col-4">Suivi par</dt>
|
|
|
- <dd class="g-col-8">
|
|
|
+ <dl class="row">
|
|
|
+ <dt class="col-4">Suivi par</dt>
|
|
|
+ <dd class="col-8">
|
|
|
{% for user in film.usersWantToView %}
|
|
|
<span>{{ user.username }}</span>
|
|
|
{% endfor %}
|
|
|
</dd>
|
|
|
- <dt class="g-col-4">Vu par</dt>
|
|
|
- <dd class="g-col-8">
|
|
|
+ <dt class="col-4">Vu par</dt>
|
|
|
+ <dd class="col-8">
|
|
|
{% for user in film.usersWhoSeen %}
|
|
|
<span>{{ user.username }}</span>
|
|
|
{% endfor %}
|
|
@@ -122,7 +122,7 @@
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
- <div class="g-col-sm-5">
|
|
|
+ <div class="col-sm-5">
|
|
|
<div class="card border-info">
|
|
|
<div class="card-header">
|
|
|
<h5>Bande Annonce</h5>
|
|
@@ -140,7 +140,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="g-col-sm-4">
|
|
|
+ <div class="col-sm-4">
|
|
|
<div class="card border-info">
|
|
|
<div class="card-header">
|
|
|
<h5>Commentaires</h5>
|