Merge branch 'master' of ssh://lab.theresno.cloud:1251/hackathon-fr-20/plana
commit
1c35a4946a
@ -0,0 +1,82 @@
|
||||
export interface Offer {
|
||||
adr_anfahrt: string;
|
||||
adr_hausnr: string;
|
||||
adr_ort: string;
|
||||
adr_plz: string;
|
||||
adr_strasse: string;
|
||||
con_fax: string;
|
||||
con_mobile: string;
|
||||
con_tel: string;
|
||||
descr_einrichtung: string;
|
||||
descr_long: string;
|
||||
descr_short: string;
|
||||
descr_titel: string;
|
||||
descr_zusatz: string;
|
||||
descr_date: Date;
|
||||
detail_anmeldung: string;
|
||||
detail_gender: string;
|
||||
detail_cost: string;
|
||||
details_teilnehmer: string;
|
||||
details_zeit: string;
|
||||
details_ziel: string;
|
||||
detail_methods: string;
|
||||
categories: {
|
||||
"Elternbildung": boolean;
|
||||
"Soziale Teilhabe": boolean;
|
||||
"Beratung": boolean;
|
||||
"Erährung und Bewegung": boolean;
|
||||
"Familienfreundliche Angebote": boolean;
|
||||
"Förderung der allgem. Lebenskompetenz": boolean;
|
||||
"Frühe Hilfen": boolean;
|
||||
"Körperliche Gesundheit": boolean;
|
||||
"Seelische Gesundheit": boolean;
|
||||
"Inklusion": boolean;
|
||||
"Medienpädagogik/-kompetenz": boolean;
|
||||
"Migration und Integration": boolean;
|
||||
"Offene Familientreffs": boolean;
|
||||
"Partnerschaft und Sexualität": boolean;
|
||||
"Planung, Unterstützung, Material": boolean;
|
||||
"Prävention von Gewalt und Rechtsextremismus": boolean;
|
||||
"Prävention von sexueller Gewalt": boolean;
|
||||
"Prävention von Sucht": boolean;
|
||||
"Sontiges": boolean;
|
||||
"Übergang in Kita/Schule/Beruf": boolean;
|
||||
};
|
||||
region: {
|
||||
"Batzenberg, Schönberg, Hexental": boolean;
|
||||
"Dreisamtal, Gundelfingen": boolean;
|
||||
"Glottertal": boolean;
|
||||
"Hochschwarzwald": boolean;
|
||||
"Kaiserstuhl, Tuniberg": boolean;
|
||||
"Markgräflerland Nord": boolean;
|
||||
"Markgräflerland Süd": boolean;
|
||||
"Stadt Freiburg": boolean;
|
||||
};
|
||||
zielgruppe: {
|
||||
"Einrichtungen und Vereine": boolean;
|
||||
"Eltern": boolean;
|
||||
"Erwachsene": boolean;
|
||||
"Gemeinden": boolean;
|
||||
"Kinder und Jugendliche": boolean;
|
||||
"Medizinische Fachkräfte": boolean;
|
||||
"Pädagogische Fachkräfte": boolean;
|
||||
"allgemeine Bevölkerung": boolean;
|
||||
};
|
||||
|
||||
altersgruppe: {
|
||||
"0-3 Jahre": boolean;
|
||||
"3-6 Jahre": boolean;
|
||||
"6-10 Jahre": boolean;
|
||||
"10-16 Jahre": boolean;
|
||||
"16-18 Jahre": boolean;
|
||||
"18-27 Jahre": boolean;
|
||||
"Erwachsene": boolean;
|
||||
"Familienphase": boolean;
|
||||
"Senioren und Familien": boolean;
|
||||
};
|
||||
|
||||
geo_lat: number;
|
||||
geo_lon: number;
|
||||
link_title: string;
|
||||
link_url: string;
|
||||
}
|
@ -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 {}
|
@ -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 {}
|
@ -0,0 +1,9 @@
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>offers</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content>
|
||||
|
||||
</ion-content>
|
@ -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<OffersPage>;
|
||||
|
||||
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();
|
||||
});
|
||||
});
|
@ -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() {
|
||||
}
|
||||
|
||||
}
|
@ -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 {}
|
@ -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 {}
|
@ -0,0 +1,13 @@
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-buttons slot=start><ion-back-button></ion-back-button></ion-buttons>
|
||||
<ion-title>Suchergebnisse</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content>
|
||||
<ion-list>
|
||||
|
||||
</ion-list>
|
||||
|
||||
</ion-content>
|
@ -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<SearchresultsPage>;
|
||||
|
||||
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();
|
||||
});
|
||||
});
|
@ -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() {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue