mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-24 03:10:13 +01:00
popular app component completion
This commit is contained in:
parent
0381585a0d
commit
20f81773c3
2 changed files with 5 additions and 7 deletions
|
|
@ -1,18 +1,16 @@
|
|||
import {Component, ViewEncapsulation} from 'angular2/core';
|
||||
|
||||
import {AppPicturePipe} from '../../../theme/pipes';
|
||||
|
||||
@Component({
|
||||
selector: 'popular-app',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
pipes: [AppPicturePipe],
|
||||
styles: [require('./popularApp.scss')],
|
||||
template: require('./popularApp.html')
|
||||
})
|
||||
export class PopularApp {
|
||||
|
||||
constructor() {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log('DASHBOARD');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="popular-app-img">
|
||||
<!--<img ng-src="{{::( 'app/my-app-logo.png' | appImage )}}"/>-->
|
||||
<img src="{{ ('app/my-app-logo.png' | appPicture ) }}"/>
|
||||
</div>
|
||||
<div class="popular-app-cost row">
|
||||
<div class="col-xs-9">
|
||||
|
|
@ -22,4 +22,4 @@
|
|||
<div class="info-label">Sales</div>
|
||||
<div>2,928</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue