mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-21 18:11:10 +00:00
can add tags from the saving link popup
This commit is contained in:
parent
cdde19d609
commit
14d98f0611
2 changed files with 9 additions and 0 deletions
|
@ -4,6 +4,8 @@ $.fn.ready(function() {
|
||||||
$bagitForm = $('#bagit-form'),
|
$bagitForm = $('#bagit-form'),
|
||||||
$bagitFormForm = $('#bagit-form-form');
|
$bagitFormForm = $('#bagit-form-form');
|
||||||
|
|
||||||
|
$("#tags2add").hide();
|
||||||
|
|
||||||
/* ==========================================================================
|
/* ==========================================================================
|
||||||
bag it link and close button
|
bag it link and close button
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
@ -78,6 +80,11 @@ $.fn.ready(function() {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#showtaginput').click(function(){
|
||||||
|
$('#tags2add').toggle();
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
/* ==========================================================================
|
/* ==========================================================================
|
||||||
Keyboard gestion
|
Keyboard gestion
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
<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>
|
||||||
|
<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!" %}" />
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue