mirror of https://github.com/akveo/blur-admin
fix(pageTop): fix images paths
parent
01e6d389d8
commit
ea10d5d611
|
@ -12,20 +12,16 @@
|
|||
function MsgCenterCtrl($scope, $sce) {
|
||||
$scope.users = {
|
||||
0: {
|
||||
name: 'Vladimir',
|
||||
image: 'img/pic-vova.png'
|
||||
name: 'Vlad',
|
||||
},
|
||||
1: {
|
||||
name: 'Konstantin',
|
||||
image: 'img/pic-kostia.png'
|
||||
name: 'Kostya',
|
||||
},
|
||||
2: {
|
||||
name: 'Andrey',
|
||||
image: 'img/pic-andrey.png'
|
||||
},
|
||||
3: {
|
||||
name: 'Anastasiya',
|
||||
image: 'img/pic-nasta.png'
|
||||
name: 'Nasta',
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -41,7 +37,7 @@
|
|||
time: '2 hrs ago'
|
||||
},
|
||||
{
|
||||
image: 'img/shopping-cart.svg',
|
||||
image: 'assets/img/shopping-cart.svg',
|
||||
template: 'New orders received.',
|
||||
time: '5 hrs ago'
|
||||
},
|
||||
|
@ -56,7 +52,7 @@
|
|||
time: '2 days ago'
|
||||
},
|
||||
{
|
||||
image: 'img/comments.svg',
|
||||
image: 'assets/img/comments.svg',
|
||||
template: 'New comments on your post.',
|
||||
time: '3 days ago'
|
||||
},
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</div>
|
||||
<div class="msg-list">
|
||||
<a href class="clearfix" ng-repeat="msg in notifications">
|
||||
<div class="img-area"><img ng-src="{{ users[msg.userId].image || msg.image }}"></div>
|
||||
<div class="img-area"><img ng-src="{{::( msg.image || (users[msg.userId].name | profilePicture) )}}"></div>
|
||||
<div class="msg-area">
|
||||
<div ng-bind-html="getMessage(msg)"></div>
|
||||
<span>{{ msg.time }}</span>
|
||||
|
@ -40,7 +40,7 @@
|
|||
</div>
|
||||
<div class="msg-list">
|
||||
<a href class="clearfix" ng-repeat="msg in messages">
|
||||
<div class="img-area"><img ng-src="{{ users[msg.userId].image || msg.image }}"></div>
|
||||
<div class="img-area"><img ng-src="{{::( users[msg.userId].name | profilePicture )}}"></div>
|
||||
<div class="msg-area">
|
||||
<div>{{ msg.text }}</div>
|
||||
<span>{{ msg.time }}</span>
|
||||
|
|
|
@ -11,37 +11,37 @@
|
|||
{
|
||||
name: 'Default',
|
||||
bodyClass: '',
|
||||
thumbnailUrl: 'img/01_default.jpg',
|
||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/01_default.jpg',
|
||||
chartColorProfile: 'whitePanel'
|
||||
},
|
||||
{
|
||||
name: 'Peachy',
|
||||
bodyClass: SKIN_CLASS_PREFIX + '-peachy',
|
||||
thumbnailUrl: 'img/04_peachy.jpg',
|
||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/04_peachy.jpg',
|
||||
chartColorProfile: 'whitePanel'
|
||||
},
|
||||
{
|
||||
name: 'Blue',
|
||||
bodyClass: SKIN_CLASS_PREFIX + '-blue',
|
||||
thumbnailUrl: 'img/03_blue.jpg',
|
||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/03_blue.jpg',
|
||||
chartColorProfile: 'whitePanel'
|
||||
},
|
||||
{
|
||||
name: 'Material',
|
||||
bodyClass: SKIN_CLASS_PREFIX + '-material',
|
||||
thumbnailUrl: 'img/05_material.jpg',
|
||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/05_material.jpg',
|
||||
chartColorProfile: 'whitePanel'
|
||||
},
|
||||
{
|
||||
name: 'Transblue (beta)',
|
||||
bodyClass: SKIN_CLASS_PREFIX + '-transblue',
|
||||
thumbnailUrl: 'img/06_transblue.jpg',
|
||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/06_transblue.jpg',
|
||||
chartColorProfile: 'transparent'
|
||||
},
|
||||
{
|
||||
name: 'Transparent (beta)',
|
||||
bodyClass: SKIN_CLASS_PREFIX + '-transparent',
|
||||
thumbnailUrl: 'img/02_transparent.jpg',
|
||||
thumbnailUrl: 'assets/img/app/skin-thumbnails/02_transparent.jpg',
|
||||
chartColorProfile: 'transparent'
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue