aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorroot <root@v22013111044215586.yourvserver.net>2014-06-29 18:30:59 +0200
committerroot <root@v22013111044215586.yourvserver.net>2014-06-29 18:30:59 +0200
commit5df50c4a0bf80f3697c7088c9c4a3815206fe97d (patch)
treead3f2b4df700dae971683265c9a83d5bbee0eb31 /view/tpl
parent79dc4b83701f73bdece2b4d78a73698fbbc538c6 (diff)
parent628f1218049715c8acf953dbda8f902b3902cc2f (diff)
downloadvolse-hubzilla-5df50c4a0bf80f3697c7088c9c4a3815206fe97d.tar.gz
volse-hubzilla-5df50c4a0bf80f3697c7088c9c4a3815206fe97d.tar.bz2
volse-hubzilla-5df50c4a0bf80f3697c7088c9c4a3815206fe97d.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/abook_edit.tpl9
-rw-r--r--view/tpl/cloud_actionspanel.tpl23
-rwxr-xr-xview/tpl/field_acheckbox.tpl19
-rw-r--r--view/tpl/filestorage.tpl23
4 files changed, 43 insertions, 31 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl
index b8b01df4c..9b12b5f29 100755
--- a/view/tpl/abook_edit.tpl
+++ b/view/tpl/abook_edit.tpl
@@ -83,13 +83,14 @@
<div id="abook-advanced-panel" style="display: block;">
-<span class="abook-them">{{$them}}</span><span class="abook-me">{{$me}}</span>
-<br />
-<br />
+<table>
+<tr><td></td><td class="abook-them">{{$them}}</td><td colspan="2" class="abook-me">{{$me}}</td><td></td></tr>
+<tr><td colspan="5"><hr /></td></tr>
{{foreach $perms as $prm}}
{{include file="field_acheckbox.tpl" field=$prm}}
{{/foreach}}
-<br />
+<tr><td colspan="5"><hr /></td></tr>
+</table>
</div>
diff --git a/view/tpl/cloud_actionspanel.tpl b/view/tpl/cloud_actionspanel.tpl
new file mode 100644
index 000000000..69931b292
--- /dev/null
+++ b/view/tpl/cloud_actionspanel.tpl
@@ -0,0 +1,23 @@
+<table>
+ <tr>
+ <td><strong>{{$folder_header}}</strong>&nbsp;&nbsp;&nbsp;</td>
+ <td>
+ <form method="post" action="">
+ <input type="hidden" name="sabreAction" value="mkcol">
+ <input type="text" name="name">
+ <input type="submit" value="{{$folder_submit}}">
+ </form>
+ </td>
+ </tr>
+ <tr>
+ <td><strong>{{$upload_header}}</strong>&nbsp;&nbsp;&nbsp;</td>
+ <td>
+ <form method="post" action="" enctype="multipart/form-data">
+ <input type="hidden" name="sabreAction" value="put">
+ <input type="file" name="file" style="display: inline;">
+ <input type="submit" value="{{$upload_submit}}">
+ <!-- Name (optional): <input type="text" name="name"> we should rather provide a rename action in edit form-->
+ </form>
+ </td>
+ </tr>
+</table> \ No newline at end of file
diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl
index f5dda4cc0..342491ded 100755
--- a/view/tpl/field_acheckbox.tpl
+++ b/view/tpl/field_acheckbox.tpl
@@ -1,6 +1,17 @@
- <div class='field acheckbox'>
+<tr>
+ <td>
<label for='id_{{$field.0}}'>{{$field.1}}</label>
- <input type="checkbox" class="abook-edit-them" name='them_{{$field.0}}' id='them_id_{{$field.0}}' value="1" disabled="disabled" {{if $field.2}}checked="checked"{{/if}} />
- <input type="checkbox" class="abook-edit-me" name='{{$field.0}}' id='me_id_{{$field.0}}' value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}} />{{if $field.5}} <span class="permission-inherited">{{$inherited}}</span> {{/if}}
+ </td>
+ <td class="abook-them">
+ <input type="checkbox" name='them_{{$field.0}}' id='them_id_{{$field.0}}' value="1" disabled="disabled" {{if $field.2}}checked="checked"{{/if}} />
+ </td>
+ <td class="abook-me">
+ <input type="checkbox" name='{{$field.0}}' id='me_id_{{$field.0}}' value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}} />
+ </td>
+ <td>
+ {{if $field.5}}<span class="permission-inherited">{{$inherited}}</span> {{/if}}
+ </td>
+ <td>
<span class='field_abook_help'>{{$field.6}}</span>
- </div>
+ </td>
+</tr> \ No newline at end of file
diff --git a/view/tpl/filestorage.tpl b/view/tpl/filestorage.tpl
deleted file mode 100644
index 1995b95e1..000000000
--- a/view/tpl/filestorage.tpl
+++ /dev/null
@@ -1,23 +0,0 @@
-{{if $files}}
-
- <div class="generic-content-wrapper">
- {{if $limit}}{{$limitlabel}}{{$limit}}{{/if}} {{if $used}} {{$usedlabel}}{{$used}}{{/if}}
- <br />
- <br />
-
- {{foreach $files as $key => $items}}
- {{foreach $items as $item}}
- <div class="files-list-item">
- <a href="{{$baseurl}}/{{$item.id}}/edit" title="{{$edit}}"><i class="icon-pencil"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
- <a href="{{$baseurl}}/{{$item.id}}/delete" title="{{$delete}}"><i class="icon-remove drop-icons"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
- {{if ! $item.dir}}<a href="attach/{{$item.download}}">{{/if}}{{$item.title}}{{if ! $item.dir}}</a>{{/if}}
- {{if ! $item.dir}} | {{$item.size}} bytes{{else}}{{$directory}}{{/if}}
-
-</div>
- {{/foreach}}
- {{/foreach}}
- </div>
-
- <div class="clear"></div>
-
-{{/if}}