mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-30 14:18:49 +01:00
main user profile avatar fix
This commit is contained in:
parent
c78c5299e2
commit
ce4671f81f
3 changed files with 6 additions and 3 deletions
|
|
@ -1,11 +1,13 @@
|
|||
import {Component, ViewEncapsulation} from 'angular2/core';
|
||||
|
||||
import {MsgCenter} from '../msgCenter';
|
||||
import {ProfilePicturePipe} from '../pipes/image/profile-picture.pipe';
|
||||
|
||||
@Component({
|
||||
selector: 'page-top',
|
||||
styles: [ require('./pageTop.scss') ],
|
||||
template: require('./pageTop.html'),
|
||||
directives: [MsgCenter]
|
||||
directives: [MsgCenter],
|
||||
pipes: [ProfilePicturePipe]
|
||||
})
|
||||
export class PageTop {}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<div class="user-profile clearfix">
|
||||
<div class="dropdown al-user-profile">
|
||||
<a class="profile-toggle-link dropdown-toggle" id="user-profile-dd" data-toggle="dropdown" aria-expanded="false">
|
||||
<img src="http://akveo.com/blur-admin/assets/img/app/profile/Nasta.png">
|
||||
<img src="{{ ( 'Nasta' | profilePicture ) }}">
|
||||
</a>
|
||||
<div class="dropdown-menu top-dropdown-menu profile-dropdown" aria-labelledby="user-profile-dd">
|
||||
<li class="dropdown-item"><i class="dropdown-arr"></i></li>
|
||||
|
|
@ -21,4 +21,4 @@
|
|||
</div>
|
||||
<msg-center></msg-center>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ a.al-logo {
|
|||
float: left;
|
||||
outline: none !important;
|
||||
line-height: 60px;
|
||||
text-decoration: none;
|
||||
|
||||
span {
|
||||
color: $primary;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue