]> git.immae.eu Git - github/wallabag/wallabag.git/blame - themes/baggy/_search-form.twig
Merge pull request #611 from wallabag/fix-french-locale
[github/wallabag/wallabag.git] / themes / baggy / _search-form.twig
CommitLineData
2c4e7a1c 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>