mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-21 18:11:10 +00:00
great improvements to tagging when saving a link system <3
This commit is contained in:
parent
2e4e94a7a4
commit
1394c0bd64
6 changed files with 22 additions and 2 deletions
|
@ -82,6 +82,9 @@ $("#tags2add").hide();
|
||||||
|
|
||||||
$('#showtaginput').click(function(){
|
$('#showtaginput').click(function(){
|
||||||
$('#tags2add').toggle();
|
$('#tags2add').toggle();
|
||||||
|
$('#plainurl').toggle();
|
||||||
|
$('#showtaginput').toggleClass('icon-tags');
|
||||||
|
$('#showtaginput').toggleClass('icon-check');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,9 @@
|
||||||
<a href="javascript: void(null);" id="bagit-form-close" class="close-button--popup close-button">×</a>
|
<a href="javascript: void(null);" id="bagit-form-close" class="close-button--popup close-button">×</a>
|
||||||
<input type="hidden" name="autoclose" value="1" />
|
<input type="hidden" name="autoclose" value="1" />
|
||||||
<input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
|
<input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
|
||||||
<span id="showtaginput">Add tags</span>
|
<div style="display:inline-block;cursor: pointer;" title="{% trans "Edit tags" %}" id="showtaginput" class="tool icon icon-tags">
|
||||||
|
<span>Add tags</span>
|
||||||
|
</div>
|
||||||
<input placeholder="tags, with commas" class="addurl" id="tags2add" name="tags" type="text"/>
|
<input placeholder="tags, with commas" class="addurl" id="tags2add" name="tags" type="text"/>
|
||||||
<span id="add-link-result"></span>
|
<span id="add-link-result"></span>
|
||||||
<input type="submit" value="{% trans "save link!" %}" />
|
<input type="submit" value="{% trans "save link!" %}" />
|
||||||
|
|
|
@ -745,6 +745,9 @@ a.add-to-wallabag-link-after:after {
|
||||||
.icon-evernote:before {
|
.icon-evernote:before {
|
||||||
content: "\e603";
|
content: "\e603";
|
||||||
}
|
}
|
||||||
|
.icon-tags:before {
|
||||||
|
content: "\e936";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* .icon-image class, for image-based icons
|
/* .icon-image class, for image-based icons
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
<a href="javascript: void(null);" id="bagit-form-close"> </a>
|
<a href="javascript: void(null);" id="bagit-form-close"> </a>
|
||||||
<form method="get" action="index.php" id="bagit-form-form">
|
<form method="get" action="index.php" id="bagit-form-form">
|
||||||
<input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
|
<input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
|
||||||
|
<div style="display:inline-block;cursor: pointer;" title="{% trans "Edit tags" %}" id="showtaginput" class="edit-tags">
|
||||||
<span id="showtaginput">Add tags</span>
|
<span id="showtaginput">Add tags</span>
|
||||||
|
</div>
|
||||||
<input placeholder="tags, with commas" class="addurl" id="tags2add" name="tags" type="text"/>
|
<input placeholder="tags, with commas" class="addurl" id="tags2add" name="tags" type="text"/>
|
||||||
<input type="submit" value="{% trans "save link!" %}" />
|
<input type="submit" value="{% trans "save link!" %}" />
|
||||||
<div id="add-link-result"></div>
|
<div id="add-link-result"></div>
|
||||||
|
|
|
@ -75,3 +75,13 @@ a.print span {
|
||||||
a.reload span {
|
a.reload span {
|
||||||
background-image: url('../img/default/reload.png');
|
background-image: url('../img/default/reload.png');
|
||||||
}
|
}
|
||||||
|
.edit-tags span {
|
||||||
|
background-image: url('../img/default/tags.png');
|
||||||
|
display: inline-block;
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
/* Hide textual content */
|
||||||
|
overflow: hidden;
|
||||||
|
text-align: left;
|
||||||
|
text-indent: -9999px;
|
||||||
|
}
|
||||||
|
|
BIN
themes/default/img/default/tags.png
Normal file
BIN
themes/default/img/default/tags.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 B |
Loading…
Add table
Add a link
Reference in a new issue