Current File : //usr/local/jetapps/var/www/jetbackup5/docroot/app/views/destinationActions.htm
<div style="padding: 20px;">
    <ul class="action-icons">
        <li ng-hide="destination.reindex">
            <button ng-click="toggleStatus(destination)">
                <em aria-hidden="true" class="fas" ng-class="{ 'fa-power-off': !loaders.state, 'fa-spin fa-circle-notch': loaders.state }"></em>
                {{ lang.t("Destination") }}
                <span class="switch-toggle" ng-class="{ 'toggle-enabled': !destination.disabled, 'toggle-disabled': destination.disabled }">
                    {{ destination.disabled ? lang.t("Disabled") : lang.t("Enabled") }}
                </span>
            </button>
        </li>
        <li ng-hide="destination.reindex"><a href="{{primaryURL}}/destinationManage/{{destination._id}}" ng-click="changeView('/destinationManage/' + destination._id)"><em aria-hidden="true" class="fas fa-cog"></em>{{ lang.t("Manage Destination") }}</a></li>
        <li ng-show="destination.job_type == const.DESTINATION_JOB_TYPE_BACKUP"><a href="{{primaryURL}}/fileManager/destination/{{destination._id}}" ng-click="changeView('/fileManager/destination/' + destination._id)" title="{{ lang.t('Browse the backup destination files') }}"><em aria-hidden="true" class="fas fa-copy"></em>{{ lang.t("Browse Dest. Files") }}</a></li>
        <li ng-hide="destination.reindex || destination.job_type != const.DESTINATION_JOB_TYPE_BACKUP" tooltip="bottom|Toggle end-user visibility of backups. When disabled, the backups from the destination will not be visible to your end-users.">
            <button ng-click="toggleHidden(destination)">
                <em aria-hidden="true" class="fas" ng-class="{ 'fa-eye': !loaders.hide, 'fa-spin fa-circle-notch': loaders.hide }"></em>
                {{lang.t("Backup Visibility") }}
                <span class="switch-toggle" ng-class="{ 'toggle-enabled': !destination.hidden, 'toggle-disabled': destination.hidden }">
                    {{ lang.t(!destination.hidden ? "Enabled" : "Disabled") }}
                </span>
            </button>
        </li>
        <li ng-hide="destination.reindex || destination.job_type != const.DESTINATION_JOB_TYPE_BACKUP" ng-if="perm.isRoot && !destination.readonly" tooltip="bottom|Exporting the JetBackup configuration will allow you to quickly recover from a disaster and will restore all your JetBackup configurations.  We highly recommend you enable “Export JB Config” on at least one of your destinations. Export runs daily at 1 AM server time">
            <button ng-click="toggleDR(destination)">
                <em aria-hidden="true" class="fas" ng-class="{ 'fa-shield-alt': !loaders.dr, 'fa-spin fa-circle-notch': loaders.dr }"></em>
                {{ lang.t("Export JB Config") }}
                <span class="switch-toggle" ng-class="{ 'toggle-enabled': destination.dr, 'toggle-disabled': !destination.dr }">
                    {{ destination.dr ? lang.t("Enabled") : lang.t("Disabled") }}
                </span>
            </button>
        </li>
        <li ng-show="destination.job_type == const.DESTINATION_JOB_TYPE_BACKUP"><button ng-click="measureSpeed(destination)"><em aria-hidden="true" class="fas" ng-class="{ 'fa-tachometer-alt': !loaders.speed, 'fa-spin fa-circle-notch': loaders.speed }"></em>{{ lang.t("Speed Test") }}</button></li>
        <li><button ng-click="validateDestination(destination)"><em aria-hidden="true" class="fas" ng-class="{ 'fa-check-square': !loaders.validation, 'fa-spin fa-circle-notch': loaders.validation }"></em>{{ lang.t("Validate Destination") }}</button></li>
        <li ng-hide="destination.reindex || destination.job_type != const.DESTINATION_JOB_TYPE_BACKUP"><button ng-click="reindex(destination)"><em aria-hidden="true" class="fas" ng-class="{ 'fa-sync': !loaders.reindex, 'fa-spin fa-circle-notch': loaders.reindex }"></em>{{ lang.t("Reindex Destination") }}</button></li>
        <li ng-hide="destination.reindex"><button ng-click="onClickDelete(destination)"><em aria-hidden="true" class="fas" ng-class="{ 'fa-trash': !loaders.delete, 'fa-spin fa-circle-notch': loaders.delete }"></em>{{ lang.t("Delete Destination") }}</button></li>
    </ul>
</div>