ec86a6473228c8538571e9d7c6f797667fe7e91b
[vnfsdk/refrepo.git] /
1 <!--
2   Copyright 2016-2017 Huawei Technologies Co., Ltd.
3  
4   Licensed under the Apache License, Version 2.0 (the "License");
5   you may not use this file except in compliance with the License.
6   You may obtain a copy of the License at
7  
8       http://www.apache.org/licenses/LICENSE-2.0
9  
10   Unless required by applicable law or agreed to in writing, software
11   distributed under the License is distributed on an "AS IS" BASIS,
12   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   See the License for the specific language governing permissions and
14   limitations under the License.
15 -->
16     <md-toolbar ng-show="!showSearch">
17         <div class="md-toolbar-tools">
18             <md-button ng-click="layout.toggleSidenav('left')" hide-gt-md aria-label="Menu">
19                 <ng-md-icon icon="menu"></ng-md-icon>
20             </md-button>
21             <h3>
22                 <a href="/">vnfmarket</a>
23             </h3>
24             <span flex></span>
25             <md-button aria-label="Search" ng-click="showSearch = !showSearch">
26                 <ng-md-icon icon="search"></ng-md-icon>
27             </md-button>
28             <md-menu>
29                 <md-button aria-label="Open Settings" ng-click="layout.openMenu($mdOpenMenu, $event)">
30                             <md-icon> more_vert </md-icon>
31                 </md-button>
32                 <md-menu-content width="4">
33                     <md-menu-item>
34                         <md-button ng-click="layout.changeProfile($event)">
35                             <md-icon>face</md-icon>
36                             Profile
37                         </md-button>
38                     </md-menu-item>
39                     <md-menu-item>
40                         <md-button ng-click="layout.changePassword()">
41                             <md-icon>lock</md-icon>
42                             Password
43                         </md-button>
44                     </md-menu-item>
45                     <md-menu-divider></md-menu-divider>
46                     <md-menu-item>
47                         <md-button ng-click="layout.logOut()">
48                             <md-icon>power_settings_new</md-icon>
49                             Logout
50                         </md-button>
51                     </md-menu-item>
52                 </md-menu-content>
53             </md-menu>
54         </div>
55     </md-toolbar>
56     <md-toolbar class="md-hue-1" ng-show="showSearch">
57         <div class="md-toolbar-tools">
58             <md-button ng-click="showSearch = !showSearch" aria-label="Back">
59                 <ng-md-icon icon="arrow_back"></ng-md-icon>
60             </md-button>
61             <h3 flex="10">
62                 Back
63             </h3>
64             <md-input-container md-theme="input" flex>
65                 <label>&nbsp;</label>
66                 <input ng-model="search.who" placeholder="Search ...">
67             </md-input-container>
68
69         </div>
70     </md-toolbar>
71     <md-content class="md-blue-grey-theme" flex md-scroll-y>
72         <ui-view layout="column" layout-fill layout-padding>
73
74
75         </ui-view>
76     </md-content>