PATH:
usr
/
local
/
jetapps
/
frontend
/
jetbackup
/
app
/
views
<div ng-if="!PERMS.canViewFileBackups"> <ng-include src="'views/permissionserror.ptt'"></ng-include> </div> <div ng-if="PERMS.canViewFileBackups" ng-controller="fileManager"> <div class="row"> <div class="col-md-8"> <div style="padding: 0 20px;"> <div class="row"> <div class="col-md-8"> <h3>{{ LANG.t("Backup Files") }}</h3> <div> {{ LANG.t("Current Path") }}: <a href="" ng-repeat="file in breadcrumbs track by $index" ng-click="fetch(file)">{{ file.name }}/</a> </div> </div> <div class="col-md-4" style="text-align: end;"> <div style="padding: 8px 10px; border: 1px solid #ccc; border-radius: 3px; display: inline-block; background: #efefef; margin-top: 20px;"> <input id="showHidden" type="checkbox" ng-model="showhidden" > <label for="showHidden" style="font-weight: bold;">{{LANG.t("Show Hidden Files")}}</label> </div> </div> </div> <div style="overflow-y: auto; height: 475px; margin-top: 20px;"> <table class="table table-striped-child responsive-table"> <thead> <tr> <th class="col-sm-4 col-md-4 col-lg-4"> {{ LANG.t("File Name") }} </th> <th class="col-sm-1 col-md-1 col-lg-1"> {{ LANG.t("Size") }} </th> <th class="col-sm-2 col-md-2 col-lg-2"> {{ LANG.t("Type") }} </th> <th class="col-sm-4 col-md-4 col-lg-4"> {{ LANG.t("Created") }} </th> </tr> </thead> <tbody> <tr ng-repeat="file in files track by $index" ng-show="!file.hidden || showhidden" id="file_row_{{$index}}" ng-class="{ 'row-checked': isChecked() }"> <td data-title="{{ LANG.t('File Name') }}"> <input ng-disabled="isDisabled()" ng-model="calculateInput" ng-model-options="{getterSetter:true}" type="checkbox" ng-hide="file.type != 'File' && file.type != 'Directory'" /> <a ng-if="file.type == 'Directory'" title="{{ file.name }}" href="javascript: void(0);" ng-click="fetch(file)">{{ file.name }}</a> <span ng-if="file.type != 'Directory'" title="{{ file.name }}">{{ file.name }}</span> </td> <td data-title="{{ LANG.t('Size') }}"> <span title="{{ UTILS.sizeToHumanReadable(file.size) }}">{{ UTILS.sizeToHumanReadable(file.size) }}</span> </td> <td data-title="{{ LANG.t('Type') }}"> <span class="fas" ng-class="{'fa-folder-o': file.icon == 'dir','fa-file-o':file.icon == 'file'}"></span> <span title="{{ file.type }}">{{ LANG.t(file.type) }}</span> </td> <td data-title="{{ LANG.t('Created') }}"> <span title="{{ LANG.d(file.created) }}">{{ LANG.d(file.created) }}</span> </td> </tr> <tr ng-hide="!loadingFiles"> <td colspan="6"> <span>{{ LANG.t("Loading Files...") }}</span> </td> </tr> <tr ng-hide="files.length > 0 || loadingFiles"> <td colspan="6"> <span>{{ LANG.t("No Files Found") }}</span> </td> </tr> </tbody> </table> </div> <div> <button ng-click="checkAll()" class="btn btn-primary"> <em aria-hidden="true" class="fas fa-check"></em> <span class="button-label"><span>{{ LANG.t("Select All") }}</span></span> </button> <button ng-model="button" ng-disabled="canPerformAction()" ng-click="uncheckAll()" class="btn btn-primary" type="submit"> <i class="fas fa-times"></i> <span class="button-label"><span>{{ LANG.t("Clear Selections") }}</span></span> </button> <button ng-model="button" ng-disabled="canPerformAction()" ng-if="PERMS.canDownloadFileBackups" ng-click="onClickDownload()" spinner-id="spinnerDownloadBackup" class="btn btn-primary" id="download" type="submit"> <i id="spinnerDownloadBackup" class="fas fa-download button-loading-indicator"></i> <span class="button-label"><span>{{ LANG.t("Download Selected") }}</span></span> </button> <button ng-model="button" ng-disabled="canPerformAction()" ng-if="PERMS.canRestoreFileBackups" ng-click="onClickRestore()" spinner-id="spinnerRestoreBackup" class="btn btn-primary" id="restore" type="submit"> <i id="spinnerRestoreBackup" class="fas fa-sync button-loading-indicator"></i> <span class="button-label"><span>{{ LANG.t("Restore Selected") }}</span></span> </button> </div> <div ng-if="PERMS.canDownloadFileBackups || PERMS.canRestoreFileBackups" style="padding: 20px;"> <div class="action-module" ng-if="actionModule === 'download'" ng-include="'app/views/downloadModule.ptt'"></div> <div class="action-module" ng-if="actionModule === 'restore'" ng-include="'app/views/restoreModule.ptt'"></div> <div ng-if="actionStatus" class="status-bar"> <alert-box ng-model="actionStatus" on-close="clearStatus()" auto-close="actionStatus.closeable ? actionStatus.ttl : null"></alert-box> </div> </div> </div> </div> <div class="col-md-4" ng-if="PERMS.canDownloadFileBackups || PERMS.canRestoreFileBackups"> <div class="row" ng-if="PERMS.canDownloadFileBackups"> <div class="col-md-12"> <h3>{{ LANG.t("Downloads") }}</h3> <div ng-repeat="download in downloads track by $index" id="download_row_{{$index}}" style="padding: 5px 0;"> <span ng-if="!download.ready"><i ng-class="{'fas fa-cog fa-spin': !download.failed, 'fas fa-times': download.failed}"></i> {{ download.filename }}</span> <a href="" ng-if="download.ready" ng-click="directDownload(download.filename)">{{ download.filename }}</a> </div> <div ng-hide="downloads.length > 0 || loadingDownloads || !PERMS.canViewQueue"><span>{{ LANG.t("No Downloads Found") }}</span></div> </div> </div> <div class="row" ng-if="PERMS.canRestoreFileBackups"> <div class="col-md-12"> <h3>{{ LANG.t("Restores") }}</h3> <div ng-repeat="restore in restores track by $index" id="restore_row_{{$index}}" style="padding: 5px 0;"> <i class="fas" ng-class="{'fa-cog fa-spin': !restore.ready, 'fa-check': restore.ready && restore.status == 100, 'fa-times': restore.ready && restore.status > 100 }"></i> {{ restore.text }} - {{ LANG.d(restore.created) }} </div> <div ng-hide="restores.length > 0 || loadingRestores || !PERMS.canViewQueue"><span>{{ LANG.t("No Restores Found") }}</span></div> </div> </div> </div> </div> <div class="return-link"> <a href="" id="lnkReturn" ng-click="changeView('/fileBackups')" style="cursor: pointer;"> <span class="glyphicon glyphicon-circle-arrow-left"></span> {{ LANG.t("Go Back to File Backups") }} </a> </div> </div>
[-] deleteModule.ptt
[edit]
[-] dnsBackups.ptt
[edit]
[-] fileManager.ptt
[edit]
[+]
..
[-] dbBackups.ptt
[edit]
[-] cronBackups.ptt
[edit]
[-] fileBackups.ptt
[edit]
[-] snapshots.ptt
[edit]
[-] sslBackups.ptt
[edit]
[-] index.ptt
[edit]
[-] downloadModule.ptt
[edit]
[-] fullBackups.ptt
[edit]
[-] restoreModule.ptt
[edit]
[-] emailBackups.ptt
[edit]
[-] queues.ptt
[edit]
[-] settings.ptt
[edit]
[-] gdpr.ptt
[edit]
[-] permissionserror.ptt
[edit]