blob: 6a1573ad56f06bc9994f2212d30d3f9cc05d266a [file] [log] [blame]
{{!
* 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.
}}
{{#if isClusterDataLoaded}}
<div id="main-nav">
<div class="navbar">
<div class="navbar-inner">
<a class="brand" href="#">
{{clusterName}}
{{#view App.EmptyView controllerBinding="App.router.backgroundOperationsController"}}
{{#if allOperationsCount}}
<span class="label operations-count" {{action "showPopup" target="controller"}}>{{allOperationsCount}}</span>
{{/if}}
{{/view}}
</a>
{{view App.MainMenuView}}
</div>
</div>
</div>
{{outlet}}
{{else}}
<h2>loading...</h2>
{{/if}}