mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-14 13:01:09 +00:00
2c4e7a1cea
Changed the search parameter from POST to GET. Also, adapted the Baggy theme.
21 lines
No EOL
707 B
Twig
21 lines
No EOL
707 B
Twig
<div id="search-form" class="messages info">
|
|
<form method="get" action="index.php">
|
|
<input type="hidden" name="view" value="search"></input>
|
|
<label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input type="text" name="search" />
|
|
<input id="submit-search" type="submit" value="{% trans "Search" %} !"></input>
|
|
</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> |