forked from Jonathan/Peradventure
29 lines
559 B
Plaintext
29 lines
559 B
Plaintext
<!-- views/index.etlua -->
|
|
<script src="/path/to/htmx.min.js"></script>
|
|
|
|
<h1>Hello world</h1>
|
|
<p>Welcome to my page</p>
|
|
<p>The missile guidance system works as follows</p>
|
|
|
|
<form>
|
|
<fieldset>
|
|
<legend>Give Us Money</legend>
|
|
<input type="file"></input>
|
|
<input type="text"></input>
|
|
</fieldset>
|
|
<fieldset>
|
|
<label>Do it</label>
|
|
<input type="number"></input>
|
|
</fieldset>
|
|
</form>
|
|
<br>
|
|
|
|
<button>Click me</button>
|
|
|
|
<ol>
|
|
<p><% for i, thing in pairs(text) do %>
|
|
<li><%= thing %></li>
|
|
<% end %>
|
|
</p>
|
|
</ol>
|