forked from tykayn/funky-framadate-front
ajout composant graphique sondage
This commit is contained in:
parent
504d35ffdb
commit
a006e4d42a
@ -36,6 +36,7 @@ import {
|
||||
TranslateService
|
||||
} from '@ngx-translate/core';
|
||||
import {TranslateHttpLoader} from '@ngx-translate/http-loader';
|
||||
import { PollGraphicComponent } from './poll-graphic/poll-graphic.component';
|
||||
|
||||
export class MyMissingTranslationHandler implements MissingTranslationHandler {
|
||||
handle(params: MissingTranslationHandlerParams) {
|
||||
@ -71,6 +72,7 @@ export function HttpLoaderFactory(http: HttpClient) {
|
||||
VotingChoiceComponent,
|
||||
PasswordComponent,
|
||||
HomeComponent,
|
||||
PollGraphicComponent,
|
||||
|
||||
],
|
||||
imports: [
|
||||
|
1
src/app/poll-graphic/poll-graphic.component.html
Normal file
1
src/app/poll-graphic/poll-graphic.component.html
Normal file
@ -0,0 +1 @@
|
||||
<p>poll-graphic works!</p>
|
0
src/app/poll-graphic/poll-graphic.component.scss
Normal file
0
src/app/poll-graphic/poll-graphic.component.scss
Normal file
25
src/app/poll-graphic/poll-graphic.component.spec.ts
Normal file
25
src/app/poll-graphic/poll-graphic.component.spec.ts
Normal file
@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { PollGraphicComponent } from './poll-graphic.component';
|
||||
|
||||
describe('PollGraphicComponent', () => {
|
||||
let component: PollGraphicComponent;
|
||||
let fixture: ComponentFixture<PollGraphicComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ PollGraphicComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(PollGraphicComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
15
src/app/poll-graphic/poll-graphic.component.ts
Normal file
15
src/app/poll-graphic/poll-graphic.component.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'framadate-poll-graphic',
|
||||
templateUrl: './poll-graphic.component.html',
|
||||
styleUrls: ['./poll-graphic.component.scss']
|
||||
})
|
||||
export class PollGraphicComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user