Changes for page Linkding + SingleFile Archief
Last modified by XWikiGuest on 2026/03/11 21:04
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -57,6 +57,19 @@ 57 57 gap: 8px; 58 58 } 59 59 #ldsf-bookmarks li:hover { background: #3b4e60; } 60 +.sf-num { 61 + display: inline-flex; 62 + align-items: center; 63 + justify-content: center; 64 + width: 22px; 65 + height: 22px; 66 + border-radius: 50%; 67 + background: #df691a; 68 + color: #fff; 69 + font-size: 11px; 70 + font-weight: bold; 71 + flex-shrink: 0; 72 +} 60 60 #ldsf-bookmarks a { 61 61 color: #5bc0de; 62 62 text-decoration: none; ... ... @@ -184,7 +184,7 @@ 184 184 var title = bm.title || bm.website_title || bm.url; 185 185 var file = ldsfMatch(bm.url); 186 186 if (file) { archived++; ldsf_fileMap[i] = file; } 187 - html += '<li>'; 200 + html += '<li><span class="sf-num">' + (i + 1) + '</span>'; 188 188 if (file) html += '<span class="sf-btn" data-sf="' + i + '" title="Archief bekijken">📄</span>'; 189 189 html += '<a href="' + bm.url + '" target="_blank">' + title + '</a></li>'; 190 190 });