aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/daily.html
blob: 9ee74739fcc1e9affa643961278713c1dbf5ba11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html>
<head>{include="includes"}</head>
<body>
<div id="pageheader">{include="page.header"}</div>
<div class="daily">
    <div class="dailyAbout">
      All links of one day<br>in a single page.<br>
      <a href="?do=daily&day={$previousday}"><b>&lt;</b>Previous day</a> - 
      <a href="?do=daily&day={$nextday}">Next day<b>&gt;</b></a>
    </div>
    <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>
    <div class="dailyDate">&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097; {$day} &#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;&#x0097;</div>
    <div style="clear:both;"></div>
    
    {if="$linksToDisplay"}
        <div style="float:left;position:relative; width:33%; padding-left:1%;">
        {loop="col1"}
        <div class="dailyEntry">
            <div style="float:right;position:relative;top:-1px;"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink"></a></div>
            {if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if}
            <div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div>
            {if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if}
            <div class="dailyEntryDescription">{$value.formatedDescription}</div>
        </div>
        {/loop}
        </div>

        <div style="float:left;position:relative; width:33%;">
        {loop="col2"}
        <div class="dailyEntry">
            <div style="float:right;position:relative;top:-1px;"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink"></a></div>
            {if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if}
            <div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div>
            {if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if}
            <div class="dailyEntryDescription">{$value.formatedDescription}</div>
        </div>
        {/loop}
        </div>    

        <div style="float:left;position:relative; width:33%;">
        {loop="col3"}
        <div class="dailyEntry">
            <div style="float:right;position:relative;top:-1px;"><a href="?{$value.linkdate|smallHash}"><img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink"></a></div>
            {if="$value.tags"}<div class="dailyEntryTags">{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}</div>{/if}
            <div class="dailyEntryTitle"><a href="{$value.url}">{$value.title|htmlspecialchars}</a></div>
            {if="$value.thumbnail"}<div class="dailyEntryThumbnail">{$value.thumbnail}</div>{/if}
            <div class="dailyEntryDescription">{$value.formatedDescription}</div>
        </div>
        {/loop}
        </div>        
    {else}
         <div style="text-align:center; padding:40px 0px 90px 0px;">No articles on this day.</div>
    {/if}
    <div style="clear:both;"></div>
    <div style="text-align:center; padding-bottom:20px;"><img src="../images/squiggle_closing.png" width="66" height="61" alt="-"></div>
</div>
{include="page.footer"}
</body>
</html>