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