Current File : //usr/local/jetapps/var/www/jetbackup5/docroot/app/views/queuePriorities.htm |
<div ng-controller="queuePriorities" class="controller-box">
<h1>{{ lang.t("Queue Priorities") }}</h1>
<div class="row search-page-container">
<div class="col-xs-12 col-sm-5 col-md-4 col-lg-6">
<button class="btn btn-default" ng-click="fetch()" title="{{ lang.t('Refresh Records') }}">
<em aria-hidden="true" class="fas fa-redo"></em>
</button>
<a href="{{primaryURL}}/queuePriorityManage" class="btn btn-primary" ng-click="changeView('/queuePriorityManage')">
<em aria-hidden="true" class="fas fa-plus"></em>
{{ lang.t("Create New Queue Priority") }}
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-2">
<filter-box
box-options="filterOptions"
ng-model="filter"
ng-change="fetch()">
</filter-box>
</div>
<div class="col-xs-12 col-sm-3 col-md-4 col-lg-4">
<search ng-model="metaData.filterValue" ng-change="fetch()"></search>
</div>
</div>
<div class="table-responsive">
<table class="table table-striped content-table">
<thead>
<tr>
<th>
</th>
<th class="col-xs-6 col-sm-6 col-md-6 col-lg-6 column-title">
<button sort-by sort-meta="meta" sort-field="name" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('Name')) }}">{{ lang.t("Name") }}</button>
</th>
<th class="col-xs-3 col-sm-3 col-md-3 col-lg-3 column-title">
{{ lang.t("Tags") }}
</th>
<th class="col-xs-1 col-sm-1 col-md-1 col-lg-1 column-title" style="text-align: center;">
<button sort-by sort-meta="meta" sort-field="backup_priority" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('Backup Priority')) }}">{{ lang.t("Backup Priority") }}</button>
</th>
<th class="col-xs-1 col-sm-1 col-md-1 col-lg-1 column-title" style="text-align: center;">
<button sort-by sort-meta="meta" sort-field="clone_priority" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('Clone Priority')) }}">{{ lang.t("Clone Priority") }}</button>
</th>
<th class="col-xs-1 col-sm-1 col-md-1 col-lg-1 column-title" style="text-align: center;">
<button sort-by sort-meta="meta" sort-field="restore_priority" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('Restore Priority')) }}">{{ lang.t("Restore Priority") }}</button>
</th>
<th class="col-xs-1 col-sm-1 col-md-1 col-lg-1 column-title" style="text-align: center;">
<button sort-by sort-meta="meta" sort-field="download_priority" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('Download Priority')) }}">{{ lang.t("Download Priority") }}</button>
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat-start="priority in priorities track by $index" id="priority_row_{{$index}}" ng-click="openActions(priority)" class="pointer">
<td><em ng-show="priority.default" aria-hidden="true" style="color: #ffd200;" class="fas fa-star"></em></td>
<td data-title="{{ lang.t('Name') }}">
<span title="{{ priority.name }}">{{ priority.name }}</span>
<span ng-show="priority.default" style="font-size: 10px">({{lang.t("Default")}})</span>
</td>
<td data-title="{{ lang.t('Tags') }}">
<span ng-repeat="tag in priority.tags"><span class="label label-xxs label-primary" style="border-color: #dddddd; background-color: {{tags[tag].color}} !important;"><span class="fas fa-tag"></span> {{ tags[tag].name }}</span> </span>
</td>
<td data-title="{{ lang.t('Backup Priority') }}" style="text-align: center;">
<span title="{{ priority.backup_priority }}">{{ priority.backup_priority }}</span>
</td>
<td data-title="{{ lang.t('Clone Priority') }}" style="text-align: center;">
<span title="{{ priority.clone_priority }}">{{ priority.clone_priority }}</span>
</td>
<td data-title="{{ lang.t('Restore Priority') }}" style="text-align: center;">
<span title="{{ priority.restore_priority }}">{{ priority.restore_priority }}</span>
</td>
<td data-title="{{ lang.t('Download Priority') }}" style="text-align: center;">
<span title="{{ priority.download_priority }}">{{ priority.download_priority }}</span>
</td>
</tr>
<tr ng-repeat-end id="dt_module_row_{{$index}}">
<td colspan="6" class="actions-cell">
<div class="action-module" ng-if="isOpenedActions(priority)" ng-include="includePath('queuePriorityActions')"></div>
</td>
</tr>
<tr ng-hide="!loadingConditions">
<td colspan="7">
<loading-box>
<span>{{ lang.t("Loading Queue Priorities") }}</span>
</loading-box>
</td>
</tr>
<tr ng-hide="priorities.length > 0 || loadingPriorities">
<td colspan="7">
<span>{{ lang.t("No Queue Priorities Found") }}</span>
</td>
</tr>
</tbody>
</table>
</div>
<pagination fetch="fetch" meta="meta"></pagination>
</div>