diff options
Diffstat (limited to 'tpl/default/daily.html')
-rw-r--r-- | tpl/default/daily.html | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/tpl/default/daily.html b/tpl/default/daily.html new file mode 100644 index 00000000..d8c91078 --- /dev/null +++ b/tpl/default/daily.html | |||
@@ -0,0 +1,113 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | {include="includes"} | ||
5 | </head> | ||
6 | <body> | ||
7 | {include="page.header"} | ||
8 | |||
9 | <div class="pure-g"> | ||
10 | <div class="pure-u-lg-1-6 pure-u-1-24"></div> | ||
11 | <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor" id="daily"> | ||
12 | <h2 class="window-title"> | ||
13 | {'The Daily Shaarli'|t} | ||
14 | <a href="?do=dailyrss" title="{'1 RSS entry per day'|t}"><i class="fa fa-rss"></i></a> | ||
15 | </h2> | ||
16 | |||
17 | <div id="plugin_zone_start_daily" class="plugin_zone"> | ||
18 | {loop="$plugin_start_zone"} | ||
19 | {$value} | ||
20 | {/loop} | ||
21 | </div> | ||
22 | |||
23 | <div class="daily-about"> | ||
24 | |||
25 | <div class="pure-g"> | ||
26 | <div class="pure-u-lg-1-3 pure-u-1 center"> | ||
27 | {if="$previousday"} | ||
28 | <a href="?do=daily&day={$previousday}"> | ||
29 | <i class="fa fa-arrow-left"></i> | ||
30 | {'Previous day'|t} | ||
31 | </a> | ||
32 | {/if} | ||
33 | </div> | ||
34 | <div class="daily-desc pure-u-lg-1-3 pure-u-1 center"> | ||
35 | {'All links of one day in a single page.'|t} | ||
36 | </div> | ||
37 | <div class="pure-u-lg-1-3 pure-u-1 center"> | ||
38 | {if="$nextday"} | ||
39 | <a href="?do=daily&day={$nextday}"> | ||
40 | {'Next day'|t} | ||
41 | <i class="fa fa-arrow-right"></i> | ||
42 | </a> | ||
43 | {/if} | ||
44 | </div> | ||
45 | </div> | ||
46 | <div> | ||
47 | <h3 class="window-subtitle">{function="strftime('%A %d, %B %Y', $day)"}</h3> | ||
48 | |||
49 | <div id="plugin_zone_about_daily" class="plugin_zone"> | ||
50 | {loop="$daily_about_plugin"} | ||
51 | {$value} | ||
52 | {/loop} | ||
53 | </div> | ||
54 | </div> | ||
55 | </div> | ||
56 | |||
57 | |||
58 | {if="$linksToDisplay"} | ||
59 | <div class="pure-g"> | ||
60 | {loop="$cols"} | ||
61 | {if="isset($value[0])"} | ||
62 | <div class="pure-u-lg-1-3 pure-u-1"> | ||
63 | {loop="value"} | ||
64 | {$link=$value} | ||
65 | <div class="daily-entry"> | ||
66 | <div class="daily-entry-title center"> | ||
67 | <a href="?{$link.shorturl}" title="{'Permalink'|t}"> | ||
68 | <i class="fa fa-link"></i> | ||
69 | </a> | ||
70 | <a href="{$link.real_url}">{$link.title}</a> | ||
71 | </div> | ||
72 | {$thumb=thumbnail($value.url)} | ||
73 | {if="$thumb!=false"} | ||
74 | <div class="daily-entry-thumbnail">{$thumb}</div> | ||
75 | {/if} | ||
76 | <div class="daily-entry-description">{$link.formatedDescription}</div> | ||
77 | {if="$link.tags"} | ||
78 | <div class="daily-entry-tags center"> | ||
79 | {loop="link.taglist"} | ||
80 | <span class="label label-tag" title="Add tag"> | ||
81 | {$value} | ||
82 | </span> | ||
83 | {/loop} | ||
84 | </div> | ||
85 | {/if} | ||
86 | <div class="dailyEntryFooter"> | ||
87 | {loop="$link.link_plugin"} | ||
88 | {$value} | ||
89 | {/loop} | ||
90 | </div> | ||
91 | </div> | ||
92 | {/loop} | ||
93 | </div> | ||
94 | {/if} | ||
95 | {/loop} | ||
96 | </div> | ||
97 | {else} | ||
98 | <div class="dailyNoEntry">No articles on this day.</div> | ||
99 | {/if} | ||
100 | |||
101 | <div class="clear"></div> | ||
102 | |||
103 | <div id="plugin_zone_end_picwall" class="plugin_zone"> | ||
104 | {loop="$plugin_end_zone"} | ||
105 | {$value} | ||
106 | {/loop} | ||
107 | </div> | ||
108 | </div> | ||
109 | </div> | ||
110 | {include="page.footer"} | ||
111 | </body> | ||
112 | </html> | ||
113 | |||