feat: Add Shaarli Professional Theme with modern sidebar layout, light/dark mode, and pagination template.

This commit is contained in:
2026-01-17 20:22:43 -05:00
parent 0b6b45b1d7
commit b21d97d179
2 changed files with 88 additions and 4 deletions
+4 -4
View File
@@ -1,4 +1,3 @@
{if="$page_max > 1"}
{if="isset($result_count) && $result_count > 0"}
{$total=$result_count}
{else}
@@ -14,12 +13,14 @@
{/if}
{$from=($page_current - 1) * $links_per_page + 1}
{$to=min($total, ($page_current - 1) * $links_per_page + $links_per_page)}
<div class="paging">
<div class="paging{if=" $page_max <=1"} single-page{/if}">
{if="$page_max > 1"}
<div class="paging-links">
{if="$next_page_url"}<a href="{$next_page_url}" class="paging-newer" title="Newer"><i class="mdi mdi-chevron-left"></i></a>{/if}
<div class="paging-current">page <strong>{$page_current}</strong> / {$page_max}</div>
{if="$previous_page_url"}<a href="{$previous_page_url}" class="paging-older" title="Older"><i class="mdi mdi-chevron-right"></i></a>{/if}
</div>
{/if}
<div class="paging-stats">
Bookmarks <strong>{$from}</strong> - <strong>{$to}</strong> / <strong>{$total}</strong>
</div>
@@ -28,5 +29,4 @@
<a {loop="$value.attr" }{$key}="{$value}">{$value.html}</a>
</div>
{/loop}
</div>
{/if}
</div>