diff options
Diffstat (limited to 'tpl/daily.html')
-rw-r--r-- | tpl/daily.html | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/tpl/daily.html b/tpl/daily.html new file mode 100644 index 00000000..e05acc86 --- /dev/null +++ b/tpl/daily.html | |||
@@ -0,0 +1,60 @@ | |||
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 | <a href="?do=daily&day={$previousday}"><b><</b>Previous day</a> - | ||
10 | <a href="?do=daily&day={$nextday}">Next day<b>></b></a> | ||
11 | </div> | ||
12 | <div class="dailyTitle"><img src="../images/floral_left.png" width="51" height="50"> The Shaarli Daily <img src="../images/floral_right.png" width="51" height="50"></div> | ||
13 | <div class="dailyDate">——————————— {$day} ———————————</div> | ||
14 | <div style="clear:both;"></div> | ||
15 | |||
16 | {if="$linksToDisplay"} | ||
17 | <div style="float:left;position:relative; width:32%;"> | ||
18 | {loop="col1"} | ||
19 | <div class="dailyEntry"> | ||
20 | {if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if} | ||
21 | <div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div> | ||
22 | {if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if} | ||
23 | <div class="dailyEntryDescription">{$value.formatedDescription}</div> | ||
24 | <div style="width:100%;text-align:right"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle.png" width="25" height="26" title="permalink" alt="permalink"></a></div> | ||
25 | </div> | ||
26 | {/loop} | ||
27 | </div> | ||
28 | |||
29 | <div style="float:left;position:relative; width:32%;"> | ||
30 | {loop="col2"} | ||
31 | <div class="dailyEntry"> | ||
32 | {if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if} | ||
33 | <div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div> | ||
34 | {if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if} | ||
35 | <div class="dailyEntryDescription">{$value.formatedDescription}</div> | ||
36 | <div style="width:100%;text-align:right"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle.png" width="25" height="26" title="permalink" alt="permalink"></a></div> | ||
37 | </div> | ||
38 | {/loop} | ||
39 | </div> | ||
40 | |||
41 | <div style="float:left;position:relative; width:32%;"> | ||
42 | {loop="col3"} | ||
43 | <div class="dailyEntry"> | ||
44 | {if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if} | ||
45 | <div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div> | ||
46 | {if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if} | ||
47 | <div class="dailyEntryDescription">{$value.formatedDescription}</div> | ||
48 | <div style="width:100%;text-align:right"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle.png" width="25" height="26" title="permalink" alt="permalink"></a></div> | ||
49 | </div> | ||
50 | {/loop} | ||
51 | </div> | ||
52 | {else} | ||
53 | <div style="text-align:center; padding:40px 0px 90px 0px;">No articles on this day.</div> | ||
54 | {/if} | ||
55 | <div style="clear:both;"></div> | ||
56 | <div style="text-align:center; padding-bottom:20px;"><img src="../images/squiggle_closing.png" width="66" height="61" alt="-"></div> | ||
57 | </div> | ||
58 | {include="page.footer"} | ||
59 | </body> | ||
60 | </html> \ No newline at end of file | ||