19 lines
343 B
Plaintext
19 lines
343 B
Plaintext
<!-- views/index.etlua -->
|
|
<script src="/static/htmx.min.js"></script>
|
|
<div id="clickable">
|
|
<button hx-post="/clickme" hx-target="#clickable">Start</button>
|
|
</div>
|
|
|
|
<div id="map" hx-get="/map/render" hx-trigger="every 5s">
|
|
|
|
</div>
|
|
|
|
<!--
|
|
<ol>
|
|
<p><% for i, thing in pairs(text) do %>
|
|
<li><%= thing %></li>
|
|
<% end %>
|
|
</p>
|
|
</ol>
|
|
-->
|