]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - tpl/default/daily.html
Merge pull request #1616 from dimtion/fix-api-redirect
[github/shaarli/Shaarli.git] / tpl / default / daily.html
1 <!DOCTYPE html>
2 <html{if="$language !== 'auto'"} lang="{$language}"{/if}>
3 <head>
4 {include="includes"}
5 </head>
6 <body>
7 {include="page.header"}
8
9 <div class="pure-g">
10 <div class="pure-u-1 pure-alert pure-alert-success tag-sort">
11 <a href="{$base_path}/daily?day">{'Daily'|t}</a>
12 <a href="{$base_path}/daily?week">{'Weekly'|t}</a>
13 <a href="{$base_path}/daily?month">{'Monthly'|t}</a>
14 </div>
15 </div>
16
17
18 <div class="pure-g">
19 <div class="pure-u-lg-1-6 pure-u-1-24"></div>
20 <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor" id="daily">
21 <h2 class="window-title">
22 {$localizedType} Shaarli
23 <a href="{$base_path}/daily-rss?{$type}"
24 title="{function="t('1 RSS entry per :type', '', 1, 'shaarli', [':type' => t($type)])"}"
25 >
26 <i class="fa fa-rss"></i>
27 </a>
28 </h2>
29
30 <div id="plugin_zone_start_daily" class="plugin_zone">
31 {loop="$plugin_start_zone"}
32 {$value}
33 {/loop}
34 </div>
35
36 <div class="daily-about">
37
38 <div class="pure-g">
39 <div class="pure-u-lg-1-3 pure-u-1 center">
40 {if="$previousday"}
41 <a href="{$base_path}/daily?{$type}={$previousday}">
42 <i class="fa fa-arrow-left"></i>
43 {function="t('Previous :type', '', 1, 'shaarli', [':type' => t($type)], true)"}
44 </a>
45 {/if}
46 </div>
47 <div class="daily-desc pure-u-lg-1-3 pure-u-1 center">
48 {function="t('All links of one :type in a single page.', '', 1, 'shaarli', [':type' => t($type)])"}
49 </div>
50 <div class="pure-u-lg-1-3 pure-u-1 center">
51 {if="$nextday"}
52 <a href="{$base_path}/daily?{$type}={$nextday}">
53 {function="t('Next :type', '', 1, 'shaarli', [':type' => t($type)], true)"}
54 <i class="fa fa-arrow-right"></i>
55 </a>
56 {/if}
57 </div>
58 </div>
59 <div>
60 <h3 class="window-subtitle">
61 {$dayDesc}
62 </h3>
63
64 <div id="plugin_zone_about_daily" class="plugin_zone">
65 {loop="$daily_about_plugin"}
66 {$value}
67 {/loop}
68 </div>
69 </div>
70 </div>
71
72
73 {if="$linksToDisplay"}
74 <div class="pure-g">
75 {loop="$cols"}
76 {if="isset($value[0])"}
77 <div class="pure-u-lg-1-3 pure-u-1">
78 {loop="value"}
79 {$link=$value}
80 <div class="daily-entry">
81 <div class="daily-entry-title center">
82 <a href="{$base_path}/?{$link.shorturl}" title="{'Permalink'|t}">
83 <i class="fa fa-link"></i>
84 </a>
85 <a href="{$link.real_url}">{$link.title}</a>
86 </div>
87 {if="$thumbnails_enabled && !empty($link.thumbnail)"}
88 <div class="daily-entry-thumbnail">
89 <img data-src="{$root_path}/{$link.thumbnail}#" class="b-lazy"
90 src=""
91 alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
92 </div>
93 {/if}
94 <div class="daily-entry-description">{$link.formatedDescription}</div>
95 {if="$link.tags"}
96 <div class="daily-entry-tags center">
97 {loop="link.taglist"}
98 <span class="label label-tag">
99 {$value}
100 </span>
101 {/loop}
102 </div>
103 {/if}
104 <div class="dailyEntryFooter clear">
105 {loop="$link.link_plugin"}
106 {$value}
107 {/loop}
108 </div>
109 </div>
110 {/loop}
111 </div>
112 {/if}
113 {/loop}
114 </div>
115 {else}
116 <div class="dailyNoEntry">No articles on this day.</div>
117 {/if}
118
119 <div class="clear"></div>
120
121 <div id="plugin_zone_end_picwall" class="plugin_zone">
122 {loop="$plugin_end_zone"}
123 {$value}
124 {/loop}
125 </div>
126 </div>
127 </div>
128 {include="page.footer"}
129 <script src="{$asset_path}/js/thumbnails.min.js?v={$version_hash}#"></script>
130 </body>
131 </html>
132