mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-06 04:10:44 +01:00
prepare frontend for trash folder
This commit is contained in:
@@ -1007,7 +1007,8 @@ fileManager.controller('fileManagerCtrl', function ($scope, $http, FileUploader,
|
||||
method: "deleteFolderOrFile",
|
||||
fileAndFolders: allFilesAndFolders,
|
||||
domainRandomSeed: domainRandomSeed,
|
||||
domainName: domainName
|
||||
domainName: domainName,
|
||||
skipTrash: $scope.skipTrash
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -405,11 +405,18 @@
|
||||
<div class="modal-content">
|
||||
<div id="htmlEditorLable" class="modal-header">
|
||||
<h5 class="modal-title" >{% trans "Confirm Deletion!" %} <img ng-hide="deleteLoading" src="{% static 'filemanager/images/loadingSmall.gif' %}"></h5>
|
||||
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="/">
|
||||
<div class="form-group">
|
||||
<input ng-model="skipTrash" type="checkbox" value=""> Skip Trash Folder
|
||||
<small class="form-text text-muted">{% trans "Skip trash and permanently delete this file." %}</small>
|
||||
</div>
|
||||
</form>
|
||||
<p>Are you sure?</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
||||
Reference in New Issue
Block a user