From 45dde16f3e728e6bca1d1d8953ef8d58a1b74986 Mon Sep 17 00:00:00 2001 From: Klaus Weidenbach Date: Thu, 26 Jun 2014 02:01:53 +0200 Subject: Templified cloud's directory listing. Moved HTML for the directory listing from include/reddav.php to it's own template file. Still need to clean it up bit more, but should be useable already. --- view/tpl/cloud_directory.tpl | 48 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 view/tpl/cloud_directory.tpl (limited to 'view/tpl/cloud_directory.tpl') diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl new file mode 100644 index 000000000..cdcab1990 --- /dev/null +++ b/view/tpl/cloud_directory.tpl @@ -0,0 +1,48 @@ +

{{$header}}

+ + + + + + + + + + + +{{if $parentpath}} + + + + + + + +{{/if}} + + +{{foreach $entries as $item}} + + + + +{{if $item.is_owner}} + + + +{{else}} + +{{/if}} + + + + +{{/foreach}} + + +
{{t('Name')}}   {{t('Type')}}   {{t('Size')}}   {{t('Last modified')}}

{{$parentpath.icon}}.. + [{{t('parent')}}]
{{$item.icon}}{{$item.displayName}}{{$item.attachIcon}}{{$item.type}}{{$item.sizeFormatted}}{{$item.lastmodified}}

+ +{{if $quota.limit || $quota.used}} +

{{t('Total')}} {{$quota.desc}}

+{{/if}} -- cgit v1.2.3