diff options
| author | user <user@node5.net> | 2024-12-28 14:31:49 +0100 |
|---|---|---|
| committer | user <user@node5.net> | 2024-12-28 14:31:49 +0100 |
| commit | 40a5a3bb3aac7e49aaadb33a9e72e7059ae82910 (patch) | |
| tree | 147759bda91aff89b971c4a58e5fa5e9668ef0ba /src/templates | |
| parent | 24ec8b02c15c140a710440139821bfb7521adfc2 (diff) | |
Flask - Show multiple countries
Diffstat (limited to 'src/templates')
| -rw-r--r-- | src/templates/options.html | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/src/templates/options.html b/src/templates/options.html index 27ef9a6..85ae8e9 100644 --- a/src/templates/options.html +++ b/src/templates/options.html @@ -1,18 +1,25 @@ <h1>POI map</h1> <form id="QueryForm" disabled> - <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 #} - <datalist id="CategoriesDataList"> - - </datalist> - <div id="CategoriesHelp" class="form-text">Change the category shown on the map<br> - e.g. - <code><a href="/?Category=fast_food&HeatmapIntensity=3&HeatmapRadius=40">fast_food</a></code>, - <code><a href="/?HeatmapIntensity=6&HeatmapRadius=100&Category=supermarket">supermarket</a></code>, or - <code><a href="/?Category=cinema&HeatmapIntensity=25&HeatmapRadius=40">cinema</a></code> - </div> - - <br> + <input class="form-control" list="CountriesDataList" id="Country" name="Country" placeholder="Type to search..." + value="Denmark"> {# Value set to empty string is important for JS function #} + <datalist id="CountriesDataList"> + <option value="Denmark">Denmark</option> + <option value="Germany">Germany</option> + </datalist> + + <br> + + <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 #} + <datalist id="CategoriesDataList"></datalist> + <div id="CategoriesHelp" class="form-text">Change the category shown on the map<br> + e.g. + <code><a href="/?Category=fast_food&HeatmapIntensity=3&HeatmapRadius=40">fast_food</a></code>, + <code><a href="/?HeatmapIntensity=6&HeatmapRadius=100&Category=supermarket">supermarket</a></code>, or + <code><a href="/?Category=cinema&HeatmapIntensity=25&HeatmapRadius=40">cinema</a></code> + </div> + + <br> <input class="form-control" id="HeatmapIntensity" name="HeatmapIntensity" value="5" type="number" aria-describedby="HeatmapIntensityHelp" max=2000> |
