faaso/public/index.html

36 lines
974 B
HTML
Raw Normal View History

2024-07-02 22:02:05 +00:00
<!DOCTYPE html>
2024-07-02 14:27:27 +00:00
<head>
2024-07-02 22:02:05 +00:00
<meta charset="utf-8" />
2024-07-02 15:40:47 +00:00
<link rel="stylesheet" href="https://matcha.mizu.sh/matcha.css" />
<script src="https://unpkg.com/htmx.org@2.0.0"></script>
2024-07-02 22:02:05 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
2024-07-02 22:02:05 +00:00
<header class="container">
<h1>Your Funko Collection</h1>
</header>
<main class=container>
<span id="message"></span>
<table hx-target="#message">
<thead>
<tr>
<th>Name</th>
2024-07-03 18:45:55 +00:00
<th>Scale</th>
<th>Containers</th>
<th>Images</th>
<th>Actions</th>
</tr>
</thead>
2024-07-02 15:40:47 +00:00
<tbody id="funko-list">
</tbody>
</table>
2024-07-03 13:19:58 +00:00
<button id="update-funkos" style="float:right;" hx-trigger="load, click, every 60s" hx-get="funkos/?format=html"
hx-target="#funko-list">Update</button>
</main>
<script>
update_funkos =function() {
document.getElementById("update-funkos").click()
}
</script>
</body>