mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 19:41:02 +00:00
23 lines
694 B
Twig
23 lines
694 B
Twig
|
<div id="search-form" class="messages info">
|
||
|
<form method="get" action="index.php">
|
||
|
<p>
|
||
|
<input type="hidden" name="view" value="search"></input>
|
||
|
<label>{% trans "Search" %}</label> : <input type="text" placeholder="{% trans "Enter your search here" %}" name="search" />
|
||
|
<input type="submit" value="{% trans "Search" %} !"></input>
|
||
|
</p>
|
||
|
</form>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() {
|
||
|
|
||
|
$("#search-form").hide();
|
||
|
|
||
|
$("#search").click(function(){
|
||
|
$("#search-form").toggle();
|
||
|
$("#search").toggleClass("current");
|
||
|
$("#search-arrow").toggleClass("arrow-down");
|
||
|
});
|
||
|
|
||
|
|
||
|
});
|
||
|
</script>
|