add event details page, refacto templates
This commit is contained in:
parent
eb8c42d0c0
commit
6548460478
4 changed files with 191 additions and 125 deletions
51
oedb/resources/demo/templates/layout.html
Normal file
51
oedb/resources/demo/templates/layout.html
Normal file
|
@ -0,0 +1,51 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}OpenEventDatabase{% endblock %}</title>
|
||||
|
||||
<!-- Common CSS -->
|
||||
<link rel="stylesheet" href="/static/demo_styles.css">
|
||||
|
||||
<!-- Page-specific CSS -->
|
||||
{% block css %}{% endblock %}
|
||||
|
||||
<!-- Common JavaScript libraries -->
|
||||
<script src="https://unpkg.com/maplibre-gl@3.0.0/dist/maplibre-gl.js"></script>
|
||||
<link href="https://unpkg.com/maplibre-gl@3.0.0/dist/maplibre-gl.css" rel="stylesheet" />
|
||||
<script defer src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"></script>
|
||||
|
||||
<!-- Page-specific head content -->
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Navigation -->
|
||||
{% include 'partials/demo_nav.html' %}
|
||||
|
||||
<!-- Page header -->
|
||||
<header>
|
||||
<h1>{% block header %}OpenEventDatabase{% endblock %}</h1>
|
||||
</header>
|
||||
|
||||
<!-- Main content -->
|
||||
<main>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer>
|
||||
<div class="footer-content">
|
||||
<p>© 2025 OpenEventDatabase - <a href="https://source.cipherbliss.com/tykayn/oedb-backend">Source Code</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<!-- Common JavaScript -->
|
||||
<script src="/static/demo_auth.js"></script>
|
||||
|
||||
<!-- Page-specific JavaScript -->
|
||||
{% block scripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue