[enh] add no-js support

* image results have url, which can be clicked
* preferences full functionable without js
This commit is contained in:
Thomas Pointhuber 2014-11-03 22:18:40 +01:00
parent b4829891f9
commit 25312c53e1
3 changed files with 19 additions and 5 deletions

View file

@ -31,6 +31,12 @@
searx.method = "{{ method or 'POST' }}";
searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
</script>
<noscript>
<style type="text/css">
.tab-content > .active_if_nojs {display: block;}
.hide_if_nojs {display: none !important;overflow:none !important;}
</style>
</noscript>
</head>
<body>
<div class="container">