<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Tableau de bord - Publigo{% endblock %}</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/jquery.tablesorter/themes/blue/style.css" type="text/css" media="print, projection, screen">
<link rel="stylesheet" href="assets/css/custom.css" crossorigin="anonymous">
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{# {{ encore_entry_link_tags('app') }} #}
{% endblock %}
{% block javascripts %}
<script src="https://code.jquery.com/jquery-3.6.0.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script type="text/javascript" src="assets/js/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="assets/js/custom.js"></script>
{# {{ encore_entry_script_tags('app') }} #}
{% endblock %}
</head>
<body>
<div id="page" class="{{ pageClass }}">
{% block header %}
<div class="container-fluid">
{# {{ dump() }} #}
<header class="d-flex flex-wrap justify-content-between pt-3 mb-4 border-bottom">
<a href="/" class="d-flex align-items-center mb-3 mb-md-0 mr-md-auto text-dark text-decoration-none" title="ERP Publigo">
{# <img src="{{ asset('assets/img/logo-80x80.png') }}" alt="1055"> #}
<span class="h3 d-flex flex-column pl-3">Tools - Publigo</span>
</a>
<ul class="nav nav-tabs d-print-none mt-auto" style="margin-bottom: -1px;">
<li class="nav-item"><a href="/" class="nav-link {% if app.request.pathInfo == "/" %}active{% endif %}" aria-current="page" title="Tableau de bord"><i class="fas fa-home"></i></a></li>
<li class="nav-item ml-2"><a href="/website" class="nav-link {% if app.request.pathInfo == "/website" %}active{% endif %}" aria-current="page" title="Site web">Site web</a></li>
<li class="nav-item ml-2"><a href="/archive-website" class="nav-link {% if app.request.pathInfo == "/archive-website" %}active{% endif %}" aria-current="page" title="Site web (archivé)">Site web (archivé)</a></li>
<li class="nav-item ml-2"><a href="/domain" class="nav-link {% if app.request.pathInfo == "/domain" %}active{% endif %}" aria-current="page" title="Site web">Domaines (OVH)</a></li>
{# <li class="nav-item ml-2"><a class="nav-link bg-danger text-white" href="{{ path('app_logout') }}" title="Déconnexion"><i class="fas fa-sign-out-alt"></i></a></li> #}
{#% if is_granted('ROLE_ADMIN') %}
<li class="nav-item"><a class="nav-link" href="{{ path('admin') }}">Gestion</a></li>
<li class="nav-item pt-2">|</li>
<li class="nav-item"><a class="nav-link" href="{{ path('app_logout') }}">Déconnexion</a></li>
{% elseif is_granted('ROLE_CUSTOMER') %}
<li class="nav-item"><a class="nav-link" href="{{ path('home') }}">Mon compte</a></li>
<li class="nav-item pt-2">|</li>
{% else %}
<li class="nav-item"><a href="{{ path('customer_login') }}" class="nav-link">Connexion</a></li>
<li class="nav-item pt-2">|</li>
<li class="nav-item"><a href="{{ path('app_register') }}" class="nav-link">Inscription</a></li>
{% endif %#}
</ul>
</header>
{# {% if is_granted('ROLE_ADMIN') %}
<div class="alert alert-danger" role="alert">
Vous êtes connecté en tant qu'administrateur
</div>
{% endif %} #}
</div>
{% endblock %}
{% block body %}{% endblock %}
{% block footer %}
<div class="container-fluid">
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
<div class="col-md-8 justify-content-end menu-mentions">
{#
{{ knp_menu_render('mentions') }}
#}
</div>
<p class="col-md-4 mb-0 text-muted text-right">© 2022-{{ "now"|date("Y") }} | Publigo</p>
</footer>
</div>
{% endblock %}
</div>
</body>
</html>