Преглед на файлове

Modif du menu, déplacement champ recherches

François Drouhard преди 5 години
родител
ревизия
81b52c6f19
променени са 2 файла, в които са добавени 11 реда и са изтрити 9 реда
  1. 7 9
      templates/base.html.twig
  2. 4 0
      templates/videotheque/liste.html.twig

+ 7 - 9
templates/base.html.twig

@@ -54,17 +54,10 @@
 					{%  endif %}
 				</ul>
 				{% endif %}
-				<ul class="navbar-nav">
-					<li class="nav-item">
-						<a href="#" class="nav-link" data-toggle="modal" data-target="#modalWindow"><i class="fa fa-info-circle fa-lg text-light nav-link" aria-hidden="true"></i></a>
-					<li>
-				</ul>
+				
 				
 				{#{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}#}
-				<form class="form-inline my-2 my-lg-0" action="{{ path('search_recherche') }}">
-					<input class="form-control mr-sm-2" name="q" type="text" placeholder="Rechercher" aria-label="Rechercher">
-					<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Go</button>
-				</form>
+				
 				{#{% endif %}#}
                 {%  if not is_granted('IS_AUTHENTICATED_REMEMBERED') %}
 					<ul class="navbar-nav">
@@ -84,6 +77,11 @@
 						</li>
 					</ul>
                 {% endif %}
+				<ul class="navbar-nav">
+					<li class="nav-item">
+						<a href="#" class="nav-link" data-toggle="modal" data-target="#modalWindow"><i class="fa fa-info-circle fa-lg text-light nav-link" aria-hidden="true"></i></a>
+					<li>
+				</ul>
 				<ul class="navbar-nav">
 					<li class="nav-item dropdown">
 						<a class="nav-link dropdown-toggle" href="#" id="navbarBellDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">

+ 4 - 0
templates/videotheque/liste.html.twig

@@ -18,6 +18,10 @@
 			</div>
 			<div class="col-6">
 				{# Des filtres ? #}
+				<form class="form-inline my-2 my-lg-0" action="{{ path('search_recherche') }}">
+					<input class="form-control mr-sm-2" name="q" type="text" placeholder="Rechercher" aria-label="Rechercher">
+					<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Go</button>
+				</form>
 			</div>
 			<div class="col-3 text-right">
 				<p>Filtrer par film au dessus de