diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-09-30 14:14:40 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-10-28 15:11:57 +0200 |
commit | 94c1756562df22382ccd88fd202371a386c1801b (patch) | |
tree | 9c1542aee77605914729992a9b54d692985f4a90 /tpl/default/js | |
parent | 0926d263902c184bd4f4c2036cb8ee90f81c5060 (diff) | |
download | Shaarli-94c1756562df22382ccd88fd202371a386c1801b.tar.gz Shaarli-94c1756562df22382ccd88fd202371a386c1801b.tar.zst Shaarli-94c1756562df22382ccd88fd202371a386c1801b.zip |
Theme improvements: move thumbnails to the right and reduce margins overall
* Reduce multiple margins (markdown, space between block, etc.)
* Move thumbnails to the right in the same line as the title
* Move edit button as floating to the left
* Move fold/collapse and checkbox buttons as floating to the right
* Add a bunch of HTML ID in the linklist template
Relates to #877
Diffstat (limited to 'tpl/default/js')
-rw-r--r-- | tpl/default/js/shaarli.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/default/js/shaarli.js b/tpl/default/js/shaarli.js index 09b07eed..cf628e87 100644 --- a/tpl/default/js/shaarli.js +++ b/tpl/default/js/shaarli.js | |||
@@ -378,7 +378,7 @@ window.onload = function () { | |||
378 | var linkCheckboxes = document.querySelectorAll('.delete-checkbox'); | 378 | var linkCheckboxes = document.querySelectorAll('.delete-checkbox'); |
379 | var bar = document.getElementById('actions'); | 379 | var bar = document.getElementById('actions'); |
380 | [].forEach.call(linkCheckboxes, function(checkbox) { | 380 | [].forEach.call(linkCheckboxes, function(checkbox) { |
381 | checkbox.style.display = 'block'; | 381 | checkbox.style.display = 'inline-block'; |
382 | checkbox.addEventListener('click', function(event) { | 382 | checkbox.addEventListener('click', function(event) { |
383 | var count = 0; | 383 | var count = 0; |
384 | var linkCheckedCheckboxes = document.querySelectorAll('.delete-checkbox:checked'); | 384 | var linkCheckedCheckboxes = document.querySelectorAll('.delete-checkbox:checked'); |