gotodo/templates/index.html
2023-09-03 02:12:43 +02:00

21 lines
545 B
HTML

<html>
<head>
<title>ToDo Application</title>
<script src="https://unpkg.com/htmx.org@1.9.5"></script>
<link href="static/output.css" rel="stylesheet"></link>
</head>
<body>
<h1 class="text-3xl font-bold underline">ToDo Application</h1>
<div class="bg-slate-200 p-8">
<h2 class="text-2xl font-bold">Tasks</h2>
<ul hx-get="/todos" hx-swap="outerHTML" hx-trigger="load" class="shadow-lg space-x-4">
<li>some</li>
<li>tasks...</li>
</ul>
</div>
<address>
<a href="mailto:pti@mars"></a>
</address>
</body>
</html>