forked from tykayn/funky-framadate-front
⚡ add pages
This commit is contained in:
parent
320c950467
commit
018b1ce83e
@ -24,6 +24,10 @@ import { CalendarComponent } from './calendar/calendar.component';
|
|||||||
|
|
||||||
import { registerLocaleData } from '@angular/common';
|
import { registerLocaleData } from '@angular/common';
|
||||||
import localeFr from '@angular/common/locales/fr';
|
import localeFr from '@angular/common/locales/fr';
|
||||||
|
import { VotingSummaryComponent } from './pages/voting-summary/voting-summary.component';
|
||||||
|
import { VotingGraphComponent } from './pages/voting-graph/voting-graph.component';
|
||||||
|
import { VotingChoiceComponent } from './pages/voting-choice/voting-choice.component';
|
||||||
|
import { PasswordComponent } from './pages/password/password.component';
|
||||||
|
|
||||||
registerLocaleData(localeFr, 'fr');
|
registerLocaleData(localeFr, 'fr');
|
||||||
|
|
||||||
@ -44,6 +48,10 @@ registerLocaleData(localeFr, 'fr');
|
|||||||
EndConfirmationComponent,
|
EndConfirmationComponent,
|
||||||
CreateOrRetrieveComponent,
|
CreateOrRetrieveComponent,
|
||||||
CalendarComponent,
|
CalendarComponent,
|
||||||
|
VotingSummaryComponent,
|
||||||
|
VotingGraphComponent,
|
||||||
|
VotingChoiceComponent,
|
||||||
|
PasswordComponent,
|
||||||
|
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
|
1
src/app/pages/password/password.component.html
Normal file
1
src/app/pages/password/password.component.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>password works!</p>
|
0
src/app/pages/password/password.component.scss
Normal file
0
src/app/pages/password/password.component.scss
Normal file
25
src/app/pages/password/password.component.spec.ts
Normal file
25
src/app/pages/password/password.component.spec.ts
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { PasswordComponent } from './password.component';
|
||||||
|
|
||||||
|
describe('PasswordComponent', () => {
|
||||||
|
let component: PasswordComponent;
|
||||||
|
let fixture: ComponentFixture<PasswordComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ PasswordComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(PasswordComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
15
src/app/pages/password/password.component.ts
Normal file
15
src/app/pages/password/password.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'framadate-password',
|
||||||
|
templateUrl: './password.component.html',
|
||||||
|
styleUrls: ['./password.component.scss']
|
||||||
|
})
|
||||||
|
export class PasswordComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
1
src/app/pages/voting-choice/voting-choice.component.html
Normal file
1
src/app/pages/voting-choice/voting-choice.component.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>voting-choice works!</p>
|
25
src/app/pages/voting-choice/voting-choice.component.spec.ts
Normal file
25
src/app/pages/voting-choice/voting-choice.component.spec.ts
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { VotingChoiceComponent } from './voting-choice.component';
|
||||||
|
|
||||||
|
describe('VotingChoiceComponent', () => {
|
||||||
|
let component: VotingChoiceComponent;
|
||||||
|
let fixture: ComponentFixture<VotingChoiceComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ VotingChoiceComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(VotingChoiceComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
15
src/app/pages/voting-choice/voting-choice.component.ts
Normal file
15
src/app/pages/voting-choice/voting-choice.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'framadate-voting-choice',
|
||||||
|
templateUrl: './voting-choice.component.html',
|
||||||
|
styleUrls: ['./voting-choice.component.scss']
|
||||||
|
})
|
||||||
|
export class VotingChoiceComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
1
src/app/pages/voting-graph/voting-graph.component.html
Normal file
1
src/app/pages/voting-graph/voting-graph.component.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>voting-graph works!</p>
|
25
src/app/pages/voting-graph/voting-graph.component.spec.ts
Normal file
25
src/app/pages/voting-graph/voting-graph.component.spec.ts
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { VotingGraphComponent } from './voting-graph.component';
|
||||||
|
|
||||||
|
describe('VotingGraphComponent', () => {
|
||||||
|
let component: VotingGraphComponent;
|
||||||
|
let fixture: ComponentFixture<VotingGraphComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ VotingGraphComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(VotingGraphComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
15
src/app/pages/voting-graph/voting-graph.component.ts
Normal file
15
src/app/pages/voting-graph/voting-graph.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'framadate-voting-graph',
|
||||||
|
templateUrl: './voting-graph.component.html',
|
||||||
|
styleUrls: ['./voting-graph.component.scss']
|
||||||
|
})
|
||||||
|
export class VotingGraphComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
<p>voting-summary works!</p>
|
@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { VotingSummaryComponent } from './voting-summary.component';
|
||||||
|
|
||||||
|
describe('VotingSummaryComponent', () => {
|
||||||
|
let component: VotingSummaryComponent;
|
||||||
|
let fixture: ComponentFixture<VotingSummaryComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ VotingSummaryComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(VotingSummaryComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
15
src/app/pages/voting-summary/voting-summary.component.ts
Normal file
15
src/app/pages/voting-summary/voting-summary.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'framadate-voting-summary',
|
||||||
|
templateUrl: './voting-summary.component.html',
|
||||||
|
styleUrls: ['./voting-summary.component.scss']
|
||||||
|
})
|
||||||
|
export class VotingSummaryComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user