diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-01-29 13:21:12 -0800 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-02-11 16:43:22 +0000 |
commit | 4148f2eee6313068d3223871005160b2902abb18 (patch) | |
tree | 5266cfee8f41eda2224479d2c911c3128988a38a /app/common/directives/app-header.html | |
parent | b0a0847a8eb02ae21f755942799a81c6e3475e64 (diff) | |
download | phosphor-webui-4148f2eee6313068d3223871005160b2902abb18.tar.gz phosphor-webui-4148f2eee6313068d3223871005160b2902abb18.zip |
Adding a profile settings page so readonly and operator
roles are able to change their own password.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: Iee9536255ad47f4df4af8746c1e01da37c407f2b
Diffstat (limited to 'app/common/directives/app-header.html')
-rw-r--r-- | app/common/directives/app-header.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app/common/directives/app-header.html b/app/common/directives/app-header.html index bf4fb8f..ec03874 100644 --- a/app/common/directives/app-header.html +++ b/app/common/directives/app-header.html @@ -2,7 +2,16 @@ <!-- HEADER --> <div class="header__info-section"> <span class="header__title">OpenBMC</span> - <a href="" class="header__logout" ng-click="logout()">Log out</a> + <div class="header__actions" uib-dropdown> + <button id="user-actions" type="button" uib-dropdown-toggle> + <icon class="icon-user" file="icon-avatar.svg"></icon> + {{username}} + </button> + <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="user-actions"> + <li role="menuitem"><a href="#/profile-settings" class="btn">Profile settings</a></li> + <li role="menuitem"><button ng-click="logout()" type="button" class="btn">Log out</button></li> + </ul> + </div> </div> <div class="header__functions-section"> <div class="logo__wrapper"> |