Merge pull request #6 from pointhi/template_oscar

[enh] add no-js support
This commit is contained in:
Thomas Pointhuber 2014-11-04 14:32:53 +01:00
commit a9b4f458e9
3 changed files with 19 additions and 5 deletions

View file

@ -32,6 +32,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">