diff options
author | mrpaulblack <paul@paulgo.io> | 2023-01-23 22:56:55 +0100 |
---|---|---|
committer | mrpaulblack <paul@paulgo.io> | 2023-01-23 22:56:55 +0100 |
commit | 8ead23347f3884318b5d39f74209366c343a6013 (patch) | |
tree | 585aaf9a851753894f2d0e1006bab067183e632f /searx/templates | |
parent | d2b2300ee1a4c7efa66960d78d3f38c35fdc6630 (diff) | |
download | searxng-8ead23347f3884318b5d39f74209366c343a6013.tar.gz searxng-8ead23347f3884318b5d39f74209366c343a6013.zip |
[fix] use input elements for pagination requests
* use html input elements instead of buttons for the pagination forms at the bottom of the result page
* move the less section that hides the pagination number widget on mobile to the mobile section
* clean up the less code for styling the numbers of the pagination widget
* fix: add the margin for box results (like in news category) to the bottom of the result to have a margin between pagination widget and article result
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/simple/results.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/simple/results.html b/searx/templates/simple/results.html index b7a6cb9ed..755610e5b 100644 --- a/searx/templates/simple/results.html +++ b/searx/templates/simple/results.html @@ -209,9 +209,9 @@ {% if timeout_limit %}<input type="hidden" name="timeout_limit" value="{{ timeout_limit|e }}" >{% endif %} {{- engine_data_form(engine_data) -}} {% if pageno == x %} - <button role="link" class="page_number_current" type="button">{{ x }}</button> + <input role="link" class="page_number_current" type="button" value="{{ x }}"> {% else %} - <button role="link" class="page_number" type="submit">{{ x }}</button> + <input role="link" class="page_number" type="submit" value="{{ x }}"> {% endif %} </form> {% endfor %} |