aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_portfolio.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-14 16:11:57 -0700
committerzotlabs <mike@macgirvin.com>2017-06-14 16:11:57 -0700
commit1ac799f629d6f2d86618fdcda7519473d8121552 (patch)
tree78361e3c904476df66273a588ac8330d4e742249 /view/tpl/photo_portfolio.tpl
parent7b948bdd29e44920e4c1af9bcba26958220daca2 (diff)
parent1f075d92bc4e47ae282f811d10c31cd6f09191a6 (diff)
downloadvolse-hubzilla-1ac799f629d6f2d86618fdcda7519473d8121552.tar.gz
volse-hubzilla-1ac799f629d6f2d86618fdcda7519473d8121552.tar.bz2
volse-hubzilla-1ac799f629d6f2d86618fdcda7519473d8121552.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'view/tpl/photo_portfolio.tpl')
-rwxr-xr-xview/tpl/photo_portfolio.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/tpl/photo_portfolio.tpl b/view/tpl/photo_portfolio.tpl
new file mode 100755
index 000000000..cbc8ea214
--- /dev/null
+++ b/view/tpl/photo_portfolio.tpl
@@ -0,0 +1,13 @@
+
+
+ <a data-open="portfolioModal-{{$photo.resource_id}}" aria-controls="portfolioModal-{{$photo.resource_id}}" aria-haspopup="true" tabindex="0">
+ <img class="thumbnail" src="{{$photo.src}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}" title="{{$photo.desc}}" id="photo-top-photo-{{$photo.resource_id}}">
+ </a>
+
+ <div class="full reveal without-overlay" id="portfolioModal-{{$photo.resource_id}}" data-reveal="f175mw-reveal" role="dialog" aria-hidden="true" data-yeti-box="portfolioModal-{{$photo.resource_id}}" data-resize="portfolioModal-{{$photo.resource_id}}">
+ <h5>{{$photo.desc}}</h5>
+ <img class="thumbnail" src="{{$photo.fullsrc}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}" title="{{$photo.desc}}" id="photo-top-photo-{{$photo.resource_id}}x">
+ <button class="close-button" data-close="" aria-label="Close reveal" type="button">
+ <span aria-hidden="true">×</span>
+ </button>
+ </div>