chrome.html 1.5 KB
Newer Older
B
bryk 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<!--
Copyright 2015 Google Inc. All Rights Reserved.

Licensed 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.
-->

17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
<md-toolbar class="kd-toolbar">
  <div class="md-toolbar-tools kd-toolbar-tools">
    <a ui-sref="replicationcontrollers" ui-sref-opts="{ reload: true }" tabindex="-1">
      <md-icon md-svg-icon="assets/images/kubernetes-logo.svg" class="kd-toolbar-logo"></md-icon>
    </a>
    <h2>
      <span>kubernetes</span>
    </h2>
    <div flex="auto" ui-view="toolbar"></div>
  </div>
</md-toolbar>

<md-toolbar ng-if="ctrl.isActionbarVisible()" ui-view="actionbar"
    class="kd-toolbar kd-chrome-actionbar md-hue-1">
</md-toolbar>

<md-content
    ng-class="{'kd-chrome-content': true, 'kd-chrome-has-actionbar': ctrl.isActionbarVisible()}">
  <div ng-switch="ctrl.showLoadingSpinner" flex="auto" >
B
bryk 已提交
36
    <div ng-switch-when="true" class="kd-center-fixed">
B
bryk 已提交
37 38 39 40
      <md-progress-circular md-mode="indeterminate" md-diameter="96">
      </md-progress-circular>
    </div>
    <div ng-switch-when="false" ng-transclude class="kd-app-content"></div>
41
  </div>
42
</md-content>