Split up files and add templating
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
08a6e5b0fa
commit
a1474dab43
8 changed files with 738 additions and 123 deletions
36
nixie-server/templates/base.tera.html
Normal file
36
nixie-server/templates/base.tera.html
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||||
{% block head %}
|
||||
<title>{% block title %}{% endblock title%} - Nixie CI</title>
|
||||
{% endblock head%}
|
||||
</head>
|
||||
|
||||
<body class="min-h-screen flex flex-col">
|
||||
<nav class="bg-orange-300 px-2 py-2 inset-shadow-2xs">
|
||||
<div class="mx-auto container flex">
|
||||
<a href="/" class="bg-gray-700 rounded text-white p-2 select-none">
|
||||
<span class="text-green-200">>_</span>
|
||||
Nixie CI ❄️
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="grow px-2">
|
||||
<div class="mx-auto container">
|
||||
{% block content %}{% endblock content %}
|
||||
</div>
|
||||
</div>
|
||||
<footer class="bg-orange-400 px-2 min-h-10 py-4 inset-shadow-2xs">
|
||||
<div class="mx-auto container font-bold">
|
||||
{% block footer %}
|
||||
© Copyright 2026 by Hemera
|
||||
{% endblock footer %}
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue