Current File : //usr/local/jetapps/var/www/jetbackup5/docroot/app/views/queueLogViewer.htm |
<div class="modal-header">
<h3 class="modal-title" style="display: inline;">{{ lang.t("Queue Group - #%s", group._id) }} (<span>{{ const.QUEUE_ITEM_TYPE_NAMES[group.type] }}</span>)</h3>
<button class="btn btn-primary" type="button" style="float: right;" ng-click="ok()">{{ lang.t("Close") }}</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<div ng-repeat="(key, value) in group.data"><strong>{{ key.replace("_", '') | capitalize }}</strong>: {{ value }}</div>
<div><strong>{{ lang.t('Queue Items') }}</strong>: {{ group.items }}</div>
<div><strong>{{ lang.t('Log File') }}</strong>: {{ group.log_file }}</div>
<div>
{{ lang.t('Status') }}:
<span ng-class="{
'fas fa-spin fa-circle-notch': group.status >= const.QUEUE_STATUS_PROCESSING && group.status < const.QUEUE_STATUS_COMPLETED,
'fas fa-check': group.status == const.QUEUE_STATUS_COMPLETED,
'fas fa-times': group.status == const.QUEUE_STATUS_FAILED || group.status == const.QUEUE_STATUS_ABORTED || group.status == const.QUEUE_STATUS_NEVER_FINISHED,
'fas fa-exclamation-triangle': group.status == const.QUEUE_STATUS_PARTIALLY,
'far fa-clock': group.status == const.QUEUE_STATUS_PENDING
}"></span>
<strong>{{ const.QUEUE_STATUS_NAMES[group.status] }}</strong>
</div>
<div style="overflow-y: auto; white-space: pre; height: 350px; border-top: 1px solid #ccc; margin-top: 10px; padding-top: 10px;">{{group.log_contents}}</div>
</div>
</div>
</div>