瀏覽代碼

modifs visuelles

François 5 年之前
父節點
當前提交
47054ae4c7
共有 2 個文件被更改,包括 8 次插入8 次删除
  1. 1 1
      templates/videotheque/liste.html.twig
  2. 7 7
      templates/videotheque/voirfilm.html.twig

+ 1 - 1
templates/videotheque/liste.html.twig

@@ -9,7 +9,7 @@
 {% endblock %}
 
 {% block body %}
-	<p><a class="btn btn-primary" role="button" href="{{ path('videotheque_ajouter') }}">Ajouter un film</a></p>
+	<p><a class="btn btn-primary" role="button" href="{{ path('videotheque_ajouter') }}"><i class="fa fa-plus-square fa-lg"></i> Ajouter un film</a></p>
 
 	<div class="table-responsive">
 		<table class="table table-bordered table-hover table-sm">

+ 7 - 7
templates/videotheque/voirfilm.html.twig

@@ -17,19 +17,19 @@
                 title="{{ follow_texte }}"
                 data-content="{{ film.id }}">
         <i class="{{ follow_icone }}"></i></a>
-    {{ film.titre }}
     {% if film.usersWhoSeen.contains(app.user) %}
-        {% set vu_icone = '<i class="fa fa-eye fa-lg text-success"></i>' %}
+        {% set vu_icone = '<i class="fa fa-eye text-success"></i>' %}
     {% else %}
-        {% set vu_icone = '<i class="fa fa-eye-slash fa-lg text-secondary"></i>' %}
+        {% set vu_icone = '<i class="fa fa-eye-slash text-secondary"></i>' %}
     {% endif %}				
     <a href="#" data-fonction="switch"
                 data-path="{{ path('maliste_modifier_vus') }}"
                 data-content="{{ film.id }}"
-                data-icone-actif = "fa fa-eye fa-lg text-success"
-                data-icone-inactif = "fa fa-eye-slash fa-lg text-secondary">
-        {{ vu_icone | raw }}
-    </a>
+                data-icone-actif = "fa fa-eye text-success"
+                data-icone-inactif = "fa fa-eye-slash text-secondary">
+        {{ vu_icone | raw }}</a>
+    
+    {{ film.titre }}
     
     {% if film.note > 0 %}
         <p>