]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html
import ceph quincy 17.2.6
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / core / navigation / identity / identity.component.html
1 <div ngbDropdown
2 placement="bottom-right">
3 <a ngbDropdownToggle
4 i18n-title
5 title="Logged in user"
6 role="button">
7 <i [ngClass]="[icons.user]"></i>
8 <span i18n
9 class="d-md-none">Logged in user</span>
10 </a>
11 <div ngbDropdownMenu>
12 <button ngbDropdownItem
13 disabled
14 i18n>Signed in as <strong>{{ username }}</strong></button>
15 <hr class="dropdown-divider" />
16 <button ngbDropdownItem
17 *ngIf="!sso"
18 routerLink="/user-profile/edit">
19 <i [ngClass]="[icons.lock]"></i>
20 <span i18n>Change password</span>
21 </button>
22 <button ngbDropdownItem
23 (click)="logout()">
24 <i [ngClass]="[icons.signOut]"></i>
25 <span i18n>Sign out</span>
26 </button>
27 </div>
28 </div>