Mini Shell

Direktori : /usr/local/jetapps/var/www/jetbackup5/docroot/app/views/
Upload File :
Current File : //usr/local/jetapps/var/www/jetbackup5/docroot/app/views/backupJobActions.htm

<div style="padding: 20px;">
    <ul class="action-icons">
        <li ng-hide="job.type == const.BACKUP_TYPE_JB_CONFIG">
            <button ng-click="toggleState(job)">
                <em aria-hidden="true" class="fas" ng-class="{ 'fa-power-off': !loaders.state, 'fa-spin fa-circle-notch': loaders.state }"></em>
                {{ lang.t("Backup Job") }}
                <span class="switch-toggle" ng-class="{ 'toggle-enabled': !job.disabled, 'toggle-disabled': job.disabled }">
                    {{ job.disabled ? lang.t("Disabled") : lang.t("Enabled") }}
                </span>
            </button>
        </li>
        <li>
            <a href="{{primaryURL}}/backupJobManage/{{job._id}}" ng-click="changeView('/backupJobManage/' + job._id)"><em aria-hidden="true" class="fas fa-cog"></em>{{ lang.t("Manage Backup Job") }}</a>
        </li>
        <li ng-hide="disabled || job.running">
            <button ng-click="runBackupJobManually(job)">
                <em aria-hidden="true" class="fas" ng-class="{ 'fa-play': !loaders.runnow, 'fa-spin fa-circle-notch': loaders.runnow }"></em>
                {{ lang.t("Run Backup Job Now") }}
            </button>
        </li>
        <li>
            <button ng-click="viewLogs(job)" title="{{ lang.t('View Selected backup on logs page') }}"><em aria-hidden="true" class="fas fa-file-alt" ></em>{{ lang.t("View Backup Logs") }}</button>
        </li>
        <li ng-hide="job.type == const.BACKUP_TYPE_JB_CONFIG">
            <button ng-click="duplicate(job)" title="{{ lang.t('Make copy of the selected backup job') }}"><em aria-hidden="true" class="fas" ng-class="{ 'fa-clone': !loaders.duplicate, 'fa-spin fa-circle-notch': loaders.duplicate }"></em>{{ lang.t("Duplicate Backup Job") }}</button>
        </li>
        <li ng-hide="job.type == const.BACKUP_TYPE_JB_CONFIG">
            <button ng-click="onClickDelete(job)" title="{{ lang.t('Remove the selected backup job') }}"><em aria-hidden="true" class="fas" ng-class="{ 'fa-trash': !loaders.delete, 'fa-spin fa-circle-notch': loaders.delete }"></em>{{ lang.t("Delete Backup Job") }}</button>
        </li>
    </ul>
</div>

Zerion Mini Shell 1.0