backupNow.htm
1 year ago
callSupport.htm
1 year ago
deleteBackup.htm
1 year ago
downloadBackup.htm
1 year ago
downloadBackupLog.htm
1 year ago
editBackupNotes.htm
1 year ago
exportBackup.htm
1 year ago
extractBackup.htm
1 year ago
fileManager.htm
10 months ago
importBackup.htm
1 year ago
lockBackup.htm
1 year ago
manageBackupJob.htm
1 year ago
manageDestination.htm
1 year ago
manageSchedule.htm
1 year ago
quickStart.htm
1 year ago
restoreBackup.htm
1 year ago
showExtractedPath.htm
1 year ago
viewLog.htm
1 year ago
fileManager.htm
98 lines
| 1 | <div class="modal-header"> |
| 2 | <div class="modal-main-title"> |
| 3 | <h1 class="modal-title fs-5" id="fileManager" ng-bind="destination_id ? lang.t('Browse Destination') : lang.t('Select files')"></h1> |
| 4 | </div> |
| 5 | </div> |
| 6 | <div class="modal-body"> |
| 7 | <div class="row"> |
| 8 | <div class="col-xs-12"> |
| 9 | <div style="padding: 0 20px;"> |
| 10 | <div class="alert alert-danger" role="alert" ng-show="errorMessage"> |
| 11 | {{ errorMessage }} |
| 12 | </div> |
| 13 | <h3>{{ lang.t("Backup files") }}</h3> |
| 14 | <div style="direction: ltr;">{{ lang.t("Current Path") }}: <a class="jb-breadcrumbs" href="" ng-repeat="file in breadcrumbs track by $index" ng-click="fetch(file, true)">{{ file.name }}/</a></div> |
| 15 | <div style="margin-top: 20px;"> |
| 16 | <table class="jb-table table table-hover jb-file-manager"> |
| 17 | <thead> |
| 18 | <tr> |
| 19 | <th ng-hide="destination_id" style="width: 10px;"> |
| 20 | <div class="filemanager pretty p-default p-curve p-smooth" ng-hide="hideCheckAll()"> |
| 21 | <input ng-checked="checkedAll" ng-click="toggleCheckAll()" type="checkbox" /> |
| 22 | <div class="state p-danger"><label></label></div> |
| 23 | </div> |
| 24 | </th> |
| 25 | <th class="col-sm-4 col-md-4 col-lg-4"> |
| 26 | <button sort-by sort-meta="meta" sort-field="name" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('File Name')) }}">{{ lang.t("File Name") }}</button> |
| 27 | </th> |
| 28 | <th class="col-sm-2 col-md-2 col-lg-2"> |
| 29 | <button sort-by sort-meta="meta" sort-field="size" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('Size')) }}">{{ lang.t("Size") }}</button> |
| 30 | </th> |
| 31 | <th class="col-sm-2 col-md-2 col-lg-2"> |
| 32 | <button sort-by sort-meta="meta" sort-field="type" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('Type')) }}">{{ lang.t("Type") }}</button> |
| 33 | </th> |
| 34 | <th class="col-sm-4 col-md-4 col-lg-4"> |
| 35 | <button sort-by sort-meta="meta" sort-field="created" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('Created')) }}">{{ lang.t("Created") }}</button> |
| 36 | </th> |
| 37 | </tr> |
| 38 | </thead> |
| 39 | <tbody> |
| 40 | <tr ng-repeat="file in files track by $index" ng-show="!file.hidden || showhidden" id="file_row_{{$index}}" ng-class="{ 'row-checked': isChecked(file), 'row-fade': file.type != 'File' && file.type != 'Directory' && file.type != 'Link' }"> |
| 41 | <td ng-hide="destination_id"> |
| 42 | <div class="filemanager pretty p-default p-curve p-smooth" ng-class="{'p-children-selected': isChildrenChecked(file)}" ng-hide="file.type != 'File' && file.type != 'Directory' && file.type != 'Link'"> |
| 43 | <input ng-disabled="isDisabled(file)" ng-checked="isChecked(file)" ng-model="file.checked" ng-change="toggleFile(file)" type="checkbox" /> |
| 44 | <div class="state p-danger" ng-class="{'p-success': isChildrenChecked(file) }"><label></label></div> |
| 45 | </div> |
| 46 | </td> |
| 47 | <td data-title="{{ lang.t('File Name') }}" style="direction: ltr;"> |
| 48 | <a class="jb-folder" ng-if="file.type == 'Directory'" href="" ng-click="fetch(file, true)">{{ file.name }}<span ng-show="file.link"> -> {{file.link}}</span></a> |
| 49 | <span ng-if="file.type != 'Directory'">{{ file.name }}<span ng-show="file.link"> -> {{file.link}}</span></span> |
| 50 | </td> |
| 51 | <td data-title="{{ lang.t('Size') }}"> |
| 52 | {{ file.size }} |
| 53 | </td> |
| 54 | <td data-title="{{ lang.t('Type') }}"> |
| 55 | <span class="fas" ng-class="{'fa-folder': file.icon == 'dir','fa-file':file.icon == 'file'}"></span> |
| 56 | {{ file.type }} |
| 57 | </td> |
| 58 | <td data-title="{{ lang.t('Created') }}"> |
| 59 | {{file.created}} |
| 60 | </td> |
| 61 | </tr> |
| 62 | <tr ng-hide="!loadingFiles"> |
| 63 | <td colspan="5"> |
| 64 | <loading-box ng-switch="!!destination_id"> |
| 65 | <span ng-switch-when="false">{{ lang.t("Fetching Files From Hosting Provider...") }}</span> |
| 66 | <span ng-switch-when="true">{{ lang.t("Fetching Files From Destination...") }}</span> |
| 67 | </loading-box> |
| 68 | |
| 69 | </td> |
| 70 | </tr> |
| 71 | <tr ng-hide="files.length > 0 || loadingFiles"> |
| 72 | <td colspan="5"> |
| 73 | <span>{{ lang.t("No Files Found") }}</span> |
| 74 | </td> |
| 75 | </tr> |
| 76 | </tbody> |
| 77 | </table> |
| 78 | <pagination fetch="fetch" meta="meta"></pagination> |
| 79 | </div> |
| 80 | </div> |
| 81 | </div> |
| 82 | </div> |
| 83 | </div> |
| 84 | <div class="modal-footer"> |
| 85 | <button class="btn btn-secondary cancel_btn" type="button" ng-click="cancel()"> |
| 86 | <span class="icon"> |
| 87 | <i class="fa-regular fa-ban"></i> |
| 88 | </span> |
| 89 | {{ lang.t("Cancel") }} |
| 90 | </button> |
| 91 | <button ng-if="!destination_id" class="btn btn-primary jb_button" type="button" ng-click="ok()" |
| 92 | ng-disabled="loadingFiles || errorMessage"> |
| 93 | <span class="icon"> |
| 94 | <i class="fas fa-file-import"></i> |
| 95 | </span> |
| 96 | {{ lang.t("Select Files") }} |
| 97 | </button> |
| 98 | </div> |