| angular level up |
| 1 | import {NgModule} from "@angularcore"; import { LoginComponent } from '.loginlogin.component'; import { RegistrationComponent } from '.registrationregistration.component'; import {AuthComponent} from ".auth.component"; import {CommonModule} from "@angularcommon"; |
| 2 | @NgModule({ declarations: LoginComponent, RegistrationComponent, AuthComponent, imports: CommonModule }) export class AuthModule {} import {Component} from "@angularcore"; @Component({ selector: 'wfm-auth', templateUrl: '.auth.component.html' }) |
| 3 | export class AuthComponent {} import { BrowserModule } from '@angularplatform-browser'; import { NgModule } from '@angularcore'; import { AppComponent } from '.app.component'; import {AuthModule} from ".authauth.module"; @NgModule({ declarations: AppComponent, imports: BrowserModule, AuthModule, |
| 4 | providers: , bootstrap: AppComponent }) export class AppModule { } <p class="text-xs-center">Войдите для работы<p> <form> <div class="form-group"> <label for="email">Email<label> <input type="text" class="form-control underlined" id="email" placeholder="Введите ваш email"> <div> |
| 5 | <div class="form-group"> <label for="password">Пароль<label> <input type="password" class="form-control underlined" id="password" placeholder="Пароль"> <div> <div class="form-group"> <button type="submit" class="btn btn-block btn-primary">Войти<button> <div> <div class="form-group"> <p class="text-muted text-xs-center">Нет аккаунта? <a href="#">Зарегистрироваться!<a><p> <div> <form> |
| 6 | <p class="text-xs-center">Регистрация для получения доступа<p> <form> <div class="form-group"> <label for="email">Email<label> <input type="text" class="form-control underlined" id="email" placeholder="Введите email"> <div> |
| 7 | <div class="form-group has-error"> <label for="password">Пароль<label> <input type="password" class="form-control underlined" id="password" placeholder="Введите пароль"> <span class="form-help-text">Error message.<span> <div> |
| 8 | <div class="form-group has-success"> <label for="name">Имя<label> <input type="text" class="form-control underlined" id="name" placeholder="Введите имя"> <span class="form-help-text">Success message.<span> <div> |
| 9 | <div class="form-group"> <label for="agree"> <input class="checkbox" id="agree" type="checkbox"> <span>Согласен с правилами<span> <label> <div> <div class="form-group"> <button type="submit" class="btn btn-block btn-primary">Зарегистрироваться<button> <div> |
| 10 | <div class="form-group"> <p class="text-muted text-xs-center">Уже есть аккаунт?<a href="#">Войти!<a><p> <div> <form> <div class="auth"> <div class="auth-container"> <div class="card"> <header class="auth-header"> <h1 class="auth-title"> <div class="logo"> <span class="1"><span> Домашняя бухгалтерия <h1> <header> |
| … |
Комментарии