Peradventure/views/game.etlua

12 lines
368 B
Plaintext
Raw Normal View History

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-19 16:37:12 -05:00
<article>
<p style="text-align: center;">Game</p>
<main style="width: 50%;" class="container" id="map" hx-get="/map/render" hx-trigger="every 1s,load">
</article>