diff options
author | tcit <tcit@tcit.fr> | 2014-03-23 23:52:05 +0100 |
---|---|---|
committer | tcit <tcit@tcit.fr> | 2014-03-23 23:52:05 +0100 |
commit | 2c4e7a1cea0e692b39055eec7a8ebf142839f120 (patch) | |
tree | 0e3a04e3a07c523c256dcd569fa99a5dd174b725 /themes/default/home.twig | |
parent | a33a3d2afb6a861e194599973e31e5e448617296 (diff) | |
download | wallabag-2c4e7a1cea0e692b39055eec7a8ebf142839f120.tar.gz wallabag-2c4e7a1cea0e692b39055eec7a8ebf142839f120.tar.zst wallabag-2c4e7a1cea0e692b39055eec7a8ebf142839f120.zip |
Fixes to search engine
Changed the search parameter from POST to GET.
Also, adapted the Baggy theme.
Diffstat (limited to 'themes/default/home.twig')
-rwxr-xr-x | themes/default/home.twig | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/themes/default/home.twig b/themes/default/home.twig index e3e8c6af..b6185df1 100755 --- a/themes/default/home.twig +++ b/themes/default/home.twig | |||
@@ -12,28 +12,7 @@ | |||
12 | {% include '_menu.twig' %} | 12 | {% include '_menu.twig' %} |
13 | {% endblock %} | 13 | {% endblock %} |
14 | {% block precontent %} | 14 | {% block precontent %} |
15 | <div id="search-form" class="messages info"> | ||
16 | <form method="post" action="index.php?view=search"> | ||
17 | <p> | ||
18 | <label>{% trans "Search" %}</label> : <input type="text" placeholder="{% trans "Enter your search here" %}" name="search" /> | ||
19 | <input type="submit" value="{% trans "Search" %} !"></input> | ||
20 | </p> | ||
21 | </form> | ||
22 | </div> | ||
23 | <script type="text/javascript"> | ||
24 | $(document).ready(function() { | ||
25 | 15 | ||
26 | $("#search-form").hide(); | ||
27 | |||
28 | $("#search").click(function(){ | ||
29 | $("#search-form").toggle(); | ||
30 | $("#search").toggleClass("current"); | ||
31 | $("#search-arrow").toggleClass("arrow-down"); | ||
32 | }); | ||
33 | |||
34 | |||
35 | }); | ||
36 | </script> | ||
37 | {% include '_sorting.twig' %} | 16 | {% include '_sorting.twig' %} |
38 | {% endblock %} | 17 | {% endblock %} |
39 | {% block content %} | 18 | {% block content %} |