106 lines
5.2 KiB
HTML
106 lines
5.2 KiB
HTML
<!DOCTYPE html>
|
|
<html th:fragment="layout (title, csspage, content)" xmlns:th="http://www.thymeleaf.org">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>[[${title}]]</title>
|
|
<link rel="icon" th:href="@{/img/favicon.ico}" />
|
|
<link href="/css/bootstrap/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="/assets/fontawesome/css/all.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<nav class="navbar navbar-expand-lg navbar navbar-dark bg-dark navbar-">
|
|
<a class="navbar-brand" href="/accueil">
|
|
<img src="/img/logo.png" width="70" height="70" alt="Logo">
|
|
</a>
|
|
<div th:if="${#authentication.principal != 'anonymousUser'}">
|
|
<p>Mes crédits :</p>
|
|
<p th:text="${user}"></p>
|
|
</div>
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse " id="navbarNav">
|
|
<ul class="navbar-nav ml-auto">
|
|
<li class="nav-item active" th:if="${#authorization.expression('hasRole(''MEMBRE'')')}">
|
|
<a class="nav-link" href="#">Encheres <span class="sr-only" >(current)</span></a>
|
|
</li>
|
|
<li class="nav-item" th:if="${#authorization.expression('hasRole(''MEMBRE'')')}">
|
|
<a class="nav-link" href="#">Vendre un article</a>
|
|
</li>
|
|
<li class="nav-item" th:if="${#authorization.expression('hasRole(''MEMBRE'')')}">
|
|
<a class="nav-link" href="/profil">Mon profile</a>
|
|
</li>
|
|
<li class="nav-item" th:if="${#authorization.expression('hasRole(''MEMBRE'')')}">
|
|
<a class="nav-link disabled" href="/logout" tabindex="-1" aria-disabled="true" >Déconnection</a>
|
|
</li>
|
|
<li class="nav-item" th:if="${#authentication.principal == 'anonymousUser'}">
|
|
<a class="btn btn-primary" href="/login" role="button" style="background-color: #1B4463;">S'inscrire / Se connecter</a>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-expanded="false">
|
|
<i class="fa-solid fa-earth-americas"></i>
|
|
</a>
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
|
|
<a class="dropdown-item" th:href="@{/change-language(lang='en')}">English</a>
|
|
<a class="dropdown-item" th:href="@{/change-language(lang='fr')}">Français</a>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
</header>
|
|
<div th:insert="${content}"></div>
|
|
|
|
|
|
<footer class="text-center text-lg-start bg-body-tertiary text-muted " >
|
|
|
|
<section class="" style="background-color: #2a2b30;">
|
|
<div class="container text-lg-left text-md-start mt-5 text-white">
|
|
<div class="row mt-3">
|
|
<div class="col-md-3 col-lg-4 col-xl-3 mx-auto mb-4">
|
|
<h6 class="text-uppercase fw-bold mb-4">
|
|
<i class="fas fa-gem me-3"></i>ENI-Encheres
|
|
</h6>
|
|
<p>
|
|
Créée par l'association "Les objets sont nos amis", ENI-Enchères a pour objectif d'aider ses membres à vendre ou acheter des objets de tout genre.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="col-md-2 col-lg-2 col-xl-2 mx-auto mb-4">
|
|
<h6 class="text-uppercase fw-bold mb-4">
|
|
Menu
|
|
</h6>
|
|
<p>
|
|
<a href="#!" class="text-reset">Encheres</a>
|
|
</p>
|
|
<p>
|
|
<a href="#!" class="text-reset">Vendre un article</a>
|
|
</p>
|
|
<p>
|
|
<a href="#!" class="text-reset">Mon profile</a>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="col-md-4 col-lg-3 col-xl-3 mx-auto mb-md-0 mb-4">
|
|
<h6 class="text-uppercase fw-bold mb-4">Contact</h6>
|
|
<p><i class="fas fa-home me-3"></i> 2a Rue Benjamin Franklin, 44800 Saint-Herblain</p>
|
|
<p>
|
|
<i class="fas fa-envelope me-3"></i>
|
|
editions@eni.fr
|
|
</p>
|
|
<p><i class="fas fa-phone me-3"></i> + 02 51 80 15 15</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<div class="text-center p-4" style="background-color: #1c1b1b;">
|
|
© 2024 Copyright:
|
|
</div>
|
|
</footer>
|
|
<script src="/js/bootstrap/bootstrap.min.js"></script>
|
|
</body>
|
|
</html> |