aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cloud_directory.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-12-21 20:11:30 +0100
committermarijus <mario@mariovavti.com>2014-12-21 20:11:30 +0100
commit27d786c979a07eddaa31a9f8fe291360b586b9cf (patch)
tree7dc3a497fc0712a00bce23f1932c6f682313f664 /view/tpl/cloud_directory.tpl
parent0c98cacbcf0c27aba6bea62b4bf3dc00c91b3962 (diff)
downloadvolse-hubzilla-27d786c979a07eddaa31a9f8fe291360b586b9cf.tar.gz
volse-hubzilla-27d786c979a07eddaa31a9f8fe291360b586b9cf.tar.bz2
volse-hubzilla-27d786c979a07eddaa31a9f8fe291360b586b9cf.zip
files: make mod/filestorage.php load via ajax and some design work. work in progress...
Diffstat (limited to 'view/tpl/cloud_directory.tpl')
-rw-r--r--view/tpl/cloud_directory.tpl14
1 files changed, 6 insertions, 8 deletions
diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl
index 639a6bf61..f37895e09 100644
--- a/view/tpl/cloud_directory.tpl
+++ b/view/tpl/cloud_directory.tpl
@@ -1,5 +1,5 @@
<div class="generic-content-wrapper-styled">
-<h1>{{$header}}</h1>
+
<table id="cloud-index">
<tr>
<th></th>
@@ -26,8 +26,9 @@
<td style="min-width: 15em"><a href="{{$item.fullPath}}">{{$item.displayName}}</a></td>
{{if $item.is_owner}}
<td>{{$item.attachIcon}}</td>
- <td style="position:relative;"><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/edit" title="{{$edit}}"><i class="icon-pencil btn btn-default"></i></a></td>
- <td><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/delete" title="{{$delete}}" onclick="return confirmDelete();"><i class="icon-remove btn btn-default drop-icons"></i></a></td>
+ <td style="position:relative;"><i id="file-edit-{{$item.attachId}}" class="fakelink icon-pencil" onclick="filestorage(event, '{{$nick}}', {{$item.attachId}});"></i></td>
+ <td><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/delete" title="{{$delete}}" onclick="return confirmDelete();"><i class="icon-remove drop-icons"></i></a></td>
+
{{else}}
<td></td><td></td><td></td>
{{/if}}
@@ -35,11 +36,8 @@
<td>{{$item.sizeFormatted}}</td>
<td>{{$item.lastmodified}}</td>
</tr>
+ <tr><td id="perms-panel-{{$item.attachId}}" colspan="8"></td></tr>
{{/foreach}}
- <tr><td colspan="8"><hr></td></tr>
-</table>
-{{if $quota.limit || $quota.used}}
- <p><strong>{{$total}}</strong> {{$quota.desc}}</p>
-{{/if}}
+</table>
</div>