From 009ce9358168cc06c76fc2f4162829e552e633a3 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 14 Jan 2017 15:51:30 +0100 Subject: Move default template to vintage folder --- tpl/default/linklist.html | 151 ---------------------------------------------- 1 file changed, 151 deletions(-) delete mode 100644 tpl/default/linklist.html (limited to 'tpl/default/linklist.html') diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html deleted file mode 100644 index 5accc92f..00000000 --- a/tpl/default/linklist.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - {include="includes"} - - - - - - - {include="page.footer"} - - - - - - -- cgit v1.2.3 From 402b03464812aaec76bc841ca7dacb775baf1e03 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 14 Jan 2017 15:52:17 +0100 Subject: Introduce the new default Shaarli template --- tpl/default/linklist.html | 246 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 246 insertions(+) create mode 100644 tpl/default/linklist.html (limited to 'tpl/default/linklist.html') diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html new file mode 100644 index 00000000..639fbe76 --- /dev/null +++ b/tpl/default/linklist.html @@ -0,0 +1,246 @@ + + + + {include="includes"} + + +{include="page.header"} + +
+ {if="!empty($linkcount)"} + {$linkcount} {function="t('shaare', 'shaares', $linkcount)"} + {if="$privateLinkcount>0"} +
{$privateLinkcount} {function="t('private link', 'private links', $privateLinkcount)"} + {/if} + {/if} +
+ + + +{loop="$plugins_header.fields_toolbar"} +
+
+ {loop="$value.inputs"} + + {/loop} +
+
+{/loop} + + + + + +
+
+
+ {include="linklist.paging"} +
+
+ +{include="page.footer"} + + -- cgit v1.2.3 From 7040169069322d72cec4276b7b812291b57a0d40 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 21 Feb 2017 14:16:48 +0100 Subject: Multiple minor improvements and bugfixes regarding the new templates: * Add API settings in `configure.html` * Fix textarea autoresize * Load user.css from data folder * Move fold/expand all button to the right and fix an issue with already folded items * Reset datetime display to international datetime * Temporarilly remove JS login panel (need improvement and integration with the plugin system) * Body background is slightly lighter * Fix an issue where thumbnails were hidden by description * Fix an issue where private orange bar wasn't displayed with thumbnails * Remove the gradient bar behind titles * Fix empty bookmarklet name in Firefox --- tpl/default/linklist.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/default/linklist.html') diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 639fbe76..a9712704 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html @@ -174,7 +174,7 @@ {$updated=$value.updated_timestamp ? 'Edited: '. strftime('%c', $value.updated_timestamp) : 'Permalink'} - {function="strftime('%d %B %Y %H:%M', $value.timestamp)"}{if="$value.updated_timestamp"}*{/if} + {function="strftime('%c', $value.timestamp)"}{if="$value.updated_timestamp"}*{/if} · {/if} -- cgit v1.2.3