diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-04-03 14:42:03 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-04-03 14:42:03 +0200 |
commit | 0d67b00d5d3b7ce1b76b639dcc65c415a5f13439 (patch) | |
tree | 7c4d113bb1c3d90ef53e08138a2850576395780f /themes/baggy/_search-form.twig | |
parent | 99679d06884120c57f43b44e55e03595f1f87bed (diff) | |
parent | 7d2f1aa2793595aa6cdc58a58260184234cfa809 (diff) | |
download | wallabag-0d67b00d5d3b7ce1b76b639dcc65c415a5f13439.tar.gz wallabag-0d67b00d5d3b7ce1b76b639dcc65c415a5f13439.tar.zst wallabag-0d67b00d5d3b7ce1b76b639dcc65c415a5f13439.zip |
wallabag 1.6.0
Diffstat (limited to 'themes/baggy/_search-form.twig')
-rw-r--r-- | themes/baggy/_search-form.twig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/themes/baggy/_search-form.twig b/themes/baggy/_search-form.twig new file mode 100644 index 00000000..1fd4154e --- /dev/null +++ b/themes/baggy/_search-form.twig | |||
@@ -0,0 +1,21 @@ | |||
1 | <div id="search-form" class="messages info"> | ||
2 | <form method="get" action="index.php"> | ||
3 | <input type="hidden" name="view" value="search"></input> | ||
4 | <label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input type="text" name="search" /> | ||
5 | <input id="submit-search" type="submit" value="{% trans "Search" %} !"></input> | ||
6 | </form> | ||
7 | </div> | ||
8 | <script type="text/javascript"> | ||
9 | $(document).ready(function() { | ||
10 | |||
11 | $("#search-form").hide(); | ||
12 | |||
13 | $("#search").click(function(){ | ||
14 | $("#search-form").toggle(); | ||
15 | $("#search").toggleClass("current"); | ||
16 | $("#search-arrow").toggleClass("arrow-down"); | ||
17 | }); | ||
18 | |||
19 | |||
20 | }); | ||
21 | </script> \ No newline at end of file | ||