added login,register, about and imprint page
parent
d49b1827e1
commit
953c6060b7
@ -1 +1,4 @@
|
||||
<app-home id="content"></app-home>
|
||||
<!--<app-login id="login"></app-login>-->
|
||||
<!--<registration id="register"></registration>-->
|
||||
<app-imprint id="imprint"></app-imprint>
|
||||
<!--<app-about id="about"></app-about>-->
|
@ -0,0 +1,10 @@
|
||||
@import '../../../styles/mixins.sass'
|
||||
@import '../../../styles/vars.sass'
|
||||
|
||||
#aboutcontainer
|
||||
@include gridPosition(2, 2,2,2)
|
||||
background-color: $cPrimaryBackground
|
||||
input
|
||||
margin: 0.25em
|
||||
#header
|
||||
@include gridPosition(1, 2, 1, 2)
|
@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { AboutComponent } from './about.component';
|
||||
|
||||
describe('AboutComponent', () => {
|
||||
let component: AboutComponent;
|
||||
let fixture: ComponentFixture<AboutComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ AboutComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(AboutComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-about',
|
||||
templateUrl: './about.component.html',
|
||||
styleUrls: ['./about.component.sass']
|
||||
})
|
||||
export class AboutComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
|
||||
<div id="imprintcontainer">
|
||||
<h1>Imprint</h1>
|
||||
<p>The greenvironment network is being developed by Bliblablub</p>
|
||||
<h2>Contact</h2>
|
||||
<p>Email: mailadress</p>
|
||||
</div>
|
@ -0,0 +1,10 @@
|
||||
@import '../../../styles/mixins.sass'
|
||||
@import '../../../styles/vars.sass'
|
||||
|
||||
#imprintcontainer
|
||||
@include gridPosition(2, 2,2,2)
|
||||
background-color: $cPrimaryBackground
|
||||
input
|
||||
margin: 0.25em
|
||||
#header
|
||||
@include gridPosition(1, 2, 1, 2)
|
@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ImprintComponent } from './imprint.component';
|
||||
|
||||
describe('ImprintComponent', () => {
|
||||
let component: ImprintComponent;
|
||||
let fixture: ComponentFixture<ImprintComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ ImprintComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(ImprintComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-imprint',
|
||||
templateUrl: './imprint.component.html',
|
||||
styleUrls: ['./imprint.component.sass']
|
||||
})
|
||||
export class ImprintComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
@import '../../../styles/mixins.sass'
|
||||
@import '../../../styles/vars.sass'
|
||||
|
||||
#logincontainer
|
||||
@include gridPosition(2, 2,2,2)
|
||||
grid-template: 15% 15% 15% 15% 15% 15% / 100%
|
||||
background-color: $cPrimaryBackground
|
||||
input
|
||||
margin: 0.25em
|
||||
#header
|
||||
@include gridPosition(1, 2, 1, 2)
|
@ -1,3 +1,23 @@
|
||||
<p>
|
||||
register works!
|
||||
</p>
|
||||
<div id="registercontainer">
|
||||
<table style="width:100%">
|
||||
<tr>
|
||||
<td>username: </td>
|
||||
<td><input type="inputBox" name="username"><br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>email:</td>
|
||||
<td><input type="text" name="email"><br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>password:</td>
|
||||
<td> <input type="text" name="password"><br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>repeat password:</td>
|
||||
<td> <input type="text" name="repeatpassword"><br></td>
|
||||
</tr>
|
||||
</table>
|
||||
<button type="registerbutton">Register</button>
|
||||
<br>
|
||||
<a href="/login">You are already part of greenvironment? - login</a>
|
||||
</div>
|
@ -0,0 +1,13 @@
|
||||
@import '../../../styles/mixins.sass'
|
||||
@import '../../../styles/vars.sass'
|
||||
|
||||
#registercontainer
|
||||
@include gridPosition(2, 2,2,2)
|
||||
grid-template: 15% 15% 15% 15% 15% 15% / 100%
|
||||
background-color: $cPrimaryBackground
|
||||
padding: 1em
|
||||
input
|
||||
margin: 0.25em
|
||||
|
||||
#header
|
||||
@include gridPosition(1, 2, 1, 2)
|
Loading…
Reference in New Issue