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">
|
2024-07-03 01:20:12 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-07-02 22:02:05 +00:00
|
|
|
<header class="container">
|
|
|
|
<h1>Your Funko Collection</h1>
|
2024-07-03 01:20:12 +00:00
|
|
|
</header>
|
|
|
|
<main class=container>
|
|
|
|
<span id="message"></span>
|
|
|
|
<table hx-target="#message">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Status</th>
|
|
|
|
<th>Action</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2024-07-02 15:40:47 +00:00
|
|
|
<tbody id="funko-list">
|
|
|
|
</tbody>
|
2024-07-03 01:20:12 +00:00
|
|
|
</table>
|
|
|
|
<button id="update-funkos" style="float:right;" hx-trigger="load, click" hx-get="funkos/?format=html"
|
|
|
|
hx-target="#funko-list">Update</button>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
|
|
update_funkos =function() {
|
|
|
|
document.getElementById("update-funkos").click()
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</body>
|