aboutsummaryrefslogtreecommitdiff
path: root/src/templates
diff options
context:
space:
mode:
authoruser <user@node5.net>2024-05-20 22:21:15 +0200
committeruser <user@node5.net>2024-05-20 22:21:15 +0200
commitc9b19e24eab1001005dd08a2ef663502b08b8897 (patch)
treef19b3df65fe62b7821b8be34e281a8472f849295 /src/templates
parent4d3d4f92044cbab22fc27de67de9ce9e6c2c86f7 (diff)
usability - disallow double query
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/options.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/options.html b/src/templates/options.html
index b607dca..8b87346 100644
--- a/src/templates/options.html
+++ b/src/templates/options.html
@@ -1,5 +1,5 @@
<h1>POI map</h1>
-<form id="QueryForm">
+<form id="QueryForm" disabled>
<label for="Category" class="form-label"><h3>Category</h3></label>
<input class="form-control" list="CategoriesDataList" id="Category" name="Category" placeholder="Type to search..."
aria-describedby="CategoriesHelp" value=""> {# Value set to empty string is important for JS function #}
@@ -11,7 +11,7 @@
<br>
- <button type="submit" class="btn btn-primary">Run query</button>
+ <button type="submit" disabled id="SubmitButton" class="btn btn-primary">Run query</button>
</form>
<br><br>