From 65aa6cf708a34e20ebad3c6b6dfc4088e927cce1 Mon Sep 17 00:00:00 2001 From: marijus Date: Tue, 27 Jan 2015 19:00:16 +0100 Subject: move userReadableSize() and getIconFromType() from /include/RedDAV/RedBrowser.php to include/text.php and add template for mod/sharedwithme --- view/css/conversation.css | 4 ++++ view/css/mod_sharedwithme.css | 24 ++++++++++++++++++++++++ view/tpl/sharedwithme.tpl | 31 +++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 view/css/mod_sharedwithme.css create mode 100644 view/tpl/sharedwithme.tpl (limited to 'view') diff --git a/view/css/conversation.css b/view/css/conversation.css index 7a5ffc2f7..8bc71bb6d 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -195,6 +195,10 @@ a.wall-item-name-link { clear: both; } +.shared_header { + margin-bottom: 20px; +} + /* comment_item */ .comment-edit-text-empty, .comment-edit-text-full { diff --git a/view/css/mod_sharedwithme.css b/view/css/mod_sharedwithme.css new file mode 100644 index 000000000..f1c2f5350 --- /dev/null +++ b/view/css/mod_sharedwithme.css @@ -0,0 +1,24 @@ +#cloud-index { + width: 100%; +} + +#cloud-index td:nth-child(1){ + padding: 7px 3px 7px 10px; +} + +#cloud-index th:nth-child(8), +#cloud-index td:nth-child(8){ + padding: 7px 3px; + white-space: nowrap; +} + +#cloud-index th:nth-child(9), +#cloud-index td:nth-child(9){ + padding: 7px 10px 7px 7px; + white-space: nowrap; +} + +.cloud-index-tool { + padding: 7px 10px; +} + diff --git a/view/tpl/sharedwithme.tpl b/view/tpl/sharedwithme.tpl new file mode 100644 index 000000000..3a3d7e36a --- /dev/null +++ b/view/tpl/sharedwithme.tpl @@ -0,0 +1,31 @@ +
+  {{$dropall}} +

{{$header}}

+
+
+ + + + + + + + + + {{foreach $items as $item}} + + + + + + + + + + + + + + {{/foreach}} +
{{$name}}
{{$item.objfilename}}{{*{{$item.type}}*}}
+
-- cgit v1.2.3