2024-03-19 16:37:12 -05:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<script src="/static/htmx.min.js"></script>
|
2024-03-20 15:29:00 -05:00
|
|
|
<% if not isPopulated then %>
|
|
|
|
<div id="clickable">
|
|
|
|
<button hx-post="/clickme" hx-target="#clickable">Start</button>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2024-03-21 15:16:19 -05:00
|
|
|
<article class="container-fluid">
|
2024-03-19 16:37:12 -05:00
|
|
|
<p style="text-align: center;">Game</p>
|
2024-03-21 17:48:24 -05:00
|
|
|
<main style="width: 50%;" class="container" id="map" hx-get="/map/render" hx-trigger="every 10s,load">
|
2024-03-21 15:16:19 -05:00
|
|
|
</main>
|
|
|
|
<div>
|
|
|
|
<% render("views.player_ui") %>
|
|
|
|
</div>
|
2024-03-19 16:37:12 -05:00
|
|
|
</article>
|