diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-02-10 22:23:48 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-02-10 22:23:48 +0100 |
commit | d7d88631e125c98cc2e7432c8147afc2ceda3d42 (patch) | |
tree | b567279f52a2fea6271a0541c8937e9f2b91c0a5 /themes/default | |
parent | 28c42eb1d83856d014a74fe0370d6d0a7a892580 (diff) | |
parent | 9fdd88436dec8abcf171518f7fa99d29bc9d5672 (diff) | |
download | wallabag-d7d88631e125c98cc2e7432c8147afc2ceda3d42.tar.gz wallabag-d7d88631e125c98cc2e7432c8147afc2ceda3d42.tar.zst wallabag-d7d88631e125c98cc2e7432c8147afc2ceda3d42.zip |
Merge pull request #1015 from wallabag/savewithtags
Savewithtags
Diffstat (limited to 'themes/default')
-rwxr-xr-x | themes/default/_pocheit-form.twig | 4 | ||||
-rwxr-xr-x | themes/default/css/style-default.css | 10 | ||||
-rw-r--r-- | themes/default/img/default/tags.png | bin | 0 -> 332 bytes |
3 files changed, 14 insertions, 0 deletions
diff --git a/themes/default/_pocheit-form.twig b/themes/default/_pocheit-form.twig index 8c982db0..71991341 100755 --- a/themes/default/_pocheit-form.twig +++ b/themes/default/_pocheit-form.twig | |||
@@ -2,6 +2,10 @@ | |||
2 | <a href="javascript: void(null);" id="bagit-form-close"> </a> | 2 | <a href="javascript: void(null);" id="bagit-form-close"> </a> |
3 | <form method="get" action="index.php" id="bagit-form-form"> | 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 | <div style="display:inline-block;cursor: pointer;" title="{% trans "Edit tags" %}" id="showtaginput" class="edit-tags"> | ||
6 | <span id="showtaginput">Add tags</span> | ||
7 | </div> | ||
8 | <input placeholder="tags, with commas" class="addurl" id="tags2add" name="tags" type="text"/> | ||
5 | <input type="submit" value="{% trans "save link!" %}" /> | 9 | <input type="submit" value="{% trans "save link!" %}" /> |
6 | <div id="add-link-result"></div> | 10 | <div id="add-link-result"></div> |
7 | </form> | 11 | </form> |
diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css index 39a4df90..da8703f2 100755 --- a/themes/default/css/style-default.css +++ b/themes/default/css/style-default.css | |||
@@ -75,3 +75,13 @@ a.print span { | |||
75 | a.reload span { | 75 | a.reload span { |
76 | background-image: url('../img/default/reload.png'); | 76 | background-image: url('../img/default/reload.png'); |
77 | } | 77 | } |
78 | .edit-tags span { | ||
79 | background-image: url('../img/default/tags.png'); | ||
80 | display: inline-block; | ||
81 | width: 16px; | ||
82 | height: 16px; | ||
83 | /* Hide textual content */ | ||
84 | overflow: hidden; | ||
85 | text-align: left; | ||
86 | text-indent: -9999px; | ||
87 | } | ||
diff --git a/themes/default/img/default/tags.png b/themes/default/img/default/tags.png new file mode 100644 index 00000000..3714203e --- /dev/null +++ b/themes/default/img/default/tags.png | |||
Binary files differ | |||