diff --git a/src/app/pages/voting/voting-graph/voting-graph.component.scss b/src/app/features/administration/profile/profile.component.scss
similarity index 100%
rename from src/app/pages/voting/voting-graph/voting-graph.component.scss
rename to src/app/features/administration/profile/profile.component.scss
diff --git a/src/app/features/administration/profile/profile.component.spec.ts b/src/app/features/administration/profile/profile.component.spec.ts
new file mode 100644
index 00000000..d4ca5c78
--- /dev/null
+++ b/src/app/features/administration/profile/profile.component.spec.ts
@@ -0,0 +1,24 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { ProfileComponent } from './profile.component';
+
+describe('ProfileComponent', () => {
+ let component: ProfileComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ProfileComponent],
+ }).compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(ProfileComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/features/administration/profile/profile.component.ts b/src/app/features/administration/profile/profile.component.ts
new file mode 100644
index 00000000..79ddd1c4
--- /dev/null
+++ b/src/app/features/administration/profile/profile.component.ts
@@ -0,0 +1,24 @@
+import { Component, OnInit } from '@angular/core';
+import { Observable } from 'rxjs';
+
+import { User } from '../../../core/models/user.model';
+import { UserService } from '../../../core/services/user.service';
+
+@Component({
+ selector: 'app-profile',
+ templateUrl: './profile.component.html',
+ styleUrls: ['./profile.component.scss'],
+})
+export class ProfileComponent implements OnInit {
+ public _user: Observable;
+ public isModalOpened = false;
+
+ constructor(private userService: UserService) {}
+
+ ngOnInit(): void {
+ this._user = this.userService.user;
+ }
+ public toggleModal(): void {
+ this.isModalOpened = !this.isModalOpened;
+ }
+}
diff --git a/src/app/features/administration/stepper/stepper.component.html b/src/app/features/administration/stepper/stepper.component.html
new file mode 100644
index 00000000..bfb71330
--- /dev/null
+++ b/src/app/features/administration/stepper/stepper.component.html
@@ -0,0 +1 @@
+
diff --git a/src/app/pages/voting/voting-navigation/voting-navigation.component.scss b/src/app/features/administration/stepper/stepper.component.scss
similarity index 100%
rename from src/app/pages/voting/voting-navigation/voting-navigation.component.scss
rename to src/app/features/administration/stepper/stepper.component.scss
diff --git a/src/app/features/administration/stepper/stepper.component.spec.ts b/src/app/features/administration/stepper/stepper.component.spec.ts
new file mode 100644
index 00000000..7a7767cf
--- /dev/null
+++ b/src/app/features/administration/stepper/stepper.component.spec.ts
@@ -0,0 +1,24 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { StepperComponent } from './stepper.component';
+
+describe('StepperComponent', () => {
+ let component: StepperComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [StepperComponent],
+ }).compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(StepperComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/features/administration/stepper/stepper.component.ts b/src/app/features/administration/stepper/stepper.component.ts
new file mode 100644
index 00000000..fd7b10b2
--- /dev/null
+++ b/src/app/features/administration/stepper/stepper.component.ts
@@ -0,0 +1,51 @@
+import { Component, OnInit } from '@angular/core';
+import { MenuItem } from 'primeng/api';
+import { WorkflowStep } from '../../../core/enums/workflow-step.enum';
+import { WorkflowService } from '../../../core/services/workflow.service';
+import { Observable } from 'rxjs';
+
+@Component({
+ selector: 'app-stepper',
+ templateUrl: './stepper.component.html',
+ styleUrls: ['./stepper.component.scss'],
+})
+export class StepperComponent implements OnInit {
+ public items: MenuItem[];
+ public itemDescription: MenuItem = {
+ id: '1',
+ label: WorkflowStep.DESCRIPTION,
+ title: 'Je donne une description générale du sondage',
+ routerLink: './description',
+ command: () => {},
+ state: { isStepCompleteAndValid: true },
+ disabled: false,
+ };
+ public itemOptions: MenuItem = {
+ id: '2',
+ label: WorkflowStep.OPTIONS,
+ title: 'Je renseigne les différentes options sur lesquelles les gens vont donner leur avis',
+ routerLink: './options',
+ command: () => {},
+ state: { isStepCompleteAndValid: true },
+ disabled: false,
+ };
+ public itemConfiguration: MenuItem = {
+ id: '3',
+ label: WorkflowStep.CONFIGURATION,
+ title: 'Je configure le sondage',
+ routerLink: './configuration',
+ command: () => {},
+ state: { isStepCompleteAndValid: true },
+ disabled: false,
+ };
+ public activeIndex: number;
+ public activeStep: Observable;
+
+ constructor(private workflowService: WorkflowService) {}
+
+ ngOnInit(): void {
+ // this.activeStep = this.workflowService.currentStep;
+
+ this.items = [this.itemDescription, this.itemOptions, this.itemConfiguration];
+ }
+}
diff --git a/src/app/config/DateUtilities.ts b/src/app/features/old-stuff/config/DateUtilities.ts
similarity index 100%
rename from src/app/config/DateUtilities.ts
rename to src/app/features/old-stuff/config/DateUtilities.ts
diff --git a/src/app/config/PollConfig.ts b/src/app/features/old-stuff/config/PollConfig.ts
similarity index 94%
rename from src/app/config/PollConfig.ts
rename to src/app/features/old-stuff/config/PollConfig.ts
index 12e576b1..f6eb71b8 100644
--- a/src/app/config/PollConfig.ts
+++ b/src/app/features/old-stuff/config/PollConfig.ts
@@ -1,7 +1,7 @@
/**
* une option de date dans les sondages spéciaux
*/
-import { environment } from '../../environments/environment';
+import { environment } from '../../../../environments/environment';
import { DateChoice, defaultAnswers, otherDefaultDates, PollAnswer } from './defaultConfigs';
export interface DateOption {
@@ -57,8 +57,8 @@ export class PollConfig {
customUrl = ''; // custom slug in the url, must be unique
customUrlIsUnique = null; // given by the backend
urlSlugPublic = null;
- urlPublic = environment.production ? '' : document.location.href + '/#/poll/id/4';
- urlAdmin = document.location.href + '/#/admin/d65es45fd45sdf45sd345f312sdf31sgfd345';
+ urlPublic = environment.production ? '' : document.location.href + '/poll/id/4';
+ urlAdmin = document.location.href + '/admin/d65es45fd45sdf45sd345f312sdf31sgfd345';
adminKey = ''; // key to change config of the poll
owner_modifier_token = ''; // key to change a vote stack
canModifyAnswers = true; // bool for the frontend selector
diff --git a/src/app/config/PollUtilities.ts b/src/app/features/old-stuff/config/PollUtilities.ts
similarity index 100%
rename from src/app/config/PollUtilities.ts
rename to src/app/features/old-stuff/config/PollUtilities.ts
diff --git a/src/app/config/defaultConfigs.ts b/src/app/features/old-stuff/config/defaultConfigs.ts
similarity index 100%
rename from src/app/config/defaultConfigs.ts
rename to src/app/features/old-stuff/config/defaultConfigs.ts
diff --git a/src/app/custom-lib/date-value-accessor/date-value-accessor.metadata.json b/src/app/features/old-stuff/custom-lib/date-value-accessor/date-value-accessor.metadata.json
similarity index 100%
rename from src/app/custom-lib/date-value-accessor/date-value-accessor.metadata.json
rename to src/app/features/old-stuff/custom-lib/date-value-accessor/date-value-accessor.metadata.json
diff --git a/src/app/custom-lib/date-value-accessor/date-value-accessor.ts b/src/app/features/old-stuff/custom-lib/date-value-accessor/date-value-accessor.ts
similarity index 100%
rename from src/app/custom-lib/date-value-accessor/date-value-accessor.ts
rename to src/app/features/old-stuff/custom-lib/date-value-accessor/date-value-accessor.ts
diff --git a/src/app/custom-lib/date-value-accessor/index.metadata.json b/src/app/features/old-stuff/custom-lib/date-value-accessor/index.metadata.json
similarity index 100%
rename from src/app/custom-lib/date-value-accessor/index.metadata.json
rename to src/app/features/old-stuff/custom-lib/date-value-accessor/index.metadata.json
diff --git a/src/app/custom-lib/date-value-accessor/index.ts b/src/app/features/old-stuff/custom-lib/date-value-accessor/index.ts
similarity index 100%
rename from src/app/custom-lib/date-value-accessor/index.ts
rename to src/app/features/old-stuff/custom-lib/date-value-accessor/index.ts
diff --git a/src/app/custom-lib/date-value-accessor/module.metadata.json b/src/app/features/old-stuff/custom-lib/date-value-accessor/module.metadata.json
similarity index 100%
rename from src/app/custom-lib/date-value-accessor/module.metadata.json
rename to src/app/features/old-stuff/custom-lib/date-value-accessor/module.metadata.json
diff --git a/src/app/custom-lib/date-value-accessor/module.ts b/src/app/features/old-stuff/custom-lib/date-value-accessor/module.ts
similarity index 100%
rename from src/app/custom-lib/date-value-accessor/module.ts
rename to src/app/features/old-stuff/custom-lib/date-value-accessor/module.ts
diff --git a/src/app/features/old-stuff/old-stuff-routing.module.ts b/src/app/features/old-stuff/old-stuff-routing.module.ts
new file mode 100644
index 00000000..14382ea2
--- /dev/null
+++ b/src/app/features/old-stuff/old-stuff-routing.module.ts
@@ -0,0 +1,46 @@
+import { NgModule } from '@angular/core';
+import { Routes, RouterModule } from '@angular/router';
+
+import { AdminComponent } from './pages/admin/admin.component';
+import { AnswersComponent } from './pages/answers/answers.component';
+import { CreateOrRetrieveComponent } from './pages/create-or-retrieve/create-or-retrieve.component';
+import { DatesComponent } from './pages/dates/dates.component';
+import { EndConfirmationComponent } from './pages/end-confirmation/end-confirmation.component';
+import { BaseComponent } from './pages/example/base-page/base.component';
+import { KindComponent } from './pages/example/kind/kind.component';
+import { PicturesComponent } from './pages/example/pictures/pictures.component';
+import { HomeComponent } from './pages/home/home.component';
+import { PasswordComponent } from './pages/password/password.component';
+import { PollDisplayComponent } from './pages/poll/poll-display/poll-display.component';
+import { PollGraphicComponent } from './pages/poll/poll-graphic/poll-graphic.component';
+import { ResumeComponent } from './pages/resume/resume.component';
+import { VisibilityComponent } from './pages/visibility/visibility.component';
+import { VotingChoiceComponent } from './pages/voting/voting-choice/voting-choice.component';
+import { VotingComponent } from './pages/voting/voting.component';
+
+const routes: Routes = [
+ { path: '', redirectTo: 'step/home', pathMatch: 'full' },
+ { path: 'admin/:token', component: AdminComponent }, // http://localhost:4200/admin/srfdgedsTGETHRYJtujTUjTUkTIUKTK
+ { path: 'step/home', component: HomeComponent },
+ { path: 'step/creation', component: CreateOrRetrieveComponent },
+ { path: 'step/date', component: DatesComponent },
+ { path: 'step/kind', component: KindComponent },
+ { path: 'step/answers', component: AnswersComponent },
+ { path: 'step/admin', component: AdminComponent },
+ { path: 'step/pictures', component: PicturesComponent },
+ { path: 'step/visibility', component: VisibilityComponent },
+ { path: 'step/password', component: PasswordComponent },
+ { path: 'step/resume', component: ResumeComponent },
+ { path: 'step/end', component: EndConfirmationComponent },
+ { path: 'graphic/:poll', component: PollGraphicComponent },
+ { path: 'vote/poll/id/:poll', component: PollDisplayComponent },
+ { path: 'vote/poll/slug/:pollSlug', component: PollDisplayComponent },
+ { path: 'votingchoice', component: VotingChoiceComponent },
+ { path: 'voting', component: VotingComponent },
+];
+
+@NgModule({
+ imports: [RouterModule.forChild(routes)],
+ exports: [RouterModule],
+})
+export class OldStuffRoutingModule {}
diff --git a/src/app/features/old-stuff/old-stuff.module.ts b/src/app/features/old-stuff/old-stuff.module.ts
new file mode 100644
index 00000000..81a8fd4e
--- /dev/null
+++ b/src/app/features/old-stuff/old-stuff.module.ts
@@ -0,0 +1,74 @@
+import { CommonModule } from '@angular/common';
+import { NgModule } from '@angular/core';
+import { TranslateModule } from '@ngx-translate/core';
+
+import { SharedModule } from '../../shared/shared.module';
+import { DateValueAccessorModule } from './custom-lib/date-value-accessor';
+import { OldStuffRoutingModule } from './old-stuff-routing.module';
+import { AdminComponent } from './pages/admin/admin.component';
+import { AnswersComponent } from './pages/answers/answers.component';
+import { CreateOrRetrieveComponent } from './pages/create-or-retrieve/create-or-retrieve.component';
+import { DatesComponent } from './pages/dates/dates.component';
+import { EndConfirmationComponent } from './pages/end-confirmation/end-confirmation.component';
+import { BaseComponent } from './pages/example/base-page/base.component';
+import { KindComponent } from './pages/example/kind/kind.component';
+import { PicturesComponent } from './pages/example/pictures/pictures.component';
+import { HomeComponent } from './pages/home/home.component';
+import { PasswordComponent } from './pages/password/password.component';
+import { PollDisplayComponent } from './pages/poll/poll-display/poll-display.component';
+import { PollGraphicComponent } from './pages/poll/poll-graphic/poll-graphic.component';
+import { ResumeComponent } from './pages/resume/resume.component';
+import { VisibilityComponent } from './pages/visibility/visibility.component';
+import { ChoicesListComponent } from './pages/voting/choices-list/choices-list.component';
+import { CommentsListComponent } from './pages/voting/comments-list/comments-list.component';
+import { VotingChoiceComponent } from './pages/voting/voting-choice/voting-choice.component';
+import { VotingCommentComponent } from './pages/voting/voting-comment/voting-comment.component';
+import { VotingGraphComponent } from './pages/voting/voting-graph/voting-graph.component';
+import { VotingNavigationComponent } from './pages/voting/voting-navigation/voting-navigation.component';
+import { VotingSummaryComponent } from './pages/voting/voting-summary/voting-summary.component';
+import { VotingComponent } from './pages/voting/voting.component';
+import { ConfigService } from './services/config.service';
+import { CopyTextComponent } from './ui/copy-text/copy-text.component';
+import { ResettableInputDirective } from './ui/directives/resettable-input.directive';
+import { ErasableInputComponent } from './ui/erasable-input/erasable-input.component';
+import { TwoLinksComponent } from './ui/two-links/two-links.component';
+
+@NgModule({
+ declarations: [
+ AdminComponent,
+ AnswersComponent,
+ BaseComponent,
+ ChoicesListComponent,
+ CommentsListComponent,
+ CopyTextComponent,
+ CreateOrRetrieveComponent,
+ DatesComponent,
+ EndConfirmationComponent,
+ ErasableInputComponent,
+ HomeComponent,
+ KindComponent,
+ PasswordComponent,
+ PicturesComponent,
+ PollDisplayComponent,
+ PollGraphicComponent,
+ ResettableInputDirective,
+ ResumeComponent,
+ TwoLinksComponent,
+ VisibilityComponent,
+ VotingChoiceComponent,
+ VotingGraphComponent,
+ VotingComponent,
+ VotingCommentComponent,
+ VotingSummaryComponent,
+ VotingNavigationComponent,
+ ],
+ imports: [
+ CommonModule,
+ OldStuffRoutingModule,
+ SharedModule,
+ TranslateModule.forChild({ extend: true }),
+ DateValueAccessorModule,
+ ],
+ providers: [ConfigService],
+})
+export class OldStuffModule {}
diff --git a/src/app/pages/admin/admin.component.html b/src/app/features/old-stuff/pages/admin/admin.component.html
similarity index 100%
rename from src/app/pages/admin/admin.component.html
rename to src/app/features/old-stuff/pages/admin/admin.component.html
diff --git a/src/app/pages/admin/admin.component.scss b/src/app/features/old-stuff/pages/admin/admin.component.scss
similarity index 100%
rename from src/app/pages/admin/admin.component.scss
rename to src/app/features/old-stuff/pages/admin/admin.component.scss
diff --git a/src/app/pages/admin/admin.component.spec.ts b/src/app/features/old-stuff/pages/admin/admin.component.spec.ts
similarity index 100%
rename from src/app/pages/admin/admin.component.spec.ts
rename to src/app/features/old-stuff/pages/admin/admin.component.spec.ts
diff --git a/src/app/pages/admin/admin.component.ts b/src/app/features/old-stuff/pages/admin/admin.component.ts
similarity index 95%
rename from src/app/pages/admin/admin.component.ts
rename to src/app/features/old-stuff/pages/admin/admin.component.ts
index b4d33ee4..370973d2 100644
--- a/src/app/pages/admin/admin.component.ts
+++ b/src/app/features/old-stuff/pages/admin/admin.component.ts
@@ -3,7 +3,7 @@ import { ConfigService } from '../../services/config.service';
import { ActivatedRoute, Router } from '@angular/router';
import { HttpClient } from '@angular/common/http';
import { PollUtilities } from '../../config/PollUtilities';
-import { environment } from '../../../environments/environment';
+import { environment } from '../../../../../environments/environment';
@Component({
selector: 'app-admin',
@@ -21,7 +21,7 @@ export class AdminComponent implements OnInit {
public activeRoute: ActivatedRoute
) {}
- ngOnInit() {
+ ngOnInit(): void {
this.activeRoute.paramMap.subscribe((params) => {
console.log('params', params);
this.tokenForAdministration = params.get('token');
diff --git a/src/app/pages/answers/answers.component.html b/src/app/features/old-stuff/pages/answers/answers.component.html
similarity index 96%
rename from src/app/pages/answers/answers.component.html
rename to src/app/features/old-stuff/pages/answers/answers.component.html
index 3f63b765..8aca04f9 100644
--- a/src/app/pages/answers/answers.component.html
+++ b/src/app/features/old-stuff/pages/answers/answers.component.html
@@ -61,7 +61,7 @@
diff --git a/src/app/pages/voting/voting.component.scss b/src/app/features/old-stuff/pages/answers/answers.component.scss
similarity index 100%
rename from src/app/pages/voting/voting.component.scss
rename to src/app/features/old-stuff/pages/answers/answers.component.scss
diff --git a/src/app/pages/answers/answers.component.spec.ts b/src/app/features/old-stuff/pages/answers/answers.component.spec.ts
similarity index 100%
rename from src/app/pages/answers/answers.component.spec.ts
rename to src/app/features/old-stuff/pages/answers/answers.component.spec.ts
diff --git a/src/app/pages/answers/answers.component.ts b/src/app/features/old-stuff/pages/answers/answers.component.ts
similarity index 99%
rename from src/app/pages/answers/answers.component.ts
rename to src/app/features/old-stuff/pages/answers/answers.component.ts
index 8b939f75..b24acece 100644
--- a/src/app/pages/answers/answers.component.ts
+++ b/src/app/features/old-stuff/pages/answers/answers.component.ts
@@ -22,7 +22,7 @@ export class AnswersComponent extends BaseComponent implements OnInit, AfterView
}
// todo, manage validation of each page in a common way
- ngOnInit() {}
+ ngOnInit(): void {}
ngOnChanges() {
this.checkValidAnswers();
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.html b/src/app/features/old-stuff/pages/create-or-retrieve/create-or-retrieve.component.html
similarity index 95%
rename from src/app/pages/create-or-retrieve/create-or-retrieve.component.html
rename to src/app/features/old-stuff/pages/create-or-retrieve/create-or-retrieve.component.html
index 4207bcfc..aa57eb70 100644
--- a/src/app/pages/create-or-retrieve/create-or-retrieve.component.html
+++ b/src/app/features/old-stuff/pages/create-or-retrieve/create-or-retrieve.component.html
@@ -9,7 +9,7 @@
{{ 'config.description' | translate }}
-
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.scss b/src/app/features/old-stuff/pages/create-or-retrieve/create-or-retrieve.component.scss
similarity index 100%
rename from src/app/pages/create-or-retrieve/create-or-retrieve.component.scss
rename to src/app/features/old-stuff/pages/create-or-retrieve/create-or-retrieve.component.scss
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.spec.ts b/src/app/features/old-stuff/pages/create-or-retrieve/create-or-retrieve.component.spec.ts
similarity index 100%
rename from src/app/pages/create-or-retrieve/create-or-retrieve.component.spec.ts
rename to src/app/features/old-stuff/pages/create-or-retrieve/create-or-retrieve.component.spec.ts
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts b/src/app/features/old-stuff/pages/create-or-retrieve/create-or-retrieve.component.ts
similarity index 97%
rename from src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
rename to src/app/features/old-stuff/pages/create-or-retrieve/create-or-retrieve.component.ts
index d1b2ba53..50c3a1a4 100644
--- a/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
+++ b/src/app/features/old-stuff/pages/create-or-retrieve/create-or-retrieve.component.ts
@@ -14,7 +14,7 @@ export class CreateOrRetrieveComponent extends BaseComponent implements OnInit {
super(config);
}
- ngOnInit() {
+ ngOnInit(): void {
// if (!environment.production) {
// this.findMyPollsByEmail('tktest@tktest.com')
// }
diff --git a/src/app/pages/dates/dates.component.html b/src/app/features/old-stuff/pages/dates/dates.component.html
similarity index 97%
rename from src/app/pages/dates/dates.component.html
rename to src/app/features/old-stuff/pages/dates/dates.component.html
index e970bdf9..4c1253e2 100644
--- a/src/app/pages/dates/dates.component.html
+++ b/src/app/features/old-stuff/pages/dates/dates.component.html
@@ -160,9 +160,9 @@
-
+
C'est parfait!
-
+
Retour
diff --git a/src/app/pages/dates/dates.component.scss b/src/app/features/old-stuff/pages/dates/dates.component.scss
similarity index 100%
rename from src/app/pages/dates/dates.component.scss
rename to src/app/features/old-stuff/pages/dates/dates.component.scss
diff --git a/src/app/pages/dates/dates.component.spec.ts b/src/app/features/old-stuff/pages/dates/dates.component.spec.ts
similarity index 100%
rename from src/app/pages/dates/dates.component.spec.ts
rename to src/app/features/old-stuff/pages/dates/dates.component.spec.ts
diff --git a/src/app/pages/dates/dates.component.ts b/src/app/features/old-stuff/pages/dates/dates.component.ts
similarity index 99%
rename from src/app/pages/dates/dates.component.ts
rename to src/app/features/old-stuff/pages/dates/dates.component.ts
index 4a888794..68fb628f 100644
--- a/src/app/pages/dates/dates.component.ts
+++ b/src/app/features/old-stuff/pages/dates/dates.component.ts
@@ -38,7 +38,7 @@ export class DatesComponent extends BaseComponent implements OnInit {
/**
* set the interval options
*/
- ngOnInit() {
+ ngOnInit(): void {
const dateCurrent = new Date();
const dateJson = dateCurrent.toISOString();
this.startDateInterval = dateJson.substring(0, 10);
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.html b/src/app/features/old-stuff/pages/end-confirmation/end-confirmation.component.html
similarity index 100%
rename from src/app/pages/end-confirmation/end-confirmation.component.html
rename to src/app/features/old-stuff/pages/end-confirmation/end-confirmation.component.html
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.scss b/src/app/features/old-stuff/pages/end-confirmation/end-confirmation.component.scss
similarity index 100%
rename from src/app/pages/end-confirmation/end-confirmation.component.scss
rename to src/app/features/old-stuff/pages/end-confirmation/end-confirmation.component.scss
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.spec.ts b/src/app/features/old-stuff/pages/end-confirmation/end-confirmation.component.spec.ts
similarity index 100%
rename from src/app/pages/end-confirmation/end-confirmation.component.spec.ts
rename to src/app/features/old-stuff/pages/end-confirmation/end-confirmation.component.spec.ts
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.ts b/src/app/features/old-stuff/pages/end-confirmation/end-confirmation.component.ts
similarity index 97%
rename from src/app/pages/end-confirmation/end-confirmation.component.ts
rename to src/app/features/old-stuff/pages/end-confirmation/end-confirmation.component.ts
index 370cb6a4..c42fa16a 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.ts
+++ b/src/app/features/old-stuff/pages/end-confirmation/end-confirmation.component.ts
@@ -17,7 +17,7 @@ export class EndConfirmationComponent extends BaseComponent implements OnInit {
this.mailToRecieve = this.config.myEmail;
}
- ngOnInit() {}
+ ngOnInit(): void {}
copyLink(str: any) {
this.messageService.add({
diff --git a/src/app/pages/example/base-page/base.component.html b/src/app/features/old-stuff/pages/example/base-page/base.component.html
similarity index 57%
rename from src/app/pages/example/base-page/base.component.html
rename to src/app/features/old-stuff/pages/example/base-page/base.component.html
index 1571aa12..86001560 100644
--- a/src/app/pages/example/base-page/base.component.html
+++ b/src/app/features/old-stuff/pages/example/base-page/base.component.html
@@ -1,4 +1,4 @@
Ce composant est celui de base pour les pages
-
+
{{ 'config.perfect' | translate }}
diff --git a/src/app/services/progression.service.spec.ts b/src/app/features/old-stuff/pages/example/base-page/base.component.scss
similarity index 100%
rename from src/app/services/progression.service.spec.ts
rename to src/app/features/old-stuff/pages/example/base-page/base.component.scss
diff --git a/src/app/pages/example/base-page/base.component.spec.ts b/src/app/features/old-stuff/pages/example/base-page/base.component.spec.ts
similarity index 100%
rename from src/app/pages/example/base-page/base.component.spec.ts
rename to src/app/features/old-stuff/pages/example/base-page/base.component.spec.ts
diff --git a/src/app/pages/example/base-page/base.component.ts b/src/app/features/old-stuff/pages/example/base-page/base.component.ts
similarity index 100%
rename from src/app/pages/example/base-page/base.component.ts
rename to src/app/features/old-stuff/pages/example/base-page/base.component.ts
diff --git a/src/app/pages/example/kind/kind.component.html b/src/app/features/old-stuff/pages/example/kind/kind.component.html
similarity index 94%
rename from src/app/pages/example/kind/kind.component.html
rename to src/app/features/old-stuff/pages/example/kind/kind.component.html
index 35bb97e1..a1dec45c 100644
--- a/src/app/pages/example/kind/kind.component.html
+++ b/src/app/features/old-stuff/pages/example/kind/kind.component.html
@@ -3,7 +3,7 @@
cette étape est en cours de développement.
S'inspirer de la page de Home pour réaliser d'autres pages
-C'est parfait!
+C'est parfait!