restored mapCrypt looping
This commit is contained in:
@ -1,5 +1,10 @@
|
||||
<!DOCTYPE HTML>
|
||||
<script src="/static/htmx.min.js"></script>
|
||||
<% if not isPopulated then %>
|
||||
<div id="clickable">
|
||||
<button hx-post="/clickme" hx-target="#clickable">Start</button>
|
||||
</div>
|
||||
<% end %>
|
||||
<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">
|
||||
|
@ -6,10 +6,7 @@
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<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>
|
||||
<a href="/game">Play Now</a>
|
||||
|
||||
</main>
|
||||
|
||||
|
Reference in New Issue
Block a user