Sfoglia il codice sorgente

[enh] browser autocompletition turned off

asciimoo 11 anni fa
parent
commit
3373b2c298
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1
    1
      searx/templates/index.html
  2. 1
    1
      searx/templates/results.html

+ 1
- 1
searx/templates/index.html Vedi File

@@ -6,7 +6,7 @@
6 6
 <div class="center">
7 7
     <h1>searx</h1>
8 8
     <form method="post" action="">
9
-        <input type="text" name="q" tabindex="1" />
9
+        <input type="text" name="q" tabindex="1" autocomplete="off" />
10 10
         <input type="submit" value="search" />
11 11
         <p>
12 12
         {% for engine in engines %}

+ 1
- 1
searx/templates/results.html Vedi File

@@ -1,7 +1,7 @@
1 1
 {% extends "base.html" %}
2 2
 {% block content %}
3 3
 <form method="post" action="">
4
-    <input type="text" name="q" value="{{ q }}"/>
4
+    <input type="text" name="q" value="{{ q }}" autocomplete="off" />
5 5
     <input type="submit" value="search" />
6 6
 </form>
7 7
 {% for result in results %}