]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - tpl/default/daily.html
Support using Shaarli without URL rewriting
[github/shaarli/Shaarli.git] / tpl / default / daily.html
CommitLineData
402b0346 1<!DOCTYPE html>
cb974e47 2<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
402b0346
A
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}
818b3193 14 <a href="{$base_path}/daily-rss" title="{'1 RSS entry per day'|t}"><i class="fa fa-rss"></i></a>
402b0346
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"}
818b3193 28 <a href="{$base_path}/daily?day={$previousday}">
402b0346
A
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"}
818b3193 39 <a href="{$base_path}/daily?day={$nextday}">
402b0346
A
40 {'Next day'|t}
41 <i class="fa fa-arrow-right"></i>
42 </a>
43 {/if}
44 </div>
45 </div>
46 <div>
5321f704
A
47 <h3 class="window-subtitle">
48 {if="!empty($dayDesc)"}
49 {$dayDesc} -
50 {/if}
51 {function="format_date($dayDate, false)"}
52 </h3>
402b0346
A
53
54 <div id="plugin_zone_about_daily" class="plugin_zone">
55 {loop="$daily_about_plugin"}
56 {$value}
57 {/loop}
58 </div>
59 </div>
60 </div>
61
62
63 {if="$linksToDisplay"}
64 <div class="pure-g">
65 {loop="$cols"}
66 {if="isset($value[0])"}
67 <div class="pure-u-lg-1-3 pure-u-1">
68 {loop="value"}
69 {$link=$value}
70 <div class="daily-entry">
71 <div class="daily-entry-title center">
818b3193 72 <a href="{$base_path}/?{$link.shorturl}" title="{'Permalink'|t}">
402b0346
A
73 <i class="fa fa-link"></i>
74 </a>
75 <a href="{$link.real_url}">{$link.title}</a>
76 </div>
bf3c9934
A
77 {if="$thumbnails_enabled && !empty($link.thumbnail)"}
78 <div class="daily-entry-thumbnail">
7f525042 79 <img data-src="{$root_path}/{$link.thumbnail}#" class="b-lazy"
8c75c43e 80 src=""
bf3c9934
A
81 alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
82 </div>
402b0346
A
83 {/if}
84 <div class="daily-entry-description">{$link.formatedDescription}</div>
85 {if="$link.tags"}
86 <div class="daily-entry-tags center">
87 {loop="link.taglist"}
301c7ab1 88 <span class="label label-tag">
402b0346
A
89 {$value}
90 </span>
91 {/loop}
92 </div>
93 {/if}
bf3c9934 94 <div class="dailyEntryFooter clear">
402b0346
A
95 {loop="$link.link_plugin"}
96 {$value}
97 {/loop}
98 </div>
99 </div>
100 {/loop}
101 </div>
102 {/if}
103 {/loop}
104 </div>
105 {else}
106 <div class="dailyNoEntry">No articles on this day.</div>
107 {/if}
108
109 <div class="clear"></div>
110
111 <div id="plugin_zone_end_picwall" class="plugin_zone">
112 {loop="$plugin_end_zone"}
113 {$value}
114 {/loop}
115 </div>
116 </div>
117</div>
118{include="page.footer"}
818b3193 119<script src="{$asset_path}/js/thumbnails.min.js?v={$version_hash}#"></script>
402b0346
A
120</body>
121</html>
122