Spaces:
Running
Running
Update templates/base.html
Browse files- templates/base.html +68 -68
templates/base.html
CHANGED
|
@@ -1,69 +1,69 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="fr">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<script>
|
| 6 |
-
// Apply saved theme as early as possible to avoid FOUC (flash of un-themed content)
|
| 7 |
-
(function(){
|
| 8 |
-
try {
|
| 9 |
-
var t = localStorage.getItem('theme');
|
| 10 |
-
if (t) document.documentElement.setAttribute('data-theme', t);
|
| 11 |
-
} catch(e) { /* ignore */ }
|
| 12 |
-
})();
|
| 13 |
-
</script>
|
| 14 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 15 |
-
<title>{% block title %}Mariam AI{% endblock %}</title>
|
| 16 |
-
<!-- Bootstrap CSS -->
|
| 17 |
-
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
| 18 |
-
<!-- Custom CSS -->
|
| 19 |
-
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
| 20 |
-
<link rel="stylesheet" href="{{ url_for('static', filename='css/animations.css') }}">
|
| 21 |
-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
| 22 |
-
{% block extra_head %}{% endblock %}
|
| 23 |
-
</head>
|
| 24 |
-
<body>
|
| 25 |
-
<header class="header glassmorphism">
|
| 26 |
-
<div class="container">
|
| 27 |
-
<div class="header-content">
|
| 28 |
-
<h1 class="text-gradient">Mariam AI</h1>
|
| 29 |
-
</div>
|
| 30 |
-
</div>
|
| 31 |
-
</header>
|
| 32 |
-
|
| 33 |
-
<nav class="navbar">
|
| 34 |
-
<div class="container">
|
| 35 |
-
<ul class="nav nav-links">
|
| 36 |
-
<li class="nav-item">
|
| 37 |
-
<a class="nav-link" href="
|
| 38 |
-
<!-- Home icon SVG -->
|
| 39 |
-
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">
|
| 40 |
-
<path d="M3 9.5L12 3l9 6.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1V9.5z" />
|
| 41 |
-
</svg>
|
| 42 |
-
</a>
|
| 43 |
-
</li>
|
| 44 |
-
<li class="nav-item">
|
| 45 |
-
<a class="nav-link" href="{{ url_for('home') }}">Retour</a>
|
| 46 |
-
</li>
|
| 47 |
-
{% if request.endpoint and 'admin' in request.endpoint %}
|
| 48 |
-
<li class="nav-item">
|
| 49 |
-
<a class="nav-link" href="{{ url_for('admin_home') }}">Administration</a>
|
| 50 |
-
</li>
|
| 51 |
-
{% endif %}
|
| 52 |
-
</ul>
|
| 53 |
-
</div>
|
| 54 |
-
</nav>
|
| 55 |
-
|
| 56 |
-
<main class="container my-4">
|
| 57 |
-
{% block content %}{% endblock %}
|
| 58 |
-
</main>
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
<!-- Footer removed per user request -->
|
| 63 |
-
|
| 64 |
-
<!-- Bootstrap JS -->
|
| 65 |
-
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
| 66 |
-
<script src="{{ url_for('static', filename='js/theme.js') }}"></script>
|
| 67 |
-
{% block extra_scripts %}{% endblock %}
|
| 68 |
-
</body>
|
| 69 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="fr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<script>
|
| 6 |
+
// Apply saved theme as early as possible to avoid FOUC (flash of un-themed content)
|
| 7 |
+
(function(){
|
| 8 |
+
try {
|
| 9 |
+
var t = localStorage.getItem('theme');
|
| 10 |
+
if (t) document.documentElement.setAttribute('data-theme', t);
|
| 11 |
+
} catch(e) { /* ignore */ }
|
| 12 |
+
})();
|
| 13 |
+
</script>
|
| 14 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 15 |
+
<title>{% block title %}Mariam AI{% endblock %}</title>
|
| 16 |
+
<!-- Bootstrap CSS -->
|
| 17 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
| 18 |
+
<!-- Custom CSS -->
|
| 19 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
| 20 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='css/animations.css') }}">
|
| 21 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
| 22 |
+
{% block extra_head %}{% endblock %}
|
| 23 |
+
</head>
|
| 24 |
+
<body>
|
| 25 |
+
<header class="header glassmorphism">
|
| 26 |
+
<div class="container">
|
| 27 |
+
<div class="header-content">
|
| 28 |
+
<h1 class="text-gradient">Mariam AI</h1>
|
| 29 |
+
</div>
|
| 30 |
+
</div>
|
| 31 |
+
</header>
|
| 32 |
+
|
| 33 |
+
<nav class="navbar">
|
| 34 |
+
<div class="container">
|
| 35 |
+
<ul class="nav nav-links">
|
| 36 |
+
<li class="nav-item">
|
| 37 |
+
<a class="nav-link" href="#" title="Aller vers mariam-241" rel="noopener" aria-label="Aller vers mariam-241">
|
| 38 |
+
<!-- Home icon SVG -->
|
| 39 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">
|
| 40 |
+
<path d="M3 9.5L12 3l9 6.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1V9.5z" />
|
| 41 |
+
</svg>
|
| 42 |
+
</a>
|
| 43 |
+
</li>
|
| 44 |
+
<li class="nav-item">
|
| 45 |
+
<a class="nav-link" href="{{ url_for('home') }}">Retour</a>
|
| 46 |
+
</li>
|
| 47 |
+
{% if request.endpoint and 'admin' in request.endpoint %}
|
| 48 |
+
<li class="nav-item">
|
| 49 |
+
<a class="nav-link" href="{{ url_for('admin_home') }}">Administration</a>
|
| 50 |
+
</li>
|
| 51 |
+
{% endif %}
|
| 52 |
+
</ul>
|
| 53 |
+
</div>
|
| 54 |
+
</nav>
|
| 55 |
+
|
| 56 |
+
<main class="container my-4">
|
| 57 |
+
{% block content %}{% endblock %}
|
| 58 |
+
</main>
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
<!-- Footer removed per user request -->
|
| 63 |
+
|
| 64 |
+
<!-- Bootstrap JS -->
|
| 65 |
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
| 66 |
+
<script src="{{ url_for('static', filename='js/theme.js') }}"></script>
|
| 67 |
+
{% block extra_scripts %}{% endblock %}
|
| 68 |
+
</body>
|
| 69 |
</html>
|