vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit 9a56dd8b0c05088378c8969da311a252a1e792c9
parent 4d198985f324d4e7e14ec20f4939d9924db83f95
Author: rsiddharth <s@ricketyspace.net>
Date:   Wed, 31 Oct 2018 18:08:31 -0400

Remove themes/bs3/templates/portraitures.tpl.

Diffstat:
themes/bs3/templates/portraitures.tpl | 81-------------------------------------------------------------------------------
1 file changed, 0 insertions(+), 81 deletions(-)

diff --git a/themes/bs3/templates/portraitures.tpl b/themes/bs3/templates/portraitures.tpl @@ -1,81 +0,0 @@ -{include file='header.tpl'} - -<div class="container-fluid"> <!-- top container start --> - - <div class="row"> <!-- loading img start --> - <div class="col-sm-12"> - <img id="vm-loading-img" class="img-responsive loading-vm" src="/themes/bs3/img/loading-vm.gif" - alt="[ Loading... ]"> - </div> - </div> <!-- loading img end --> - - <div class="row"> <!-- photoset row start --> - <div class="col-sm-12"> - <div class="photoset-grid-custom" style="visibility: hidden;"> <!-- photoset grid start --> - {foreach $images as $i => $img} - <img class="img-responsive img-portraitures" - src="{$gallery_info.imgs_root}/{$img}" - alt="[ {$gallery_info.name} - {$img} ]"/> - {/foreach} - </div> <!-- photoset grid end --> - </div> - </div> <!-- photoset row end --> - {include file='aside.tpl'} -</div> <!-- top container end --> - -{include file='js.tpl'} -<script type="text/javascript"> -$(document).ready(setupPhotoGrid); - -function setupPhotoGrid() { - var layout_spec = ''; - var screenWidth = $(window).width(); - var no_images = {$no_of_images}; - - var l = []; - var li; // index for array `l'. - var layout_array = []; - var i = 0; // index for array `layout_array'. - - if(screenWidth <= 736) { - l = [1, 1]; - } - else { - l = [2, 2]; - } - - var sum = 0; - var iter = 0; - while(sum != no_images) { - li = iter++ % 2; - if(sum + l[li] > no_images) - continue; - - sum += l[li]; - layout_array[i++] = l[li]; - } - - for(i = 0; i < layout_array.length; i++) { - layout_spec += layout_array[i]; - } - - $('.photoset-grid-custom').photosetGrid({ - highresLinks: true, - gutter: '20px', - layout: layout_spec, - rel: 'category', - onInit: function(){}, - onComplete: function(){ - $('img').remove('#vm-loading-img'); - $('.photoset-grid-custom').attr('style', ''); - $('.photoset-grid-custom a').colorbox({ - photo: true, - scalePhotos: true, - maxHeight:'90%', - maxWidth:'90%' - }); - } - }); -} -</script> -{include file='footer.tpl'}