aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/_pocheit-form.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-03-27 19:44:28 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-03-27 19:44:28 +0100
commit04fbe8f5efdf7fda0505c5aab9353d2cc61507ed (patch)
tree691934473700749cd12dfd07771dd90c3c58622e /themes/default/_pocheit-form.twig
parent9591ee2603dd107cd49b61957d0f71a652b7bea3 (diff)
parente68348f6271fab591960902feebe167d01e15468 (diff)
downloadwallabag-04fbe8f5efdf7fda0505c5aab9353d2cc61507ed.tar.gz
wallabag-04fbe8f5efdf7fda0505c5aab9353d2cc61507ed.tar.zst
wallabag-04fbe8f5efdf7fda0505c5aab9353d2cc61507ed.zip
Merge pull request #586 from mariroz/wb-link-in-wb
wallabag a link in wallabag now in default theme, issue #505
Diffstat (limited to 'themes/default/_pocheit-form.twig')
-rwxr-xr-xthemes/default/_pocheit-form.twig26
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">&nbsp;</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>