From 71e0e55b0b5bc1746cb481056b027e76c1821ef7 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 30 Oct 2017 18:49:18 -0700 Subject: provide a 'tile' view (view only) mode to mod_cloud --- view/tpl/cloud_directory.tpl | 35 +++++++++++++++++++++++++++++++++++ view/tpl/cloud_header.tpl | 1 + 2 files changed, 36 insertions(+) (limited to 'view') diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index e8ae6a590..3beeb4f8a 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -1,4 +1,38 @@
+ {{if $tiles}} + + {{if $parentpath}} +
+ +
.. +
+
+ {{/if}} + + {{foreach $entries as $item}} + + {{/foreach}} +
+ {{else}} @@ -42,4 +76,5 @@ {{/foreach}}
+ {{/if}}
diff --git a/view/tpl/cloud_header.tpl b/view/tpl/cloud_header.tpl index c1e589341..468f2febc 100644 --- a/view/tpl/cloud_header.tpl +++ b/view/tpl/cloud_header.tpl @@ -1,6 +1,7 @@
{{if $actionspanel}}
+ {{if $is_owner}}  {{$shared}} {{/if}} -- cgit v1.2.3