add progression
This commit is contained in:
39
templates/base.html.twig
Normal file
39
templates/base.html.twig
Normal file
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title %}My Application{% endblock %}</title>
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ asset('css/styles.css') }}">
|
||||
{% block stylesheets %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header class="bg-light mb-4 shadow-sm">
|
||||
<nav class="container py-3">
|
||||
<ul class="nav justify-content-center">
|
||||
<li class="nav-item"><a class="nav-link btn btn-primary me-2" href="{{ path('home') }}">Accueil</a></li>
|
||||
<li class="nav-item"><a class="nav-link btn btn-primary me-2" href="{{ path('assistantia_index') }}">Assistant IA</a></li>
|
||||
<li class="nav-item"><a class="nav-link btn btn-primary me-2" href="{{ path('contribia_index') }}">Contrib IA</a></li>
|
||||
<li class="nav-item"><a class="nav-link btn btn-primary me-2" href="{{ path('contribution_index') }}">Contribution</a></li>
|
||||
<li class="nav-item"><a class="nav-link btn btn-primary me-2" href="{{ path('membre_index') }}">Membre</a></li>
|
||||
<li class="nav-item"><a class="nav-link btn btn-primary" href="{{ path('projet_index') }}">Projet</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container my-4">
|
||||
{% block body %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer class="bg-light text-center py-3 mt-auto shadow-top">
|
||||
<p class="mb-0">© {{ "now"|date("Y") }} My Application</p>
|
||||
{% block footer %}{% endblock %}
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="{{ asset('js/scripts.js') }}"></script>
|
||||
{% block javascripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user