aboutsummaryrefslogtreecommitdiffstats
path: root/demo/templates/frag_form_range.html.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-05-02 16:37:29 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-05-02 16:37:29 +0300
commitef72b74ec34e95a38890d542cda298dd6565d5ad (patch)
tree63fe96b24a8534e8dd2d88b1ca3d69b21c502d3e /demo/templates/frag_form_range.html.j2
parentdaca0e6b68d32d885face00d68df5b5cb00e098b (diff)
Start replacing browser with a chat demo
Diffstat (limited to 'demo/templates/frag_form_range.html.j2')
-rw-r--r--demo/templates/frag_form_range.html.j221
1 files changed, 21 insertions, 0 deletions
diff --git a/demo/templates/frag_form_range.html.j2 b/demo/templates/frag_form_range.html.j2
new file mode 100644
index 0000000..84b8024
--- /dev/null
+++ b/demo/templates/frag_form_range.html.j2
@@ -0,0 +1,21 @@
+<form id="form_query" action="/range" method="post" htmp replace=results>
+ <label for="field">Field</label>
+ <input type="text" name="field" id="field" required>
+ <label for="from_type">Lower bound type</label>
+ <select id="from_type" name="from_type" required>
+ <option value="unbounded">Unbounded</option>
+ <option value="included">Inclusive</option>
+ <option value="excluded">Exclusive</option>
+ </select>
+ <label for="values">Lower bound value</label>
+ <input type="text" name="from_value" id="from_value">
+ <label for="to_type">Upper bound type</label>
+ <select id="to_type" name="to_type" required>
+ <option value="unbounded">Unbounded</option>
+ <option value="included">Inclusive</option>
+ <option value="excluded">Exclusive</option>
+ </select>
+ <label for="values">Upper bound value</label>
+ <input type="text" name="to_value" id="to_value">
+ <button type="submit">Run query</button>
+</form>