| // |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| nav.navbar.navbar-default.navbar-fixed-top.navbar-main(ng-if="job") |
| #fold-button.btn.btn-default.navbar-btn.pull-left(ng-click='showSidebar()') |
| i.fa.fa-navicon |
| |
| .navbar-title |
| indicator-primary(status="{{job.state}}") |
| | {{ job.name }} |
| |
| .navbar-info.first.last.hidden-xs.hidden-sm |
| | {{ job.jid }} |
| |
| .navbar-info.first.last |
| .label-group |
| bs-label(status="{{status}}" ng-repeat="(status, value) in job['status-counts']") {{value}} |
| |
| .navbar-info.first.last.hidden-xs.hidden-sm |
| | {{ job['start-time'] | amDateFormat:'YYYY-MM-DD, H:mm:ss' }} |
| span(ng-if="job['end-time'] > -1") |
| | - |
| | {{ job['end-time'] | amDateFormat:'YYYY-MM-DD, H:mm:ss' }} |
| |
| .navbar-info.last.first(ng-if="job.duration > -1") |
| | {{job.duration}} ms |
| |
| .navbar-info.last.first(ng-if="job.state=='RUNNING' || job.state=='CREATED'") |
| span.show-pointer.label.label-danger(ng-click="cancelJob($event)") |
| | Cancel |
| |
| nav.navbar.navbar-default.navbar-fixed-top.navbar-main-additional(ng-if="job") |
| ul.nav.nav-tabs |
| li(ui-sref-active='active') |
| a(ui-sref=".plan.overview") Plan |
| |
| //- li(ui-sref-active='active' ng-if="job['end-time'] > -1") |
| li(ui-sref-active='active') |
| a(ui-sref=".timeline") Timeline |
| |
| li(ui-sref-active='active') |
| a(ui-sref=".exceptions") Exceptions |
| |
| li(ui-sref-active='active') |
| a(ui-sref=".properties") Properties |
| |
| li(ui-sref-active='active') |
| a(ui-sref=".config") Configuration |
| |
| #content-inner.has-navbar-main-additional |
| div(ui-view="details") |