From c133612f32849b76785635efe19d4afedcfd0248 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Tue, 2 Dec 2014 21:00:52 +0100 Subject: CSS: remove hardcoded style from templates Fixes shaarli/Shaarli#29 Style elements refactored as follows: - use existing ids and classes if possible, - else, define new ones and stick with the existing naming convention, - remove hardcoded style attributes from RainTPL templates. Exception: In tpl/tagcloud.html, the display size of each tag is computed at page generation. Signed-off-by: VirtualTam --- tpl/daily.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'tpl/daily.html') diff --git a/tpl/daily.html b/tpl/daily.html index 4bc8568b..c15a7062 100644 --- a/tpl/daily.html +++ b/tpl/daily.html @@ -10,17 +10,17 @@ - {if="$nextday"}Next day>{else}Next day>{/if}

- Daily RSS Feed + Daily RSS Feed
The Daily Shaarli
——————————— {$day} ———————————
-
+
{if="$linksToDisplay"}
{loop="col1"}
-
permalink
+ {if="$value.tags"}
{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}
{/if} {if="$value.thumbnail"}
{$value.thumbnail}
{/if} @@ -32,7 +32,7 @@
{loop="col2"}
-
permalink
+ {if="$value.tags"}
{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}
{/if} {if="$value.thumbnail"}
{$value.thumbnail}
{/if} @@ -44,7 +44,7 @@
{loop="col3"}
-
permalink
+ {if="$value.tags"}
{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}
{/if} {if="$value.thumbnail"}
{$value.thumbnail}
{/if} @@ -53,11 +53,10 @@ {/loop}
{else} -
No articles on this day.
+
No articles on this day.
{/if} -
-
-
+
-
{include="page.footer"} - \ No newline at end of file + -- cgit v1.2.3