MyShaarli/tpl/myShaarli/picwall.html

59 lines
1.8 KiB
HTML
Raw Permalink 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>
<body>
{include="page.header"}
2023-05-25 11:13:43 +02:00
{if="count($linksToDisplay)===0 && $is_logged_in"}
<div class="pure-g pure-alert pure-alert-warning page-single-alert">
<div class="pure-u-1 center">
{'There is no cached thumbnail.'|t}
<a href="{$base_path}/admin/thumbnails">{'Try to synchronize them.'|t}</a>
</div>
</div>
{/if}
<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">
{$countPics=count($linksToDisplay)}
<h2 class="window-title">{'Picture Wall'|t} - {$countPics} {'pics'|t}</h2>
<div id="plugin_zone_start_picwall" class="plugin_zone">
{loop="$plugin_start_zone"}
{$value}
{/loop}
</div>
2017-12-15 12:16:50 +01:00
2023-05-25 11:13:43 +02:00
<div id="picwall-container" class="picwall-container" role="list">
{loop="$linksToDisplay"}
2023-07-13 17:22:58 +02:00
<div class="picwall-pictureframe" role="listitem" style="width:{$thumbnails_width}px; height:{$thumbnails_height}px ;">
2023-05-25 11:13:43 +02:00
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
<img
src="{$value.thumbnail}#"
loading="lazy"
alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
2023-05-25 11:13:43 +02:00
<a href="{$value.real_url}"><span class="info">{$value.title}</span></a>
{loop="$value.picwall_plugin"}
{$value}
{/loop}
</div>
{/loop}
<div class="clear"></div>
</div>
2018-10-05 11:55:51 +02:00
2023-05-25 11:13:43 +02:00
<div id="plugin_zone_end_picwall" class="plugin_zone">
{loop="$plugin_end_zone"}
{$value}
{/loop}
2017-12-15 12:16:50 +01:00
</div>
2018-10-05 11:55:51 +02:00
</div>
2023-05-25 11:13:43 +02:00
<div class="pure-u-lg-1-6 pure-u-1-24"></div>
</div>
2017-12-15 12:16:50 +01:00
{include="page.footer"}
</body>
</html>