mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
#17 Removed MDL directive
This commit is contained in:
parent
118ebe6767
commit
32722dfd95
@ -1,4 +1,4 @@
|
|||||||
<div mdl class="login-card-wide mdl-card mdl-shadow--4dp">
|
<div class="login-card-wide mdl-card mdl-shadow--4dp">
|
||||||
<form [ngFormModel]="form" (submit)="onSubmit(form.value, $event)">
|
<form [ngFormModel]="form" (submit)="onSubmit(form.value, $event)">
|
||||||
<div class="mdl-card__title">
|
<div class="mdl-card__title">
|
||||||
<h2 class="mdl-card__title-text ">Login</h2>
|
<h2 class="mdl-card__title-text ">Login</h2>
|
||||||
|
@ -2,13 +2,12 @@ import {Component} from 'angular2/core';
|
|||||||
import {Router, ROUTER_DIRECTIVES} from 'angular2/router';
|
import {Router, ROUTER_DIRECTIVES} from 'angular2/router';
|
||||||
import {FORM_DIRECTIVES, ControlGroup, FormBuilder, Validators} from 'angular2/common';
|
import {FORM_DIRECTIVES, ControlGroup, FormBuilder, Validators} from 'angular2/common';
|
||||||
import {Authentication} from '../../services/authentication';
|
import {Authentication} from '../../services/authentication';
|
||||||
import {MDL} from '../MaterialDesignLiteUpgradeElement';
|
|
||||||
declare let componentHandler;
|
declare let componentHandler;
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'login',
|
selector: 'login',
|
||||||
moduleId: 'app/components/login/login',
|
moduleId: 'app/components/login/login',
|
||||||
directives: [MDL, ROUTER_DIRECTIVES, FORM_DIRECTIVES],
|
directives: [ROUTER_DIRECTIVES, FORM_DIRECTIVES],
|
||||||
templateUrl: 'login.component.html',
|
templateUrl: 'login.component.html',
|
||||||
styleUrls: ['login.component.css'],
|
styleUrls: ['login.component.css'],
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user