EditionPN/app/templates/base.html

54 lines
2.2 KiB
HTML
Raw Normal View History

2021-05-06 10:26:28 +02:00
<!DOCTYPE html>
<html class="has-navbar-fixed-top">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}{% endblock %}</title>
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.2/css/bulma.min.css">
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
{% block head %}{% endblock %}
</head>
<body>
<!-- Barre de navigation -->
<nav class="navbar is-primary is-spaced is-fixed-top py-0">
<div class="container">
<div class="navbar-brand">
<a class="navbar-item is-size-5" href="https://scodoc.org/">ScoDoc</a>
<!-- Menu deroulant affiché uniquement sur mobile -->
<div class="navbar-burger">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="navbar-menu">
<div class="navbar-start">
<!-- Liste des catégories -->
<a class="navbar-item" href="{{ url_for('PN') }}">PN</a>
<a class="navbar-item" href="{{ url_for('AC') }}">AC</a>
<a class="navbar-item" href="{{ url_for('SAE') }}">SAÉ</a>
<a class="navbar-item" href="{{ url_for('Ressource') }}">Ressource</a>
<a class="navbar-item" href="{{ url_for('Competence') }}">Competence</a>
</div>
<div class="navbar-end">
</div>
</div>
</div>
</nav>
<!-- Contenu de la page -->
<div class="container">
<div class="box">
{% with messages = get_flashed_messages() %}
{% if messages %}
<script>
alert("{% for message in messages %}{{message}}{% endfor %}");
</script>
{% endif %}
{% endwith %}
{% block content %}
{% endblock %}
</div>
</div>
</body>
</html>