-style approve entents for desktop finished

-style expedient  for desktop ongoing
This commit is contained in:
tiago.kayaya
2021-03-18 16:30:03 +01:00
parent c16fc7197a
commit 2c766015e7
31 changed files with 685 additions and 94 deletions
@@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { EmptyContainerPage } from './empty-container.page';
const routes: Routes = [
{
path: '',
component: EmptyContainerPage
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class EmptyContainerPageRoutingModule {}
@@ -0,0 +1,20 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { EmptyContainerPageRoutingModule } from './empty-container-routing.module';
import { EmptyContainerPage } from './empty-container.page';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
EmptyContainerPageRoutingModule
],
declarations: [EmptyContainerPage]
})
export class EmptyContainerPageModule {}
@@ -0,0 +1,5 @@
<ion-content>
<div class="center height-100">
<p>{{texto}}</p>
</div>
</ion-content>
@@ -0,0 +1,5 @@
.center {
display: flex;
justify-content: center;
align-items: center;
}
@@ -0,0 +1,24 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';
import { EmptyContainerPage } from './empty-container.page';
describe('EmptyContainerPage', () => {
let component: EmptyContainerPage;
let fixture: ComponentFixture<EmptyContainerPage>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ EmptyContainerPage ],
imports: [IonicModule.forRoot()]
}).compileComponents();
fixture = TestBed.createComponent(EmptyContainerPage);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,16 @@
import { Component, Input, OnInit } from '@angular/core';
@Component({
selector: 'app-empty-container',
templateUrl: './empty-container.page.html',
styleUrls: ['./empty-container.page.scss'],
})
export class EmptyContainerPage implements OnInit {
@Input() texto:string;
constructor() { }
ngOnInit() {
}
}