Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Added proto sign up page and buttons redirect correctly
- Loading branch information
Showing
8 changed files
with
83 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,10 @@ a | |
text-decoration: none; | ||
color: white; | ||
} | ||
/* | ||
.login | ||
{ | ||
box-shadow: 1px 1px 1px 1px grey; | ||
padding: 20px; | ||
} | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,18 @@ | ||
<button type="button" class="btn btn-dark m-4 "><a routerLink = "/generator-search">Generator</a></button> | ||
<div class = "container "> | ||
<div class = "row"> | ||
<div class = "col-md-4 mx-auto login well"> | ||
<h2 class = "text-center mb-3">Log In</h2> | ||
<div class = "col-md-6 mx-auto mt-4"> | ||
<h4 class = "text-center mb-3">Log In</h4> | ||
<form> | ||
<div class="form-group"> | ||
<label for="exampleInputEmail1">Email address</label> | ||
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email"> | ||
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email"> | ||
</div> | ||
<div class="form-group"> | ||
<label for="exampleInputPassword1">Password</label> | ||
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"> | ||
</div> | ||
<!--<div class="form-check"> | ||
<input type="checkbox" class="form-check-input" id="exampleCheck1"> | ||
<label class="form-check-label" for="exampleCheck1">Check me out</label> | ||
</div>--> | ||
<button type="submit" class="btn btn-primary mt-2"><a routerLink = "/generator-search">Submit</a></button> | ||
</div> | ||
<a routerLink = "/generator-search"><button type="submit" class="btn btn-primary">Submit</button></a> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
</div> |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
a | ||
{ | ||
text-decoration: none; | ||
color: white; | ||
} | ||
/* | ||
.login | ||
{ | ||
padding: 20px; | ||
} | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div class = "container "> | ||
<div class = "row"> | ||
<div class = "col-md-6 mx-auto mt-4"> | ||
<h4 class = "text-center mb-3">Sign Up</h4> | ||
<form> | ||
<div class="form-group"> | ||
<label for="exampleInputEmail1">Email address</label> | ||
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email"> | ||
</div> | ||
<div class="form-group"> | ||
<label for="exampleInputPassword1">Password</label> | ||
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"> | ||
</div> | ||
<a routerLink = "/generator-search"><button type="submit" class="btn btn-primary">Submit</button></a> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { SignUpComponent } from './sign-up.component'; | ||
|
||
describe('SignUpComponent', () => { | ||
let component: SignUpComponent; | ||
let fixture: ComponentFixture<SignUpComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ SignUpComponent ] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(SignUpComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-sign-up', | ||
templateUrl: './sign-up.component.html', | ||
styleUrls: ['./sign-up.component.css'] | ||
}) | ||
export class SignUpComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} |