division en fichiers
This commit is contained in:
parent
d991502b10
commit
b76277a6c7
|
@ -7,25 +7,12 @@
|
||||||
<title>{% block title %}{% endblock title %}</title>
|
<title>{% block title %}{% endblock title %}</title>
|
||||||
<link href="{% static 'unified-navigator/navigator.css' %}" rel="stylesheet" type="text/css">
|
<link href="{% static 'unified-navigator/navigator.css' %}" rel="stylesheet" type="text/css">
|
||||||
<link href="{% static 'main.css' %}" rel="stylesheet" type="text/css">
|
<link href="{% static 'main.css' %}" rel="stylesheet" type="text/css">
|
||||||
<script src="https://kit.fontawesome.com/0fd87250ec.js" crossorigin="anonymous"></script>
|
<script src="https://kit.fontawesome.com/0fd87250ec.js" crossorigin="anonymous" defer></script>
|
||||||
|
<script src="{% static "unified-navigator/script.js" %}" defer></script>
|
||||||
{% block head %}{% endblock head %}
|
{% block head %}{% endblock head %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<script>
|
|
||||||
function navigator_toggleMenu() {
|
|
||||||
if (document.body.clientWidth > 600)
|
|
||||||
return document.location = "https://mp2i-vms.fr"
|
|
||||||
|
|
||||||
if (document.getElementById("menu-sec").classList.contains("hidden")) {
|
|
||||||
document.getElementById("menu-sec").classList.remove("hidden");
|
|
||||||
document.getElementById("navigator-dropdown-indicator").className = "fa-solid fa-caret-up";
|
|
||||||
} else {
|
|
||||||
document.getElementById("menu-sec").classList.add("hidden");
|
|
||||||
document.getElementById("navigator-dropdown-indicator").className = "fa-solid fa-caret-down";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<div class="unified_navigator">
|
<div class="unified_navigator">
|
||||||
<div class="nav-container">
|
<div class="nav-container">
|
||||||
<div class="logo-wrapper" onclick="navigator_toggleMenu();">
|
<div class="logo-wrapper" onclick="navigator_toggleMenu();">
|
||||||
|
|
Loading…
Reference in New Issue