diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-03-27 18:21:30 +0200 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-03-27 18:21:30 +0200 |
commit | e68348f6271fab591960902feebe167d01e15468 (patch) | |
tree | 32c4d866fe41f7f7ff13c100bad67e94b6d76f9b /themes/default/_pocheit-form.twig | |
parent | d60733055714bbe43b9f7d4f4ade8576f1042bb1 (diff) | |
download | wallabag-e68348f6271fab591960902feebe167d01e15468.tar.gz wallabag-e68348f6271fab591960902feebe167d01e15468.tar.zst wallabag-e68348f6271fab591960902feebe167d01e15468.zip |
wallabag a link in wallabag now in default theme, issue #505
Diffstat (limited to 'themes/default/_pocheit-form.twig')
-rwxr-xr-x | themes/default/_pocheit-form.twig | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/themes/default/_pocheit-form.twig b/themes/default/_pocheit-form.twig index 13096159..8c982db0 100755 --- a/themes/default/_pocheit-form.twig +++ b/themes/default/_pocheit-form.twig | |||
@@ -1,22 +1,8 @@ | |||
1 | <div id="pocheit-form" class="messages info"> | 1 | <div id="bagit-form" class="messages info"> |
2 | <center> | 2 | <a href="javascript: void(null);" id="bagit-form-close"> </a> |
3 | <form method="get" action="index.php"> | 3 | <form method="get" action="index.php" id="bagit-form-form"> |
4 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | 4 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> |
5 | <input type="submit" value="{% trans "save link!" %}" /> | 5 | <input type="submit" value="{% trans "save link!" %}" /> |
6 | <div id="add-link-result"></div> | ||
6 | </form> | 7 | </form> |
7 | </center> | ||
8 | </div> | 8 | </div> |
9 | <script type="text/javascript"> | ||
10 | $(document).ready(function() { | ||
11 | |||
12 | $("#pocheit-form").hide(); | ||
13 | |||
14 | $("#pocheit").click(function(){ | ||
15 | $("#pocheit-form").toggle(); | ||
16 | $("#pocheit").toggleClass("current"); | ||
17 | $("#pocheit-arrow").toggleClass("arrow-down"); | ||
18 | }); | ||
19 | |||
20 | |||
21 | }); | ||
22 | </script> | ||