c133612f32
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 <virtualtam@flibidi.org>
62 lines
3.5 KiB
HTML
62 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>{include="includes"}</head>
|
|
<body>
|
|
<div id="pageheader">{include="page.header"}</div>
|
|
<div class="daily">
|
|
<div class="dailyAbout">
|
|
All links of one day<br>in a single page.<br>
|
|
{if="$previousday"} <a href="?do=daily&day={$previousday}"><b><</b>Previous day</a>{else}<b><</b>Previous day{/if}
|
|
-
|
|
{if="$nextday"}<a href="?do=daily&day={$nextday}">Next day<b>></b></a>{else}Next day<b>></b>{/if}
|
|
<br><br>
|
|
<a href="?do=dailyrss" title="1 RSS entry per day"><img src="images/feed-icon-14x14.png#">Daily RSS Feed</a>
|
|
</div>
|
|
<div class="dailyTitle"><img src="../images/floral_left.png" width="51" height="50" class="nomobile"> The Daily Shaarli <img src="../images/floral_right.png" width="51" height="50" class="nomobile"></div>
|
|
<div class="dailyDate"><span class="nomobile">———————————</span> {$day} <span class="nomobile">———————————</span></div>
|
|
<div class="clear"></div>
|
|
|
|
{if="$linksToDisplay"}
|
|
<div id="daily_col1">
|
|
{loop="col1"}
|
|
<div class="dailyEntry">
|
|
<div class="dailyEntryPermalink"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink"></a></div>
|
|
{if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if}
|
|
<div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div>
|
|
{if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if}
|
|
<div class="dailyEntryDescription">{$value.formatedDescription}</div>
|
|
</div>
|
|
{/loop}
|
|
</div>
|
|
|
|
<div id="daily_col2">
|
|
{loop="col2"}
|
|
<div class="dailyEntry">
|
|
<div class="dailyEntryPermalink"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink"></a></div>
|
|
{if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if}
|
|
<div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div>
|
|
{if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if}
|
|
<div class="dailyEntryDescription">{$value.formatedDescription}</div>
|
|
</div>
|
|
{/loop}
|
|
</div>
|
|
|
|
<div id="daily_col3">
|
|
{loop="col3"}
|
|
<div class="dailyEntry">
|
|
<div class="dailyEntryPermalink"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink"></a></div>
|
|
{if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if}
|
|
<div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div>
|
|
{if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if}
|
|
<div class="dailyEntryDescription">{$value.formatedDescription}</div>
|
|
</div>
|
|
{/loop}
|
|
</div>
|
|
{else}
|
|
<div class="dailyNoEntry">No articles on this day.</div>
|
|
{/if}
|
|
<div id="closing"><img src="../images/squiggle_closing.png" width="66" height="61" alt="-"></div>
|
|
</div>
|
|
{include="page.footer"}
|
|
</body>
|
|
</html>
|