aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/picwall.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-11-11 14:01:21 +0100
committerArthurHoaro <arthur@hoa.ro>2018-07-05 20:31:35 +0200
commite85b7a05a177f803ae36ba5c12835313f31177bc (patch)
tree99216fbcb3343b74eac2589d14bf75c0a6d5fb01 /tpl/default/picwall.html
parenta3724717ec37d4bd54dc117ef439c8a182157882 (diff)
downloadShaarli-e85b7a05a177f803ae36ba5c12835313f31177bc.tar.gz
Shaarli-e85b7a05a177f803ae36ba5c12835313f31177bc.tar.zst
Shaarli-e85b7a05a177f803ae36ba5c12835313f31177bc.zip
Update thumbnail integration after rebasing the branch
Diffstat (limited to 'tpl/default/picwall.html')
-rw-r--r--tpl/default/picwall.html68
1 files changed, 40 insertions, 28 deletions
diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html
index 2f7e03dc..1ea9c20a 100644
--- a/tpl/default/picwall.html
+++ b/tpl/default/picwall.html
@@ -5,41 +5,53 @@
5</head> 5</head>
6<body> 6<body>
7{include="page.header"} 7{include="page.header"}
8{if="!$thumbnails_enabled"}
9<div class="pure-g pure-alert pure-alert-warning page-single-alert">
10 <div class="pure-u-1 center">
11 {'Picture wall unavailable (thumbnails are disabled).'|t}
12 </div>
13</div>
14{else}
15 <div class="pure-g">
16 <div class="pure-u-lg-1-6 pure-u-1-24"></div>
17 <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor">
18 {$countPics=count($linksToDisplay)}
19 <h2 class="window-title">{'Picture Wall'|t} - {$countPics} {'pics'|t}</h2>
8 20
9<div class="pure-g"> 21 <div id="plugin_zone_start_picwall" class="plugin_zone">
10 <div class="pure-u-lg-1-6 pure-u-1-24"></div> 22 {loop="$plugin_start_zone"}
11 <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor"> 23 {$value}
12 {$countPics=count($linksToDisplay)} 24 {/loop}
13 <h2 class="window-title">{'Picture Wall'|t} - {$countPics} {'pics'|t}</h2> 25 </div>
14
15 <div id="plugin_zone_start_picwall" class="plugin_zone">
16 {loop="$plugin_start_zone"}
17 {$value}
18 {/loop}
19 </div>
20 26
21 <div id="picwall_container" class="picwall-container"> 27 <div id="picwall_container" class="picwall-container">
22 {loop="$linksToDisplay"} 28 {loop="$linksToDisplay"}
23 <div class="picwall-pictureframe"> 29 <div class="picwall_pictureframe">
24 {$value.thumbnail}<a href="{$value.real_url}"><span class="info">{$value.title}</span></a> 30 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
25 {loop="$value.picwall_plugin"} 31 <img data-src="{$value.thumbnail}#" class="b-lazy"
26 {$value} 32 src="#"
27 {/loop} 33 alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
28 </div> 34 <a href="{$value.real_url}"><span class="info">{$value.title}</span></a>
29 {/loop} 35 {loop="$value.picwall_plugin"}
30 <div class="clear"></div> 36 {$value}
31 </div> 37 {/loop}
38 </div>
39 {/loop}
40 <div class="clear"></div>
41 </div>
32 42
33 <div id="plugin_zone_end_picwall" class="plugin_zone"> 43 <div id="plugin_zone_end_picwall" class="plugin_zone">
34 {loop="$plugin_end_zone"} 44 {loop="$plugin_end_zone"}
35 {$value} 45 {$value}
36 {/loop} 46 {/loop}
47 </div>
37 </div> 48 </div>
49 <div class="pure-u-lg-1-6 pure-u-1-24"></div>
38 </div> 50 </div>
39</div> 51{/if}
40 52
41{include="page.footer"} 53{include="page.footer"}
42<script src="js/picwall.min.js?v={$version_hash}"></script> 54<script src="js/thumbnails.min.js?v={$version_hash}"></script>
43</body> 55</body>
44</html> 56</html>
45 57