From 411726c53a3e29540574c52f3a16edb060eb235e Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Thu, 20 Oct 2016 13:24:54 +0200 Subject: [PATCH] Daily template --- tpl/default/css/shaarli.css | 66 +++++++++++++++++++++ tpl/default/daily.html | 113 ++++++++++++++++++++++++++++++++++++ tpl/default/picwall.html | 3 +- tpl/default/tagcloud.html | 4 +- 4 files changed, 183 insertions(+), 3 deletions(-) create mode 100644 tpl/default/daily.html diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index e73375d4..ad7bcabd 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css @@ -801,6 +801,7 @@ pre { */ .page-visitor { background: url(../img/noise.png) #fff; + color: #000; } #page404 { @@ -1003,10 +1004,15 @@ pre { text-decoration: none; } +#cloudtag .count { + color: #7f7f7f; +} + /** * Picture wall CSS */ #picwall_container { + margin: 0 10px 10px 10px; color: #fff; background-color: #000; clear: both; @@ -1068,3 +1074,63 @@ pre { /* IE6–IE9 */ text-shadow: 2px 2px 1px #000000; } + +/** + * DAILY + */ +.daily-desc { + color: #7f7f7f; + font-size: 0.8em; +} + +.daily-about a { + color: #343434; + text-decoration: none; +} + +.daily-about a:hover { + color: #7f7f7f; +} + +.daily-about h3:before, .daily-about h3:after { + display: block; + content:""; + background: linear-gradient(to right, #d5d4d4, #252525, #d5d4d4); + height: 1px; + width: 90%; + margin: 10px auto; +} + +.daily-entry .daily-entry-title:after { + display: block; + content:""; + background: linear-gradient(to right, #fff, #515151, #fff); + height: 1px; + width: 70%; + margin: 5px auto; +} + +.daily-entry .daily-entry-title { + margin: 10px 0 0 0; +} + +.daily-entry .daily-entry-title a { + color: #000; + text-decoration: none; +} + +.daily-entry .daily-entry-description { + padding: 5px 5px 0 5px; + font-size: 0.9em; + text-align: justify; +} + +.daily-entry .daily-entry-tags { + padding: 0 5px 5px 5px; + font-size: 0.8em; +} + +.daily-entry-thumbnail { + float: left; + margin: 15px 5px 5px 5px; +} \ No newline at end of file diff --git a/tpl/default/daily.html b/tpl/default/daily.html new file mode 100644 index 00000000..9efe3fd1 --- /dev/null +++ b/tpl/default/daily.html @@ -0,0 +1,113 @@ + + + + {include="includes"} + + +{include="page.header"} + +
+
+
+

+ The Daily Shaarli + +

+ +
+ {loop="$plugin_start_zone"} + {$value} + {/loop} +
+ +
+ +
+
+ {if="$previousday"} + + + Previous day + + {/if} +
+
+ All links of one day in a single page. +
+
+ {if="$nextday"} + + Next day + + + {/if} +
+
+
+

{function="strftime('%A %d, %B %Y', $day)"}

+ +
+ {loop="$daily_about_plugin"} + {$value} + {/loop} +
+
+
+ + + {if="$linksToDisplay"} +
+ {loop="$cols"} + {if="isset($value[0])"} +
+ {loop="value"} + {$link=$value} +
+
+ + + + {$link.title} +
+ {$thumb=thumbnail($value.url)} + {if="$thumb!=false"} +
{$thumb}
+ {/if} +
{$link.formatedDescription}
+ {if="$link.tags"} + + {/if} +
+ {loop="$link.link_plugin"} + {$value} + {/loop} +
+
+ {/loop} +
+ {/if} + {/loop} +
+ {else} +
No articles on this day.
+ {/if} + +
+ +
+ {loop="$plugin_end_zone"} + {$value} + {/loop} +
+
+
+{include="page.footer"} + + + diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 686f506c..03f3c949 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -2,7 +2,6 @@ {include="includes"} - {include="page.header"} @@ -28,6 +27,7 @@ {/loop} {/loop} +
@@ -39,6 +39,7 @@
{include="page.footer"} +