mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-27 01:50:29 +00:00
23 lines
643 B
Twig
23 lines
643 B
Twig
|
<div id="pocheit-form" class="messages info">
|
||
|
<center>
|
||
|
<form method="get" action="index.php">
|
||
|
<input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
|
||
|
<input type="submit" value="{% trans "save link!" %}" />
|
||
|
</form>
|
||
|
</center>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() {
|
||
|
|
||
|
$("#pocheit-form").hide();
|
||
|
|
||
|
$("#pocheit").click(function(){
|
||
|
$("#pocheit-form").toggle();
|
||
|
$("#pocheit").toggleClass("current");
|
||
|
$("#pocheit-arrow").toggleClass("arrow-down");
|
||
|
});
|
||
|
|
||
|
|
||
|
});
|
||
|
</script>
|