added valuesadd page
This commit is contained in:
parent
4569d059ff
commit
84680362c3
@ -23,6 +23,10 @@ const routes: Routes = [
|
|||||||
path: 'valuesRanking',
|
path: 'valuesRanking',
|
||||||
loadChildren: () => import('./valuesRanking/valuesRanking.module').then( m => m.ValuesRankingPageModule), canActivate: [AuthGuard]
|
loadChildren: () => import('./valuesRanking/valuesRanking.module').then( m => m.ValuesRankingPageModule), canActivate: [AuthGuard]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'valuesAdd',
|
||||||
|
loadChildren: () => import('./valuesAdd/valuesAdd.module').then( m => m.ValuesAddPageModule), canActivate: [AuthGuard]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
redirectTo: 'home',
|
redirectTo: 'home',
|
||||||
|
16
AuthentesApp/src/app/valuesAdd/valuesAdd-routing.module.ts
Normal file
16
AuthentesApp/src/app/valuesAdd/valuesAdd-routing.module.ts
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
import { ValuesAddPage } from './valuesAdd.page';
|
||||||
|
|
||||||
|
const routes: Routes = [
|
||||||
|
{
|
||||||
|
path: '',
|
||||||
|
component: ValuesAddPage,
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [RouterModule.forChild(routes)],
|
||||||
|
exports: [RouterModule]
|
||||||
|
})
|
||||||
|
export class ValuesAddPageRoutingModule {}
|
19
AuthentesApp/src/app/valuesAdd/valuesAdd.module.ts
Normal file
19
AuthentesApp/src/app/valuesAdd/valuesAdd.module.ts
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { IonicModule } from '@ionic/angular';
|
||||||
|
import { FormsModule } from '@angular/forms';
|
||||||
|
import { ValuesAddPage } from './valuesAdd.page';
|
||||||
|
|
||||||
|
import { ValuesAddPageRoutingModule } from './valuesAdd-routing.module';
|
||||||
|
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
FormsModule,
|
||||||
|
IonicModule,
|
||||||
|
ValuesAddPageRoutingModule
|
||||||
|
],
|
||||||
|
declarations: [ValuesAddPage]
|
||||||
|
})
|
||||||
|
export class ValuesAddPageModule {}
|
17
AuthentesApp/src/app/valuesAdd/valuesAdd.page.html
Normal file
17
AuthentesApp/src/app/valuesAdd/valuesAdd.page.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<!-- <ion-header [translucent]="true">
|
||||||
|
<ion-toolbar>
|
||||||
|
<ion-title>
|
||||||
|
Blank
|
||||||
|
</ion-title>
|
||||||
|
</ion-toolbar>
|
||||||
|
</ion-header> -->
|
||||||
|
|
||||||
|
<ion-content [fullscreen]="true">
|
||||||
|
<div class="logo">
|
||||||
|
<img class="logo_dark" src="assets/logo-authentes.png" />
|
||||||
|
<img class="logo_light" src="assets/logo-authentes-white.png" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</ion-content>
|
||||||
|
|
||||||
|
|
10
AuthentesApp/src/app/valuesAdd/valuesAdd.page.scss
Normal file
10
AuthentesApp/src/app/valuesAdd/valuesAdd.page.scss
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#container {
|
||||||
|
text-align: center;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
24
AuthentesApp/src/app/valuesAdd/valuesAdd.page.spec.ts
Normal file
24
AuthentesApp/src/app/valuesAdd/valuesAdd.page.spec.ts
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
import { IonicModule } from '@ionic/angular';
|
||||||
|
|
||||||
|
import { ValuesAddPage } from './valuesAdd.page';
|
||||||
|
|
||||||
|
describe('HomePage', () => {
|
||||||
|
let component: ValuesAddPage;
|
||||||
|
let fixture: ComponentFixture<ValuesAddPage>;
|
||||||
|
|
||||||
|
beforeEach(waitForAsync(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ ValuesAddPage ],
|
||||||
|
imports: [IonicModule.forRoot()]
|
||||||
|
}).compileComponents();
|
||||||
|
|
||||||
|
fixture = TestBed.createComponent(ValuesAddPage);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
}));
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
15
AuthentesApp/src/app/valuesAdd/valuesAdd.page.ts
Normal file
15
AuthentesApp/src/app/valuesAdd/valuesAdd.page.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, Renderer2 } from '@angular/core';
|
||||||
|
import { Router } from '@angular/router';
|
||||||
|
import { AlertService } from '../services/alert.service';
|
||||||
|
import { GameService } from '../services/game.service';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-home',
|
||||||
|
templateUrl: 'valuesAdd.page.html',
|
||||||
|
styleUrls: ['valuesAdd.page.scss'],
|
||||||
|
})
|
||||||
|
export class ValuesAddPage {
|
||||||
|
|
||||||
|
constructor(private router: Router, private game: GameService, public alert: AlertService) {}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user