74 lines
No EOL
2.3 KiB
Text
74 lines
No EOL
2.3 KiB
Text
<header id="redhead">
|
|
<a href="/" class="custom-cursor"><img id="logo_noir_blanc" src="img/IMG_6768.JPG" alt="logo BDS" >
|
|
</a>
|
|
<ul>
|
|
<% if (!locals.isAuth) { %>
|
|
<li>
|
|
<button class="button-85" role="button">
|
|
<a href="/connexion" class="custom-cursor">Se connecter</a>
|
|
</button>
|
|
</li>
|
|
<% } %>
|
|
<% if (locals.isAuth) { %>
|
|
<li>
|
|
<form action="/logout" method="POST">
|
|
<button class="button-85" role="button" name="logout">
|
|
Se déconnecter
|
|
</button>
|
|
</form>
|
|
</li>
|
|
<% } %>
|
|
<li>
|
|
<button class="button-85" role="button" id="menu_button">
|
|
Menu
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</header>
|
|
<nav id="nav_id">
|
|
<ul>
|
|
<li>
|
|
<button class="button-85" role="button">
|
|
<a href="/team" class="custom-cursor">Team</a>
|
|
</button>
|
|
</li>
|
|
<li>
|
|
<button class="button-85" role="button">
|
|
<a href="/contact" class="custom-cursor">Contact</a>
|
|
</button>
|
|
</li>
|
|
<li>
|
|
<button class="button-85" role="button">
|
|
<a href="/sports" class="custom-cursor">Les sports</a>
|
|
</button>
|
|
|
|
</li>
|
|
<li>
|
|
<button href="/hotLine" class="button-85" role="button">
|
|
<a href="/evenement" class="custom-cursor">Les événements</a>
|
|
</button>
|
|
|
|
</li>
|
|
<li>
|
|
<button class="button-85" role="button">
|
|
<a href="/A-propos" class="custom-cursor">À propos</a>
|
|
</button>
|
|
</li>
|
|
<% if (locals.isAuth) {%>
|
|
<li>
|
|
<form action="/profile" method="get">
|
|
<button class="button-85" role="button">
|
|
<a href="/profile" class="custom-cursor">profile</a>
|
|
</button>
|
|
</form>
|
|
</li>
|
|
<% } %>
|
|
<% if (locals.isAdmin) { %>
|
|
<li>
|
|
<button class="button-85" role="button">
|
|
<a href="/admin" class="custom-cursor">Admin</a>
|
|
</button>
|
|
</li>
|
|
<% } %>
|
|
</ul>
|
|
</nav> |