diff options
author | Mario <mario@mariovavti.com> | 2020-12-14 11:17:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-12-14 11:17:36 +0000 |
commit | 70e529ef5d9574d32386d939c6581d84d4aaf94d (patch) | |
tree | 6cf440a899593d85b7df6637f82216fb4fb957cc /view/tpl | |
parent | 2a154f8c9a772d61e7dabb5e3fd110ba00cc6007 (diff) | |
download | volse-hubzilla-70e529ef5d9574d32386d939c6581d84d4aaf94d.tar.gz volse-hubzilla-70e529ef5d9574d32386d939c6581d84d4aaf94d.tar.bz2 volse-hubzilla-70e529ef5d9574d32386d939c6581d84d4aaf94d.zip |
add another parent element to wrap the tools
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/cloud_actionspanel.tpl | 84 |
1 files changed, 45 insertions, 39 deletions
diff --git a/view/tpl/cloud_actionspanel.tpl b/view/tpl/cloud_actionspanel.tpl index 65319379f..e9f7bbc38 100644 --- a/view/tpl/cloud_actionspanel.tpl +++ b/view/tpl/cloud_actionspanel.tpl @@ -1,46 +1,52 @@ <input id="invisible-cloud-file-upload" type="file" name="files" style="visibility:hidden;position:absolute;top:-50;left:-50;width:0;height:0;" multiple> -<div id="files-mkdir-tools" class="section-content-tools-wrapper"> - <label for="files-mkdir">{{$folder_header}}</label> - <form id="mkdir-form" method="post" action="file_upload" class="acl-form" data-form_id="mkdir-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'> - <input type="hidden" name="folder" value="{{$folder}}" /> - <input type="hidden" name="channick" value="{{$channick}}" /> - <input type="hidden" name="return_url" value="{{$return_url}}" /> - <input id="files-mkdir" type="text" name="filename" class="form-control form-group"> - <div class="pull-right btn-group"> - <div class="btn-group"> - {{if $lockstate}} - <button class="btn btn-outline-secondary btn-sm" data-toggle="modal" data-target="#aclModal" type="button"> - <i class="jot-perms-icon fa fa-{{$lockstate}}"></i> - </button> - {{/if}} - <button class="btn btn-primary btn-sm pull-right" type="submit" value="{{$folder_submit}}">{{$folder_submit}}</button> +<div id="files-mkdir-tools"> + <div class="section-content-tools-wrapper"> + <label for="files-mkdir">{{$folder_header}}</label> + <form id="mkdir-form" method="post" action="file_upload" class="acl-form" data-form_id="mkdir-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'> + <input type="hidden" name="folder" value="{{$folder}}" /> + <input type="hidden" name="channick" value="{{$channick}}" /> + <input type="hidden" name="return_url" value="{{$return_url}}" /> + <input id="files-mkdir" type="text" name="filename" class="form-control form-group"> + <div class="pull-right btn-group"> + <div class="btn-group"> + {{if $lockstate}} + <button class="btn btn-outline-secondary btn-sm" data-toggle="modal" data-target="#aclModal" type="button"> + <i class="jot-perms-icon fa fa-{{$lockstate}}"></i> + </button> + {{/if}} + <button class="btn btn-primary btn-sm pull-right" type="submit" value="{{$folder_submit}}">{{$folder_submit}}</button> + </div> </div> - </div> - </form> - <div class="clear"></div> + </form> + <div class="clear"></div> + </div> + <hr class="m-0"> </div> -<div id="files-upload-tools" class="section-content-tools-wrapper "> - {{if $quota.limit || $quota.used}}<div class="{{if $quota.warning}}section-content-danger-wrapper{{else}}section-content-info-wrapper{{/if}}">{{if $quota.warning}}<strong>{{$quota.warning}} </strong>{{/if}}{{if $quota.desc}}{{$quota.desc}}<br><br>{{/if}}</div>{{/if}} - <form id="ajax-upload-files" method="post" action="#" enctype="multipart/form-data" class="acl-form" data-form_id="ajax-upload-files" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'> - <input id="file-folder"type="hidden" name="folder" value="{{$folder}}" /> - <input type="hidden" name="channick" value="{{$channick}}" /> - <input type="hidden" name="return_url" value="{{$return_url}}" /> - {{include file="field_checkbox.tpl" field=$notify}} - <div class="cloud-index attach-drop attach-drop-zone text-center p-4 mb-3" data-folder="{{$folder}}"> - <span class="text-muted">You can select files via the upload button or drop them right here or into an existing folder.</span> - </div> - <div class="pull-right btn-group"> - <div class="btn-group"> - {{if $lockstate}} - <button class="btn btn-outline-secondary btn-sm" data-toggle="modal" data-target="#aclModal" type="button"> - <i class="jot-perms-icon fa fa-{{$lockstate}}"></i> - </button> - {{/if}} - <button id="upload-submit" class="btn btn-primary btn-sm pull-right">{{$upload_submit}}</button> +<div id="files-upload-tools"> + <div class="section-content-tools-wrapper "> + {{if $quota.limit || $quota.used}}<div class="{{if $quota.warning}}section-content-danger-wrapper{{else}}section-content-info-wrapper{{/if}}">{{if $quota.warning}}<strong>{{$quota.warning}} </strong>{{/if}}{{if $quota.desc}}{{$quota.desc}}<br><br>{{/if}}</div>{{/if}} + <form id="ajax-upload-files" method="post" action="#" enctype="multipart/form-data" class="acl-form" data-form_id="ajax-upload-files" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'> + <input id="file-folder"type="hidden" name="folder" value="{{$folder}}" /> + <input type="hidden" name="channick" value="{{$channick}}" /> + <input type="hidden" name="return_url" value="{{$return_url}}" /> + {{include file="field_checkbox.tpl" field=$notify}} + <div class="cloud-index attach-drop attach-drop-zone text-center p-4 mb-3" data-folder="{{$folder}}"> + <span class="text-muted">You can select files via the upload button or drop them right here or into an existing folder.</span> </div> - </div> - </form> - <div class="clear"></div> + <div class="pull-right btn-group"> + <div class="btn-group"> + {{if $lockstate}} + <button class="btn btn-outline-secondary btn-sm" data-toggle="modal" data-target="#aclModal" type="button"> + <i class="jot-perms-icon fa fa-{{$lockstate}}"></i> + </button> + {{/if}} + <button id="upload-submit" class="btn btn-primary btn-sm pull-right">{{$upload_submit}}</button> + </div> + </div> + </form> + <div class="clear"></div> + </div> + <hr class="m-0"> </div> {{if $breadcrumbs_html}} {{$aclselect}} |