43 lines
2.0 KiB
HTML
43 lines
2.0 KiB
HTML
<!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') }}" />
|
|
<!-- Optional: highlight.js for code blocks -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css" integrity="sha512-XJ7Xo4x2XQHkYHqJ8Zg0t8zqOud0a5Cwq3kP2CF0K6Qq6z8w1K9u8Cuo7J8iW0h6Sbp2eC4O8X1cK9w3v8g4WQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
|
<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>
|
|
|
|
<!-- highlight.js script (after content) -->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js" integrity="sha512-yc6f6QkBqKPNgRr2DscxL8s4nq8kqJxU3K6Q0dZQ9+KNCm+q9bQz7vZ+2b+fS2bQ4pQ9v5g2nV1cQmcvj2Wm+Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
<script>
|
|
try { window.hljs && window.hljs.highlightAll(); } catch (e) {}
|
|
</script>
|
|
</body>
|
|
</html> |