| |
| <!-- |
| 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 ng-if="job" class="navbar navbar-default navbar-fixed-top navbar-main"> |
| <div id="fold-button" ng-click="showSidebar()" class="btn btn-default navbar-btn pull-left"><i class="fa fa-navicon"></i></div> |
| <div class="navbar-title"> |
| <indicator-primary status="{{job.state}}"></indicator-primary>{{ job.name }} |
| </div> |
| <div class="navbar-info first last hidden-xs hidden-sm">{{ job.jid }}</div> |
| <div class="navbar-info first last"> |
| <div class="label-group"> |
| <bs-label status="{{status}}" ng-repeat="(status, value) in job['status-counts']">{{value}}</bs-label> |
| </div> |
| </div> |
| <div class="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' }}</span></div> |
| <div ng-if="job.duration > -1" class="navbar-info last first">{{job.duration}} ms</div> |
| <div ng-if="job.state=='RUNNING' || job.state=='CREATED'" class="navbar-info last first"><span ng-click="cancelJob($event)" class="show-pointer label label-danger">Cancel</span></div> |
| </nav> |
| <nav ng-if="job" class="navbar navbar-default navbar-fixed-top navbar-main-additional"> |
| <ul class="nav nav-tabs"> |
| <li ui-sref-active="active"><a ui-sref=".plan.overview">Plan</a></li> |
| <li ui-sref-active="active"><a ui-sref=".timeline">Timeline</a></li> |
| <li ui-sref-active="active"><a ui-sref=".exceptions">Exceptions</a></li> |
| <li ui-sref-active="active"><a ui-sref=".properties">Properties</a></li> |
| <li ui-sref-active="active"><a ui-sref=".config">Configuration</a></li> |
| </ul> |
| </nav> |
| <div id="content-inner" class="has-navbar-main-additional"> |
| <div ui-view="details"></div> |
| </div> |