bases html pages

This commit is contained in:
DaanoGames
2025-04-01 11:55:33 +02:00
parent f660a33425
commit a0742c07ad
5 changed files with 20 additions and 26 deletions

View File

@@ -9,6 +9,9 @@
</head>
<body>
{% block content %}
{% include "navbar_base.html" %}
{% block navbar %}
{% endblock %}
{% endblock %}
</body>
</html>

View File

@@ -1,14 +1,7 @@
<!DOCTYPE html>
<html lang="en">
{% extends "base_template.html" %}
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard</title>
</head>
{%block title%}Dashboard{%endblock%}
<body>
</body>
</html>
{%block content%}
{%endblock%}

View File

View File

@@ -1,14 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Default</title>
</head>
<body>
</body>
</html>
{%block navbar%}
<nav class="navbar navbar-expand-lg bg-body-tertiary" data-bs-theme="dark">
<div class="container-fluid">
<a class="navbar-brand" href="\dashboard">Dashboard</a>
</div>
</nav>
{%endblock%}