mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Moved on left side user info menu on demo shell
This commit is contained in:
@@ -9,5 +9,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.user-profile {
|
.user-profile {
|
||||||
margin-right: 3px;
|
margin-right: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mdl-button-padding {
|
||||||
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
@@ -2,7 +2,14 @@
|
|||||||
<div mdl class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
|
<div mdl class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
|
||||||
<div *ngIf="!isLoginPage()">
|
<div *ngIf="!isLoginPage()">
|
||||||
<header class="mdl-layout__header">
|
<header class="mdl-layout__header">
|
||||||
<div class="mdl-layout__header-row">
|
<div class="mdl-button-padding mdl-layout__header-row">
|
||||||
|
|
||||||
|
<div *ngIf="isLoggedIn()">
|
||||||
|
<ng2-alfresco-userinfo class="user-profile" [menuOpenType]="left">
|
||||||
|
</ng2-alfresco-userinfo>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
<span class="mdl-layout-title">Demo Application</span>
|
<span class="mdl-layout-title">Demo Application</span>
|
||||||
<!-- Add spacer, to align navigation to the right -->
|
<!-- Add spacer, to align navigation to the right -->
|
||||||
@@ -23,10 +30,6 @@
|
|||||||
<a class="mdl-navigation__link" data-automation-id="settings" href="" routerLink="/settings">Settings</a>
|
<a class="mdl-navigation__link" data-automation-id="settings" href="" routerLink="/settings">Settings</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div class="user-profile" *ngIf="isLoggedIn()">
|
|
||||||
<ng2-alfresco-userinfo></ng2-alfresco-userinfo>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Right aligned menu below button -->
|
<!-- Right aligned menu below button -->
|
||||||
<button id="demo-menu-lower-right" data-automation-id="right-action-menu"
|
<button id="demo-menu-lower-right" data-automation-id="right-action-menu"
|
||||||
class="mdl-button mdl-js-button mdl-button--icon">
|
class="mdl-button mdl-js-button mdl-button--icon">
|
||||||
|
Reference in New Issue
Block a user