From b28be4b7924ee11baa839b67676e83fd69fdc0d3 Mon Sep 17 00:00:00 2001 From: VLE2FE Date: Mon, 13 Jul 2020 10:52:10 +0200 Subject: [PATCH] finished filters --- angular.json | 3 +- manifest.yml | 8 + package.json | 3 +- src/Staticfile | 2 + src/app/app.component.html | 4 +- src/app/app.component.scss | 5 + src/app/app.component.ts | 7 +- src/app/app.module.ts | 4 +- src/app/login/login.component.ts | 3 + src/app/object.pipe.spec.ts | 8 + src/app/object.pipe.ts | 12 ++ src/app/sample/sample.component.ts | 1 - src/app/samples/samples.component.html | 97 ++++++++--- src/app/samples/samples.component.scss | 79 ++++++++- src/app/samples/samples.component.ts | 229 ++++++++++++++++++++----- src/app/services/api.service.ts | 38 ++-- src/app/services/login.service.ts | 4 + 17 files changed, 419 insertions(+), 88 deletions(-) create mode 100644 manifest.yml create mode 100644 src/Staticfile create mode 100644 src/app/object.pipe.spec.ts create mode 100644 src/app/object.pipe.ts diff --git a/angular.json b/angular.json index 126fb2c..066b70a 100644 --- a/angular.json +++ b/angular.json @@ -26,7 +26,8 @@ "assets": [ "src/favicon.ico", "src/assets", - { "glob": "**/*", "input": "./node_modules/@inst-iot/bosch-angular-ui-components/assets", "output": "./assets" } + { "glob": "**/*", "input": "./node_modules/@inst-iot/bosch-angular-ui-components/assets", "output": "./assets" }, + "src/Staticfile" ], "styles": [ "src/styles.scss" diff --git a/manifest.yml b/manifest.yml new file mode 100644 index 0000000..852c5cd --- /dev/null +++ b/manifest.yml @@ -0,0 +1,8 @@ +--- +applications: + - name: definma + path: dist/UI + buildpack: staticfile_buildpack + memory: 128M + instances: 1 + stack: cflinuxfs3 diff --git a/package.json b/package.json index d77ae2a..b188818 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "scripts": { "ng": "ng", "start": "ng serve", - "build": "ng build", + "build": "ng build --prod --aot", + "build-push": "ng build --prod --aot && cf push", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", diff --git a/src/Staticfile b/src/Staticfile new file mode 100644 index 0000000..03b776c --- /dev/null +++ b/src/Staticfile @@ -0,0 +1,2 @@ +pushstate: enabled +force_https: true diff --git a/src/app/app.component.html b/src/app/app.component.html index 140a69a..0546de3 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,7 +1,7 @@