This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Component, OnInit, Input, EventEmitter} from '@angular/core'; | |
| import {MaterializeAction} from "angular2-materialize"; | |
| @Component({ | |
| selector: 'app-auth-dialog', | |
| templateUrl: './auth-dialog.component.html', | |
| styleUrls: ['./auth-dialog.component.sass'] | |
| }) | |
| export class AuthDialogComponent implements OnInit { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="modal" materialize="modal" [materializeActions]="modalActions"> | |
| <div class="modal-content"> | |
| <div class="row"> | |
| <div class="row"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form (ngSubmit)="onSignInSubmit()" #f="ngForm" > | |
| <div class="row"> | |
| <div class="input-field col s12"> | |
| <input id="email" | |
| type="email" | |
| required |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Component, OnInit, Output, EventEmitter} from '@angular/core'; | |
| import {Angular2TokenService} from "angular2-token"; | |
| @Component({ | |
| selector: 'app-login-form', | |
| templateUrl: './login-form.component.html', | |
| styleUrls: ['./login-form.component.sass'] | |
| }) | |
| export class LoginFormComponent implements OnInit { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form (ngSubmit)="onSignUpSubmit()" #f="ngForm" > | |
| <div class="row"> | |
| <div class="input-field col s12"> | |
| <input id="email" | |
| type="email" | |
| required |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Component, OnInit, EventEmitter, Output} from '@angular/core'; | |
| import {Angular2TokenService} from "angular2-token"; | |
| @Component({ | |
| selector: 'app-register-form', | |
| templateUrl: './register-form.component.html', | |
| styleUrls: ['./register-form.component.sass'] | |
| }) | |
| export class RegisterFormComponent implements OnInit { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Component, OnInit, Input, EventEmitter} from '@angular/core'; | |
| import {MaterializeAction} from "angular2-materialize"; | |
| @Component({ | |
| selector: 'app-auth-dialog', | |
| templateUrl: './auth-dialog.component.html', | |
| styleUrls: ['./auth-dialog.component.sass'] | |
| }) | |
| export class AuthDialogComponent implements OnInit { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="modal" materialize="modal" [materializeActions]="modalActions"> | |
| <div class="modal-content"> | |
| <div class="row"> | |
| <div class="row"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Component, OnInit, ViewChild} from '@angular/core'; | |
| import {AuthDialogComponent} from "../auth-dialog/auth-dialog.component"; | |
| import {Angular2TokenService} from "angular2-token"; | |
| @Component({ | |
| selector: 'app-toolbar', | |
| templateUrl: './toolbar.component.html', | |
| styleUrls: ['./toolbar.component.sass'] | |
| }) | |
| export class ToolbarComponent implements OnInit { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--Navigation--> | |
| <div class="navbar-fixed"> | |
| <nav role="navigation"> | |
| <div class="nav-wrapper blue "> | |
| <a [routerLink]="['']" id="logo-container" class="brand-logo">Rails & Angular Auth</a> | |
| <ul class="right hide-on-med-and-down"> |