diff options
Diffstat (limited to 'tpl/daily.html')
-rw-r--r-- | tpl/daily.html | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/tpl/daily.html b/tpl/daily.html new file mode 100644 index 00000000..4bc8568b --- /dev/null +++ b/tpl/daily.html | |||
@@ -0,0 +1,63 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head>{include="includes"}</head> | ||
4 | <body> | ||
5 | <div id="pageheader">{include="page.header"}</div> | ||
6 | <div class="daily"> | ||
7 | <div class="dailyAbout"> | ||
8 | All links of one day<br>in a single page.<br> | ||
9 | {if="$previousday"} <a href="?do=daily&day={$previousday}"><b><</b>Previous day</a>{else}<b><</b>Previous day{/if} | ||
10 | - | ||
11 | {if="$nextday"}<a href="?do=daily&day={$nextday}">Next day<b>></b></a>{else}Next day<b>></b>{/if} | ||
12 | <br><br> | ||
13 | <a href="?do=dailyrss" title="1 RSS entry per day"><img src="images/feed-icon-14x14.png#" width="14" height="14" style="position:relative;top:3px; margin-right:4px;">Daily RSS Feed</a> | ||
14 | </div> | ||
15 | <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> | ||
16 | <div class="dailyDate"><span class="nomobile">———————————</span> {$day} <span class="nomobile">———————————</span></div> | ||
17 | <div style="clear:both;"></div> | ||
18 | |||
19 | {if="$linksToDisplay"} | ||
20 | <div id="daily_col1"> | ||
21 | {loop="col1"} | ||
22 | <div class="dailyEntry"> | ||
23 | <div style="float:right;position:relative;top:-1px;"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink"></a></div> | ||
24 | {if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if} | ||
25 | <div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div> | ||
26 | {if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if} | ||
27 | <div class="dailyEntryDescription">{$value.formatedDescription}</div> | ||
28 | </div> | ||
29 | {/loop} | ||
30 | </div> | ||
31 | |||
32 | <div id="daily_col2"> | ||
33 | {loop="col2"} | ||
34 | <div class="dailyEntry"> | ||
35 | <div style="float:right;position:relative;top:-1px;"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink"></a></div> | ||
36 | {if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if} | ||
37 | <div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div> | ||
38 | {if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if} | ||
39 | <div class="dailyEntryDescription">{$value.formatedDescription}</div> | ||
40 | </div> | ||
41 | {/loop} | ||
42 | </div> | ||
43 | |||
44 | <div id="daily_col3"> | ||
45 | {loop="col3"} | ||
46 | <div class="dailyEntry"> | ||
47 | <div style="float:right;position:relative;top:-1px;"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink"></a></div> | ||
48 | {if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if} | ||
49 | <div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div> | ||
50 | {if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if} | ||
51 | <div class="dailyEntryDescription">{$value.formatedDescription}</div> | ||
52 | </div> | ||
53 | {/loop} | ||
54 | </div> | ||
55 | {else} | ||
56 | <div style="text-align:center; padding:40px 0px 90px 0px;">No articles on this day.</div> | ||
57 | {/if} | ||
58 | <div style="clear:both;"></div> | ||
59 | <div style="text-align:center; padding-bottom:20px;"><img src="../images/squiggle_closing.png" width="66" height="61" alt="-"></div> | ||
60 | </div> | ||
61 | {include="page.footer"} | ||
62 | </body> | ||
63 | </html> \ No newline at end of file | ||