aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cloud_directory.tpl
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-12-22 09:45:33 +1100
committerRedMatrix <info@friendica.com>2014-12-22 09:45:33 +1100
commitc732b72a0dde2c8b4d49e63114c9415f44a8a8d7 (patch)
treec6fba54256dcd17f9ed24c46766f1475da259641 /view/tpl/cloud_directory.tpl
parentca56123a161e482d545b2e0e0c3d869eb8c4221f (diff)
parentbe1891c058ccff08d4cafa2bea061424efc0ef82 (diff)
downloadvolse-hubzilla-c732b72a0dde2c8b4d49e63114c9415f44a8a8d7.tar.gz
volse-hubzilla-c732b72a0dde2c8b4d49e63114c9415f44a8a8d7.tar.bz2
volse-hubzilla-c732b72a0dde2c8b4d49e63114c9415f44a8a8d7.zip
Merge pull request #757 from git-marijus/master
files: make mod/filestorage.php load via ajax and some design work. work...
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>