MyShaarli/tpl/myShaarli/daily.html

132 lines
4.2 KiB
HTML
Raw Normal View History

2013-02-26 10:09:41 +01:00
<!DOCTYPE html>
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
2017-12-15 12:16:50 +01:00
<head>
{include="includes"}
</head>
2013-02-26 10:09:41 +01:00
<body>
2017-12-15 12:16:50 +01:00
{include="page.header"}
2023-05-25 11:13:43 +02:00
<div class="pure-g">
<div class="pure-u-1 pure-alert pure-alert-success tag-sort">
<a class="button" href="{$base_path}/daily?day">{'Daily'|t}</a>
<a class="button" href="{$base_path}/daily?week">{'Weekly'|t}</a>
<a class="button" href="{$base_path}/daily?month">{'Monthly'|t}</a>
2023-05-25 11:13:43 +02:00
</div>
</div>
2017-12-15 12:16:50 +01:00
<div class="pure-g">
<div class="pure-u-lg-1-6 pure-u-1-24"></div>
<div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor" id="daily">
<h2 class="window-title">
2023-05-25 11:13:43 +02:00
{$localizedType} Shaarli
<a href="{$base_path}/daily-rss?{$type}"
title="{function="t('1 RSS entry per :type', '', 1, 'shaarli', [':type' => t($type)])"}"
>
<i class="fa fa-rss"></i>
</a>
2017-12-15 12:16:50 +01:00
</h2>
<div id="plugin_zone_start_daily" class="plugin_zone">
{loop="$plugin_start_zone"}
{$value}
{/loop}
2013-02-26 10:09:41 +01:00
</div>
2015-07-20 16:31:10 +02:00
2017-12-15 12:16:50 +01:00
<div class="daily-about">
2013-02-26 10:09:41 +01:00
2017-12-15 12:16:50 +01:00
<div class="pure-g">
<div class="pure-u-lg-1-3 pure-u-1 center">
{if="$previousday"}
2023-05-25 11:13:43 +02:00
<a href="{$base_path}/daily?{$type}={$previousday}">
2017-12-15 12:16:50 +01:00
<i class="fa fa-arrow-left"></i>
2023-05-25 11:13:43 +02:00
{function="t('Previous :type', '', 1, 'shaarli', [':type' => t($type)], true)"}
2017-12-15 12:16:50 +01:00
</a>
{/if}
2013-02-26 10:09:41 +01:00
</div>
2017-12-15 12:16:50 +01:00
<div class="daily-desc pure-u-lg-1-3 pure-u-1 center">
2023-05-25 11:13:43 +02:00
{function="t('All links of one :type in a single page.', '', 1, 'shaarli', [':type' => t($type)])"}
2015-07-20 16:31:10 +02:00
</div>
2017-12-15 12:16:50 +01:00
<div class="pure-u-lg-1-3 pure-u-1 center">
{if="$nextday"}
2023-05-25 11:13:43 +02:00
<a href="{$base_path}/daily?{$type}={$nextday}">
{function="t('Next :type', '', 1, 'shaarli', [':type' => t($type)], true)"}
2017-12-15 12:16:50 +01:00
<i class="fa fa-arrow-right"></i>
</a>
{/if}
</div>
</div>
<div>
2023-05-25 11:13:43 +02:00
<h3 class="window-subtitle">
{$dayDesc}
</h3>
2013-02-26 10:09:41 +01:00
2017-12-15 12:16:50 +01:00
<div id="plugin_zone_about_daily" class="plugin_zone">
{loop="$daily_about_plugin"}
{$value}
{/loop}
2013-02-26 10:09:41 +01:00
</div>
2017-12-15 12:16:50 +01:00
</div>
</div>
{if="$linksToDisplay"}
<div class="pure-g">
{loop="$cols"}
{if="isset($value[0])"}
<div class="pure-u-lg-1-3 pure-u-1">
{loop="value"}
{$link=$value}
<div class="daily-entry">
<div class="daily-entry-title center">
2023-05-25 11:13:43 +02:00
<a href="{$base_path}/shaare/{$link.shorturl}" title="{'Permalink'|t}">
2017-12-15 12:16:50 +01:00
<i class="fa fa-link"></i>
</a>
<a href="{$link.real_url}">{$link.title}</a>
</div>
2023-05-25 11:13:43 +02:00
{if="$thumbnails_enabled && !empty($link.thumbnail)"}
2018-10-05 11:55:51 +02:00
<div class="daily-entry-thumbnail">
2023-05-25 11:13:43 +02:00
<img data-src="{$root_path}/{$link.thumbnail}#" class="b-lazy"
src=""
2018-10-05 11:55:51 +02:00
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
</div>
2023-05-25 11:13:43 +02:00
{/if}
2017-12-15 12:16:50 +01:00
<div class="daily-entry-description">{$link.formatedDescription}</div>
{if="$link.tags"}
<div class="daily-entry-tags center">
{loop="link.taglist"}
2023-05-25 11:13:43 +02:00
<span class="label label-tag">
2017-12-15 12:16:50 +01:00
{$value}
</span>
{/loop}
</div>
{/if}
2018-10-05 11:55:51 +02:00
<div class="dailyEntryFooter clear">
2017-12-15 12:16:50 +01:00
{loop="$link.link_plugin"}
{$value}
{/loop}
</div>
</div>
{/loop}
</div>
{/if}
2013-02-26 10:09:41 +01:00
{/loop}
2017-12-15 12:16:50 +01:00
</div>
2013-02-26 10:09:41 +01:00
{else}
2017-12-15 12:16:50 +01:00
<div class="dailyNoEntry">No articles on this day.</div>
2013-02-26 10:09:41 +01:00
{/if}
2017-12-15 12:16:50 +01:00
<div class="clear"></div>
<div id="plugin_zone_end_picwall" class="plugin_zone">
{loop="$plugin_end_zone"}
{$value}
{/loop}
</div>
</div>
2013-02-26 10:09:41 +01:00
</div>
{include="page.footer"}
2023-05-25 11:13:43 +02:00
<script src="{$asset_path}/js/thumbnails.min.js?v={$version_hash}#"></script>
2013-02-26 10:09:41 +01:00
</body>
2017-12-15 12:16:50 +01:00
</html>