diff --git a/css/shaarli.css b/css/shaarli.css
index f28a88a..f219c16 100644
--- a/css/shaarli.css
+++ b/css/shaarli.css
@@ -4228,8 +4228,9 @@ pre {
right: 22px; }
.linklist-filters a {
display: inline-block;
- margin: 3px 4px;
- padding: 5px 8px;
+ margin: 0 6px;
+ padding: 2px 8px;
+ font-size: 20px;
text-decoration: none; }
.linklist-filters a:hover {
background-color: #fff; }
@@ -4237,8 +4238,8 @@ pre {
background: #f5f5f5;
color: #252525; }
.linklist-filters .filter-on {
- background: #b0ddce;
- color: var(--main-color); }
+ background: #d28314;
+ color: #252525; }
.linklist-filters .filter-block {
background: #ac2925;
color: #f5f5f5; }
@@ -4322,14 +4323,15 @@ pre {
text-align: center; }
.linklist-item-tags {
- margin: 1em 0 1em 24px;
+ margin: 1em 0;
position: relative; }
.linklist-item-tags .ctrl-checkbox {
- position: absolute;
- left: -24px;
+ position: relative;
+ top: 7px;
margin-right: 8px; }
- .linklist-item-tags .label-tag {
- margin-bottom: 12px; }
+ .linklist-item-tags .ctrl-checkbox input[type="checkbox"] {
+ width: 24px;
+ height: 24px; }
h2.linklist-item-title {
position: relative;
@@ -4483,14 +4485,21 @@ h2.linklist-item-title {
.linklist-item-infos-controls-item a.fold-button .fa:hover {
border: 1px solid #0b5ea6; }
-.linkqrcode a:before {
- font-family: "ForkAwesome";
- content: "\f029";
- font-size: 24px;
- padding: 4px 12px; }
+.linkqrcode {
+ display: initial !important;
+ position: initial !important; }
+ .linkqrcode a:before {
+ font-family: "ForkAwesome";
+ content: "\f029";
+ font-size: 24px;
+ padding: 4px 12px; }
+ .linkqrcode a img {
+ display: none; }
-.linkqrcode a img {
- display: none; }
+#permalinkQrcode {
+ width: 240px !important;
+ height: 260px !important;
+ left: calc( 50% - 120px) !important; }
.footer-container {
margin: 20px 0;
@@ -5002,19 +5011,24 @@ form[name='linkform'].page-form {
.page-form .submit-buttons .button {
margin: auto; }
.subheader-form {
- padding-top: 32px;
- padding-bottom: 32px;
- height: 84px; }
+ height: 104px; }
+ .subheader-form div > div {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ gap: 12px 8px; }
.linklist-item {
padding: 0 1em; }
.linklist-paging {
- padding: 0; }
+ padding: 0;
+ min-height: 48px; }
.linklist-pages span:first-child {
margin-left: 8px; }
.linklist-item-infos {
position: relative;
top: 6px;
- right: -16px;
+ right: 16px;
+ min-width: calc( 100% + 32px);
display: flex;
justify-content: flex-end; }
.linklist-filters {
diff --git a/editlink.html b/editlink.html
index cd0bced..8791ac5 100644
--- a/editlink.html
+++ b/editlink.html
@@ -68,7 +68,7 @@
diff --git a/js/pluginsadmin.min.js b/js/pluginsadmin.min.js
index 7eb96db..70cd9d0 100644
--- a/js/pluginsadmin.min.js
+++ b/js/pluginsadmin.min.js
@@ -1 +1 @@
-!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=4)}({4:function(t,e){function r(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&(n=[].slice.call(n).reverse());for(var u=0;ut.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&(n=[].slice.call(n).reverse());for(var u=0;u1,(e={}).top=0-a.options.offset,e.left=0-a.options.offset,a.revalidate=function(){s(a)},a.load=function(t,e){var o=this.options;t&&void 0===t.length?u(t,e,o):E(t,(function(t){u(t,e,o)}))},a.destroy=function(){var t=a._util;a.options.container&&E(a.options.container,(function(e){O(e,"scroll",t.validateT)})),O(window,"scroll",t.validateT),O(window,"resize",t.validateT),O(window,"resize",t.saveViewportOffsetT),t.count=0,t.elements.length=0,t.destroyed=!0},l.validateT=S((function(){c(a)}),a.options.validateDelay,a),l.saveViewportOffsetT=S((function(){C(a.options.offset)}),a.options.saveViewportOffsetDelay,a),C(a.options.offset),E(a.options.breakpoints,(function(e){if(e.width>=window.screen.width)return t=e.src,!1})),setTimeout((function(){s(a)}))};function s(t){var e=t._util;e.elements=w(t.options),e.count=e.elements.length,e.destroyed&&(e.destroyed=!1,t.options.container&&E(t.options.container,(function(t){T(t,"scroll",e.validateT)})),T(window,"resize",e.saveViewportOffsetT),T(window,"resize",e.validateT),T(window,"scroll",e.validateT)),c(t)}function c(t){for(var e=t._util,o=0;oe.top?c:e.top,right:ae.left?f:e.left})}return!1}}return l(r,e)}function l(t,e){return t.right>=e.left&&t.bottom>=e.top&&t.left<=e.right&&t.top<=e.bottom}function u(e,n,s){if(!h(e,s.successClass)&&(n||s.loadInvisible||e.offsetWidth>0&&e.offsetHeight>0)){var c=m(e,t)||m(e,s.src);if(c){var a=c.split(s.separator),l=a[o&&a.length>1?1:0],u=m(e,s.srcset),v=y(e,"img"),g=e.parentNode,w=g&&y(g,"picture");if(v||void 0===e.src){var C=new Image,S=function(){s.error&&s.error(e,"invalid"),b(e,s.errorClass),O(C,"error",S),O(C,"load",_)},_=function(){v?w||d(e,l,u):e.style.backgroundImage='url("'+l+'")',f(e,s),O(C,"load",_),O(C,"error",S)};w&&(C=e,E(g.getElementsByTagName("source"),(function(t){p(t,i,s.srcset)}))),T(C,"error",S),T(C,"load",_),d(C,l,u)}else e.src=l,f(e,s)}else y(e,"video")?(E(e.getElementsByTagName("source"),(function(t){p(t,r,s.src)})),e.load(),f(e,s)):(s.error&&s.error(e,"missing"),b(e,s.errorClass))}}function f(t,e){b(t,e.successClass),e.success&&e.success(t),g(t,e.src),g(t,e.srcset),E(e.breakpoints,(function(e){g(t,e.src)}))}function p(t,e,o){var n=m(t,o);n&&(v(t,e,n),g(t,o))}function d(t,e,o){o&&v(t,i,o),t.src=e}function v(t,e,o){t.setAttribute(e,o)}function m(t,e){return t.getAttribute(e)}function g(t,e){t.removeAttribute(e)}function y(t,e){return t.nodeName.toLowerCase()===e}function h(t,e){return-1!==(" "+t.className+" ").indexOf(" "+e+" ")}function b(t,e){h(t,e)||(t.className+=" "+e)}function w(t){for(var e=[],o=t.root.querySelectorAll(t.selector),n=o.length;n--;e.unshift(o[n]));return e}function C(t){e.bottom=(window.innerHeight||document.documentElement.clientHeight)+t,e.right=(window.innerWidth||document.documentElement.clientWidth)+t}function T(t,e,o){t.attachEvent?t.attachEvent&&t.attachEvent("on"+e,o):t.addEventListener(e,o,{capture:!1,passive:!0})}function O(t,e,o){t.detachEvent?t.detachEvent&&t.detachEvent("on"+e,o):t.removeEventListener(e,o,{capture:!1,passive:!0})}function E(t,e){if(t&&e)for(var o=t.length,n=0;n1,(e={}).top=0-a.options.offset,e.left=0-a.options.offset,a.revalidate=function(){s(a)},a.load=function(t,e){var o=this.options;t&&void 0===t.length?u(t,e,o):E(t,(function(t){u(t,e,o)}))},a.destroy=function(){var t=a._util;a.options.container&&E(a.options.container,(function(e){O(e,"scroll",t.validateT)})),O(window,"scroll",t.validateT),O(window,"resize",t.validateT),O(window,"resize",t.saveViewportOffsetT),t.count=0,t.elements.length=0,t.destroyed=!0},l.validateT=S((function(){c(a)}),a.options.validateDelay,a),l.saveViewportOffsetT=S((function(){C(a.options.offset)}),a.options.saveViewportOffsetDelay,a),C(a.options.offset),E(a.options.breakpoints,(function(e){if(e.width>=window.screen.width)return t=e.src,!1})),setTimeout((function(){s(a)}))};function s(t){var e=t._util;e.elements=w(t.options),e.count=e.elements.length,e.destroyed&&(e.destroyed=!1,t.options.container&&E(t.options.container,(function(t){T(t,"scroll",e.validateT)})),T(window,"resize",e.saveViewportOffsetT),T(window,"resize",e.validateT),T(window,"scroll",e.validateT)),c(t)}function c(t){for(var e=t._util,o=0;oe.top?c:e.top,right:ae.left?f:e.left})}return!1}}return l(r,e)}function l(t,e){return t.right>=e.left&&t.bottom>=e.top&&t.left<=e.right&&t.top<=e.bottom}function u(e,n,s){if(!h(e,s.successClass)&&(n||s.loadInvisible||e.offsetWidth>0&&e.offsetHeight>0)){var c=m(e,t)||m(e,s.src);if(c){var a=c.split(s.separator),l=a[o&&a.length>1?1:0],u=m(e,s.srcset),v=y(e,"img"),g=e.parentNode,w=g&&y(g,"picture");if(v||void 0===e.src){var C=new Image,S=function(){s.error&&s.error(e,"invalid"),b(e,s.errorClass),O(C,"error",S),O(C,"load",_)},_=function(){v?w||d(e,l,u):e.style.backgroundImage='url("'+l+'")',f(e,s),O(C,"load",_),O(C,"error",S)};w&&(C=e,E(g.getElementsByTagName("source"),(function(t){p(t,i,s.srcset)}))),T(C,"error",S),T(C,"load",_),d(C,l,u)}else e.src=l,f(e,s)}else y(e,"video")?(E(e.getElementsByTagName("source"),(function(t){p(t,r,s.src)})),e.load(),f(e,s)):(s.error&&s.error(e,"missing"),b(e,s.errorClass))}}function f(t,e){b(t,e.successClass),e.success&&e.success(t),g(t,e.src),g(t,e.srcset),E(e.breakpoints,(function(e){g(t,e.src)}))}function p(t,e,o){var n=m(t,o);n&&(v(t,e,n),g(t,o))}function d(t,e,o){o&&v(t,i,o),t.src=e}function v(t,e,o){t.setAttribute(e,o)}function m(t,e){return t.getAttribute(e)}function g(t,e){t.removeAttribute(e)}function y(t,e){return t.nodeName.toLowerCase()===e}function h(t,e){return-1!==(" "+t.className+" ").indexOf(" "+e+" ")}function b(t,e){h(t,e)||(t.className+=" "+e)}function w(t){for(var e=[],o=t.root.querySelectorAll(t.selector),n=o.length;n--;e.unshift(o[n]));return e}function C(t){e.bottom=(window.innerHeight||document.documentElement.clientHeight)+t,e.right=(window.innerWidth||document.documentElement.clientWidth)+t}function T(t,e,o){t.attachEvent?t.attachEvent&&t.attachEvent("on"+e,o):t.addEventListener(e,o,{capture:!1,passive:!0})}function O(t,e,o){t.detachEvent?t.detachEvent&&t.detachEvent("on"+e,o):t.removeEventListener(e,o,{capture:!1,passive:!0})}function E(t,e){if(t&&e)for(var o=t.length,n=0;n
{/if}
- {if="$page_max>1"}{$page_current} / {$page_max}{/if}
- {if="$previous_page_url"}
+ {if="$page_max > 1"}{$page_current} / {$page_max}{/if}
+ {if="$page_max > 1 && $previous_page_url"}
diff --git a/linklist.paging.html b/linklist.paging.html
index 471814a..a7acc0d 100644
--- a/linklist.paging.html
+++ b/linklist.paging.html
@@ -6,14 +6,14 @@
{/if}
{if="$page_max>1"}{$page_current} / {$page_max}{elseif="$page_max === 1"} {/if}
- {if="$previous_page_url"}
+ {if="$page_max > 1 && $previous_page_url"}
{/if}
-
+
{'Filters'|t}
diff --git a/page.footer.html b/page.footer.html
index 91becbf..6880a73 100644
--- a/page.footer.html
+++ b/page.footer.html
@@ -9,7 +9,7 @@
{$version}
{/if}
·
- {'The personal, minimalist, super-fast, database free, bookmarking service'|t} {'by the Shaarli community'|t} ·
+ {'The personal, minimalist, super fast, database-free, bookmarking service'|t} {'by the Shaarli community'|t} ·
{'Documentation'|t}
{loop="$plugins_footer.text"}
{$value}
@@ -34,7 +34,7 @@
{'Are you sure you want to delete this link?'|t}
{'Are you sure you want to delete this tag?'|t}
- {'The personal, minimalist, super-fast, database free, bookmarking service'|t} {'by the Shaarli community'|t}
+ {'The personal, minimalist, super fast, database-free, bookmarking service'|t} {'by the Shaarli community'|t}
diff --git a/page.header.html b/page.header.html
index 8dd6c9a..fb473d4 100644
--- a/page.header.html
+++ b/page.header.html
@@ -82,26 +82,27 @@
{if="!empty($search_term)"}
value="{$search_term}"
{/if}
- >
+ autocapitalize="off">
-{if="!empty( $links )"}
{include="linklist.paging"}
-{/if}
+
+{if="$is_logged_in && $template === 'linklist'"}