aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_portfolio_card.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-24 18:30:00 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-24 18:30:00 +0200
commit325cbfcdb37912515cb1b30484896b049ab68f2a (patch)
tree9096f3f1ec10f936faf7a3fc9119cfd116e92355 /view/tpl/photo_portfolio_card.tpl
parent60a54e9aacaf6833067ea932d56b59c6630d18bc (diff)
parent69e7a7594a7416f7fefa2a5f8b4d1cbcf7a35e3f (diff)
downloadvolse-hubzilla-325cbfcdb37912515cb1b30484896b049ab68f2a.tar.gz
volse-hubzilla-325cbfcdb37912515cb1b30484896b049ab68f2a.tar.bz2
volse-hubzilla-325cbfcdb37912515cb1b30484896b049ab68f2a.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'view/tpl/photo_portfolio_card.tpl')
-rw-r--r--view/tpl/photo_portfolio_card.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/view/tpl/photo_portfolio_card.tpl b/view/tpl/photo_portfolio_card.tpl
new file mode 100644
index 000000000..5fddd3d37
--- /dev/null
+++ b/view/tpl/photo_portfolio_card.tpl
@@ -0,0 +1,6 @@
+<div class="card" style="width: 300px;box-shadow: 0px 10px 6px -6px rgba(119,119,119,0.6);border-style: solid;border-width: 1px;border=color: rgba(230,230,230,0.6);margin:10px 5px 10px 5px;">
+ <img 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}}">
+ <div class="card-divider">
+ <h4>{{$photo.desc}}</h4>
+ </div>
+</div>