WIP server

This commit is contained in:
Nathan Anderson
2023-08-13 22:44:10 -06:00
commit ed29333a87
17 changed files with 214 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<title>Peimono</title>
</html>
<style>
:root {
--peach: #eca880;
--cherry: #b03c3c;
--slate: #909090;
--dark: #6c6c6c;
--amber: #dcb468;
--lime: #81f499;
--plum: #533a7b;
}
body {
background-color: var(--slate);
}
h1 {
color: var(--peach);
}
</style>
<script src="https://unpkg.com/htmx.org@1.9.4"
integrity="sha384-zUfuhFKKZCbHTY6aRR46gxiqszMk5tcHjsVFxnUo8VMus4kHGVdIYVbOYYNlKmHV" crossorigin="anonymous"></script>
</head>
<body>
<h1>Hello there!!</h1>
<button hx-get="/test" hx-indicator="#spinner" hx-target="#button_results">Get stuff button</button>
<img id="spinner" class="htmx-indicator" src="static/tail-spin.svg" />
<div id="button_results"></div>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</html>
<script src="https://unpkg.com/htmx.org@1.9.4"
integrity="sha384-zUfuhFKKZCbHTY6aRR46gxiqszMk5tcHjsVFxnUo8VMus4kHGVdIYVbOYYNlKmHV" crossorigin="anonymous"></script>
</head>
<body>
<h1>Hello there!!</h1>
</body>
</html>