Statistics
| Branch: | Tag: | Revision:

one / src / sunstone / public / app / sunstone / user_and_zone.hbs @ 30584056

History | View | Annotate | Download (2.4 KB)

1
{{! -------------------------------------------------------------------------- }}
2
{{! Copyright 2002-2015, OpenNebula Project, OpenNebula Systems                }}
3
{{!                                                                            }}
4
{{! Licensed under the Apache License, Version 2.0 (the "License"); you may    }}
5
{{! not use this file except in compliance with the License. You may obtain    }}
6
{{! 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

    
17
<ul class="dropdown menu" data-disable-hover="true" data-click-open="true" data-alignment="right" data-dropdown-menu>
18
  <li>
19
    <a href="#">
20
      <i class="fa fa-user fa-lg fa-fw header-icon"></i>
21
      {{displayName}}
22
    </a>
23
    <ul class="menu">
24
      {{#if settingsTabEnabled}}
25
      <li>
26
        <a href="#" class="configuration">
27
          <i class="fa fa-fw fa-cog"></i>
28
          {{tr "Settings"}}
29
        </a>
30
      </li>
31
      {{/if}}
32
      <li>
33
        <a href="#" class="logout">
34
          <i class="fa fa-fw fa-power-off"></i>
35
          {{tr "Sign Out"}}
36
        </a>
37
      </li>
38
      {{#if availableViews}}
39
      <li>
40
        <a href="#">
41
          <i class="fa fa-fw fa-eye"></i>
42
          {{tr "Views"}}
43
        </a>
44
        <ul class="menu">
45
          {{#each availableViews}}
46
          <li>
47
            <a href="#" class="quickconf_view" view="{{this}}">
48
              <i class="fa fa-fw"></i> 
49
              {{this}}
50
            </a>
51
          </li>
52
          {{/each}}
53
        </ul>
54
      </li>
55
      {{/if}}
56
    </ul>
57
  </li>
58
  <li>
59
    <a id="zonelector" href="#">
60
      <i class="fa fa-globe fa-lg fa-fw header-icon"></i>
61
      {{zoneName}}
62
    </a>
63
    <ul class="menu zone-ul">
64
    </ul>
65
  </li>
66
</ul>