From f648809856b852d3819a8c1a0d624fd725ed8a34 Mon Sep 17 00:00:00 2001 From: Haakon Meland Eriksen Date: Sun, 22 Oct 2017 19:52:08 +0200 Subject: Portfolio widget - CSS update --- view/tpl/photo_album_portfolio.tpl | 40 +++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'view/tpl/photo_album_portfolio.tpl') diff --git a/view/tpl/photo_album_portfolio.tpl b/view/tpl/photo_album_portfolio.tpl index 7aadbc7e0..1635e0ae1 100755 --- a/view/tpl/photo_album_portfolio.tpl +++ b/view/tpl/photo_album_portfolio.tpl @@ -1,3 +1,39 @@ +{{if isset($mode) && $mode == 'orbit'}} +
+
+ +
    + + + {{foreach $photos as $photo}} + {{include file="photo_portfolio_orbit.tpl"}} + {{/foreach}} +
+ +
+
+
+ +
+
+{{elseif isset($mode) && $mode =='card'}} +
+
+ {{foreach $photos as $photo}} + {{include file="photo_portfolio_card.tpl"}} + {{/foreach}} +
+
+
+ +
+
+{{else}}
{{foreach $photos as $photo}} @@ -8,4 +44,6 @@
-
\ No newline at end of file +
+{{/if}} + -- cgit v1.2.3