Footer with souce code link & generation time

This commit is contained in:
William Bouzourène 2025-01-04 17:27:14 +01:00
parent da0114fbcb
commit fdc1740126
5 changed files with 61 additions and 7 deletions

View file

@ -1,5 +1,5 @@
<!doctype html>
<html lang="fr" data-bs-theme="dark">
<html lang="fr" class="h-100" data-bs-theme="dark">
{% include "partials/easter_egg.html" %}
<head>
<meta charset="UTF-8">
@ -18,14 +18,39 @@
<link rel="stylesheet" href="/static/main.css">
{% block stylesheet %}{% endblock %}
</head>
<body>
{% block header %}
{% include "partials/header.html" %}
{% endblock %}
<body class="d-flex flex-column h-100">
<main class="flex-shrink-0">
{% block body %}
{% block header %}
{% include "partials/header.html" %}
{% endblock %}
{% block main %}
<!-- Content goes here -->
{% block main %}{% endblock %}
{% endblock %}
</main>
<footer class="footer mt-auto py-2 bg-body-tertiary">
<div class="container">
<span class="text-body-secondary">
<a
class="link-secondary text-bold"
target="_blank"
href="https://git.readonly.ch/bouzoure/popvaud-people"
>
<i class="bi-code-slash"></i>
Code source
</a>
</span>
<div class="float-end">
<span class="text-body-secondary">
<i class="bi-stopwatch me-1"></i>
{{ Globals.TimeStart | time_diff }}
<span>ms</span>
</span>
</div>
</div>
</footer>
<script src="/static/jquery/jquery.min.js"></script>
<script src="/static/bootstrap/js/bootstrap.bundle.min.js"></script>