calathea/templates/base.html

32 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<script src="/static/htmx_2.0.4.min.js" integrity="sha384-HGfztofotfshcF7+8n44JQL2oJmowVChPTg48S+jvZoztPfvwD79OC/LTtG6dMp+"></script>
<link rel="stylesheet" href="/static/pico.classless.green.min.css" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="color-scheme" content="light dark" />
<style type="text/css">
a:hover {
cursor:pointer;
}
</style>
</head>
<body>
<main>
<nav>
<ul>
<li><a hx-get="/" hx-target="#content" hx-push-url="true"><strong>Calathea</strong></a></li>
</ul>
<ul>
<li><a hx-get="/plants" hx-target="#content" hx-push-url="true">Plants</a></li>
<li><a hx-get="/images" hx-target="#content" hx-push-url="true">Images</a></li>
</ul>
</nav>
<article id="content">
{{ view | safe }}
</article>
</main>
</body>
</html>