Initial commit.

This commit is contained in:
2025-08-18 17:14:54 +02:00
commit 9d1623c739
19 changed files with 2129 additions and 0 deletions

35
app/templates/base.html Normal file
View File

@@ -0,0 +1,35 @@
<!doctype html>
<html lang="en" data-theme="light">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>{% block title %}PKM{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/app.css') }}" />
<script defer src="{{ url_for('static', filename='js/app.js') }}"></script>
</head>
<body class="min-h-screen bg-base-200">
<div class="navbar bg-base-100 shadow">
<div class="flex-1">
<a href="{{ url_for('home.home') }}" class="btn btn-ghost text-xl">PKM</a>
</div>
<div class="flex-none gap-2">
<label class="label mr-2"><span class="label-text">Theme</span></label>
<select id="theme-select" class="select select-sm select-bordered">
<option>light</option>
<option>dark</option>
<option>cupcake</option>
</select>
</div>
</div>
<main class="container mx-auto p-4">
{% block content %}{% endblock %}
</main>
<footer class="footer items-center p-4 bg-base-100 text-base-content border-t">
<aside class="grid-flow-col items-center">
<p>PKM — Flask + Tailwind + DaisyUI</p>
</aside>
</footer>
</body>
</html>