aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2015-01-27 19:00:16 +0100
committermarijus <mario@mariovavti.com>2015-01-27 19:00:16 +0100
commit65aa6cf708a34e20ebad3c6b6dfc4088e927cce1 (patch)
tree29f2e7f364b1dee69b96084b94d878871f90a9fa /view/tpl
parentefb6842d748ad35f2843619983a4e3e9b14617a9 (diff)
downloadvolse-hubzilla-65aa6cf708a34e20ebad3c6b6dfc4088e927cce1.tar.gz
volse-hubzilla-65aa6cf708a34e20ebad3c6b6dfc4088e927cce1.tar.bz2
volse-hubzilla-65aa6cf708a34e20ebad3c6b6dfc4088e927cce1.zip
move userReadableSize() and getIconFromType() from /include/RedDAV/RedBrowser.php to include/text.php and add template for mod/sharedwithme
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/sharedwithme.tpl31
1 files changed, 31 insertions, 0 deletions
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 @@
+<div class="section-title-wrapper">
+ <a href="/sharedwithme/dropall" onclick="return confirmDelete();" class="btn btn-xs btn-default pull-right"><i class="icon-trash"></i>&nbsp;{{$dropall}}</a>
+ <h2>{{$header}}</h2>
+</div>
+<div class="generic-content-wrapper section-content-wrapper-np">
+ <table id="cloud-index">
+ <tr>
+ <th width="1%"></th>
+ <th width="92%">{{$name}}</th>
+ <th width="1%"></th><th width="1%"></th><th width="1%"></th><th width="1%"></th>
+ <th width="1%"></th>
+ <th width="1%" class="hidden-xs">{{$size}}</th>
+ <th width="1%" class="hidden-xs">{{$lastmod}}</th>
+ </tr>
+ {{foreach $items as $item}}
+ <tr id="cloud-index-{{$item.id}}">
+ <td><i class="{{$item.objfiletypeclass}}" title="{{$item.objfiletype}}"></i></td>
+ <td><a href="{{$item.objurl}}">{{$item.objfilename}}</a></td>
+
+ <td></td>
+ <td></td>
+ <td></td>
+ <td class="cloud-index-tool"><a href="sharedwithme/{{$item.id}}/drop" title="{{$drop}}" onclick="return confirmDelete();"><i class="icon-trash drop-icons"></i></a></td>
+
+ <td>{{*{{$item.type}}*}}</td>
+ <td class="hidden-xs">{{$item.objfilesize}}</td>
+ <td class="hidden-xs">{{$item.objedited}}</td>
+ </tr>
+ {{/foreach}}
+ </table>
+</div>