summaryrefslogtreecommitdiff
path: root/searx/templates/default/base.html
diff options
context:
space:
mode:
authordalf <alex@al-f.net>2014-10-26 11:14:05 +0100
committerdalf <alex@al-f.net>2014-10-26 11:14:05 +0100
commita71b326d9e210da2d4ed67fade819c0433fb95d3 (patch)
treedb1803ef0a91a4c90d655ea1f909b7c922c66c8d /searx/templates/default/base.html
parentbe4d219ae73240337fa25c8833b5fd91ddc1272b (diff)
[mod] default template modifications
- more smartphone friendly - more text browser friendly - next button always on the right - in case of small screen supporting touch event, categories are displayed on one line with a scroll
Diffstat (limited to 'searx/templates/default/base.html')
-rw-r--r--searx/templates/default/base.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/default/base.html b/searx/templates/default/base.html
index da5ae905f..c231bf8cc 100644
--- a/searx/templates/default/base.html
+++ b/searx/templates/default/base.html
@@ -13,10 +13,6 @@
{% block head %}
<link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
{% endblock %}
- <script type="text/javascript">
- searx = {};
- searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
- </script>
</head>
<body>
<div id="container">
@@ -26,6 +22,10 @@
<script src="{{ url_for('static', filename='js/mootools-core-1.4.5-min.js') }}" ></script>
<script src="{{ url_for('static', filename='js/mootools-autocompleter-1.1.2-min.js') }}" ></script>
{% endif %}
+<script type="text/javascript">
+ searx = {};
+ searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
+</script>
<script src="{{ url_for('static', filename='js/searx.js') }}" ></script>
</div>
</body>