[ADF-1237] removed material design lite from userinfo component (#2238)

* [ADF-1083] removing material design lite from userinfo component

* [ADF-1237] - styled userinfo component]

* [ADF-1237] removed material design lite from userinfo component

* [ADF-1237] updated readme with the two new options
This commit is contained in:
Vito
2017-08-24 02:53:59 -07:00
committed by Mario Romano
parent 07ba8bc15f
commit 98cb6de595
11 changed files with 359 additions and 218 deletions

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { Component, Input, OnInit } from '@angular/core';
import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
import { AlfrescoAuthenticationService } from 'ng2-alfresco-core';
import { BpmUserModel } from './../models/bpm-user.model';
import { EcmUserModel } from './../models/ecm-user.model';
@@ -26,8 +26,9 @@ declare var require: any;
@Component({
selector: 'adf-userinfo, ng2-alfresco-userinfo',
styleUrls: ['./user-info.component.css'],
templateUrl: './user-info.component.html'
styleUrls: ['./user-info.component.scss'],
templateUrl: './user-info.component.html',
encapsulation: ViewEncapsulation.None
})
export class UserInfoComponent implements OnInit {
@@ -38,7 +39,10 @@ export class UserInfoComponent implements OnInit {
bpmBackgroundImage: string = require('../assets/images/bpm-background.png');
@Input()
menuOpenType: string = 'right';
menuPositionX: string = 'after';
@Input()
menuPositionY: string = 'below';
@Input()
fallBackThumbnailImage: string;