From 367ff9051781a670c4d4cb1f360a9ce719fed240 Mon Sep 17 00:00:00 2001 From: stt Date: Sat, 23 May 2020 19:11:02 +0200 Subject: [PATCH] =?UTF-8?q?suchergebnis=20seite=20und=20angebotsdetailseit?= =?UTF-8?q?e=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/app-routing.module.ts | 8 +++++++ src/app/offers/offers-routing.module.ts | 17 +++++++++++++ src/app/offers/offers.module.ts | 20 ++++++++++++++++ src/app/offers/offers.page.html | 9 +++++++ src/app/offers/offers.page.scss | 0 src/app/offers/offers.page.spec.ts | 24 +++++++++++++++++++ src/app/offers/offers.page.ts | 15 ++++++++++++ .../searchresults-routing.module.ts | 17 +++++++++++++ src/app/searchresults/searchresults.module.ts | 20 ++++++++++++++++ src/app/searchresults/searchresults.page.html | 10 ++++++++ src/app/searchresults/searchresults.page.scss | 0 .../searchresults/searchresults.page.spec.ts | 24 +++++++++++++++++++ src/app/searchresults/searchresults.page.ts | 15 ++++++++++++ src/app/tab1/tab1.page.html | 14 ++++++----- 14 files changed, 187 insertions(+), 6 deletions(-) create mode 100644 src/app/offers/offers-routing.module.ts create mode 100644 src/app/offers/offers.module.ts create mode 100644 src/app/offers/offers.page.html create mode 100644 src/app/offers/offers.page.scss create mode 100644 src/app/offers/offers.page.spec.ts create mode 100644 src/app/offers/offers.page.ts create mode 100644 src/app/searchresults/searchresults-routing.module.ts create mode 100644 src/app/searchresults/searchresults.module.ts create mode 100644 src/app/searchresults/searchresults.page.html create mode 100644 src/app/searchresults/searchresults.page.scss create mode 100644 src/app/searchresults/searchresults.page.spec.ts create mode 100644 src/app/searchresults/searchresults.page.ts diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 48fc28d..54d6514 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -5,6 +5,14 @@ const routes: Routes = [ { path: '', loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule) + }, + { + path: 'searchresults', + loadChildren: () => import('./searchresults/searchresults.module').then( m => m.SearchresultsPageModule) + }, + { + path: 'offers', + loadChildren: () => import('./offers/offers.module').then( m => m.OffersPageModule) } ]; @NgModule({ diff --git a/src/app/offers/offers-routing.module.ts b/src/app/offers/offers-routing.module.ts new file mode 100644 index 0000000..c0b4db3 --- /dev/null +++ b/src/app/offers/offers-routing.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +import { OffersPage } from './offers.page'; + +const routes: Routes = [ + { + path: '', + component: OffersPage + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule], +}) +export class OffersPageRoutingModule {} diff --git a/src/app/offers/offers.module.ts b/src/app/offers/offers.module.ts new file mode 100644 index 0000000..7dae5c7 --- /dev/null +++ b/src/app/offers/offers.module.ts @@ -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 { OffersPageRoutingModule } from './offers-routing.module'; + +import { OffersPage } from './offers.page'; + +@NgModule({ + imports: [ + CommonModule, + FormsModule, + IonicModule, + OffersPageRoutingModule + ], + declarations: [OffersPage] +}) +export class OffersPageModule {} diff --git a/src/app/offers/offers.page.html b/src/app/offers/offers.page.html new file mode 100644 index 0000000..fadda25 --- /dev/null +++ b/src/app/offers/offers.page.html @@ -0,0 +1,9 @@ + + + offers + + + + + + diff --git a/src/app/offers/offers.page.scss b/src/app/offers/offers.page.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/offers/offers.page.spec.ts b/src/app/offers/offers.page.spec.ts new file mode 100644 index 0000000..6b42a67 --- /dev/null +++ b/src/app/offers/offers.page.spec.ts @@ -0,0 +1,24 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { IonicModule } from '@ionic/angular'; + +import { OffersPage } from './offers.page'; + +describe('OffersPage', () => { + let component: OffersPage; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ OffersPage ], + imports: [IonicModule.forRoot()] + }).compileComponents(); + + fixture = TestBed.createComponent(OffersPage); + component = fixture.componentInstance; + fixture.detectChanges(); + })); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/offers/offers.page.ts b/src/app/offers/offers.page.ts new file mode 100644 index 0000000..e16557b --- /dev/null +++ b/src/app/offers/offers.page.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-offers', + templateUrl: './offers.page.html', + styleUrls: ['./offers.page.scss'], +}) +export class OffersPage implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/searchresults/searchresults-routing.module.ts b/src/app/searchresults/searchresults-routing.module.ts new file mode 100644 index 0000000..60d84e7 --- /dev/null +++ b/src/app/searchresults/searchresults-routing.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +import { SearchresultsPage } from './searchresults.page'; + +const routes: Routes = [ + { + path: '', + component: SearchresultsPage + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule], +}) +export class SearchresultsPageRoutingModule {} diff --git a/src/app/searchresults/searchresults.module.ts b/src/app/searchresults/searchresults.module.ts new file mode 100644 index 0000000..b43abd2 --- /dev/null +++ b/src/app/searchresults/searchresults.module.ts @@ -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 { SearchresultsPageRoutingModule } from './searchresults-routing.module'; + +import { SearchresultsPage } from './searchresults.page'; + +@NgModule({ + imports: [ + CommonModule, + FormsModule, + IonicModule, + SearchresultsPageRoutingModule + ], + declarations: [SearchresultsPage] +}) +export class SearchresultsPageModule {} diff --git a/src/app/searchresults/searchresults.page.html b/src/app/searchresults/searchresults.page.html new file mode 100644 index 0000000..fc061b2 --- /dev/null +++ b/src/app/searchresults/searchresults.page.html @@ -0,0 +1,10 @@ + + + + Suchergebnisse + + + + + + diff --git a/src/app/searchresults/searchresults.page.scss b/src/app/searchresults/searchresults.page.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/searchresults/searchresults.page.spec.ts b/src/app/searchresults/searchresults.page.spec.ts new file mode 100644 index 0000000..68244e2 --- /dev/null +++ b/src/app/searchresults/searchresults.page.spec.ts @@ -0,0 +1,24 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { IonicModule } from '@ionic/angular'; + +import { SearchresultsPage } from './searchresults.page'; + +describe('SearchresultsPage', () => { + let component: SearchresultsPage; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ SearchresultsPage ], + imports: [IonicModule.forRoot()] + }).compileComponents(); + + fixture = TestBed.createComponent(SearchresultsPage); + component = fixture.componentInstance; + fixture.detectChanges(); + })); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/searchresults/searchresults.page.ts b/src/app/searchresults/searchresults.page.ts new file mode 100644 index 0000000..fa8c394 --- /dev/null +++ b/src/app/searchresults/searchresults.page.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-searchresults', + templateUrl: './searchresults.page.html', + styleUrls: ['./searchresults.page.scss'], +}) +export class SearchresultsPage implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/tab1/tab1.page.html b/src/app/tab1/tab1.page.html index f19bc01..57f0f75 100644 --- a/src/app/tab1/tab1.page.html +++ b/src/app/tab1/tab1.page.html @@ -1,13 +1,12 @@ + src="https://www.breisgau-hochschwarzwald.de/pb/site/Breisgau-Hochschwarzwald/get/params_E491248136/282741/plAn%20Logo.JPG" + /> - @@ -63,12 +62,15 @@ Batzenberg – Schönberg – Hexental - Dreisamtal, Gundelfingen-Glottertal + Dreisamtal, Gundelfingen-Glottertal Hochschwarzwald Stadt Freiburg - - Suche + Suche