From 79a0dfe9cc658cbfafebac0aa9f1c2953faff777 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 18 Dec 2016 14:23:24 +0100 Subject: Apply v0.8.2 changes, add opensearch tpl, add favicon --- tpl/default/css/shaarli.css | 7 ++-- tpl/default/editlink.html | 7 +++- tpl/default/feed.atom.html | 4 +-- tpl/default/img/favicon.png | Bin 0 -> 41600 bytes tpl/default/includes.html | 6 ++-- tpl/default/linklist.html | 8 ++--- tpl/default/linklist.paging.html | 10 +++--- tpl/default/loginform.html | 20 +++++++----- tpl/default/opensearch.html | 45 ++++++++++++++++++++++++++ tpl/default/page.header.html | 14 +++----- tpl/default/tools.html | 68 +++++++++++++++++++++------------------ 11 files changed, 118 insertions(+), 71 deletions(-) create mode 100644 tpl/default/img/favicon.png create mode 100644 tpl/default/opensearch.html (limited to 'tpl') diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index fd0a144f..f717b99a 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css @@ -119,8 +119,9 @@ pre { color: #b0ddce; } -.pure-menu-link:hover, -.pure-menu-selected .pure-menu-link:hover { +.pure-menu-link:hover, .pure-menu-link:focus, +.pure-menu-selected .pure-menu-link:hover, +.pure-menu-selected .pure-menu-link:focus { color: #d1fff0; background: transparent; } @@ -375,7 +376,7 @@ pre { @media screen and (min-width: 64em) { #content { - margin-top: 34px; + margin-top: 33px; } } diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 3c9b5cda..1708bee1 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -4,14 +4,19 @@ {include="includes"} - {if="$source !== 'firefoxsocialapi'"} + {if="$source !== 'firefoxsocialapi' && $source !== 'bookmarklet'"} {include="page.header"} + {else} +
Shaare to: {$shaarlititle}
{/if}

{'Shaare'|t}

+ {if="isset($link.id)"} + + {/if}
diff --git a/tpl/default/feed.atom.html b/tpl/default/feed.atom.html index 2ebb162a..c8ab1722 100644 --- a/tpl/default/feed.atom.html +++ b/tpl/default/feed.atom.html @@ -29,9 +29,7 @@ {if="$show_dates"} {$value.iso_date} {/if} - - - + {loop="$value.taglist"} {/loop} diff --git a/tpl/default/img/favicon.png b/tpl/default/img/favicon.png new file mode 100644 index 00000000..4644321b Binary files /dev/null and b/tpl/default/img/favicon.png differ diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 24c4bef0..7e0c4a64 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -2,9 +2,9 @@ - - + + @@ -17,4 +17,4 @@ {loop="$plugins_includes.css_files"} {/loop} - \ No newline at end of file + \ No newline at end of file diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index bdf7f3eb..051575dc 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html @@ -6,10 +6,6 @@ {include="page.header"} - - -
-
-
-

Firefox Social API

-

{'You need to browse your Shaarli over HTTPS to use this functionality.'|t}

+{if="$sslenabled"} +
+
+
+

Firefox Social API

+

{'You need to browse your Shaarli over HTTPS to use this functionality.'|t}

-
-
+{/if}
@@ -128,31 +130,33 @@
{include="page.footer"} -