]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html
bf0f22fbb4a1970bf28fcdbd2a3ca15c03f79885
[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 <i [ngClass]="[icons.user]"></i>
7 <span i18n
8 class="d-md-none">Logged in user</span>
9 </a>
10 <div ngbDropdownMenu>
11 <button ngbDropdownItem
12 disabled
13 i18n>Signed in as <strong>{{ username }}</strong></button>
14 <li class="dropdown-divider"></li>
15 <button ngbDropdownItem
16 *ngIf="!sso"
17 routerLink="/user-profile/edit">
18 <i [ngClass]="[icons.lock]"></i>
19 <span i18n>Change password</span>
20 </button>
21 <button ngbDropdownItem
22 (click)="logout()">
23 <i [ngClass]="[icons.signOut]"></i>
24 <span i18n>Sign out</span>
25 </button>
26 </div>
27 </div>