From f047f0d2cd4ebeab16486cd9cd499d4a38f3b414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Fri, 14 Sep 2018 04:38:35 +0200 Subject: [PATCH] fixes for IE11 and firefox 45 --- README.md | 9 +++++++-- src/app/gui/components/service/service.component.css | 3 ++- src/app/pages/login/login.component.css | 2 +- src/app/uds-api.service.ts | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bb77f44..5f5070e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ This project was generated with [Angular CLI](https://github.com/angular/angular ## Development server -Edit the "proxy.conf.json" file and adapt it to your needings. +Remember editing the "proxy.conf.json" file and adapt it to your needings. + Currently, you will need to use a running UDS server backend in order to run the development environment. Run `yarn start` for a dev server. Navigate to `http://[YOUR_IP]:9000/`. The app will automatically reload if you change any of the source files. @@ -17,4 +18,8 @@ For importing into UDS, you will need to have python3 available before proceding Run `yarn build`. After building is finished, copy the `dist/uds` folder to your uds folder. -Note: the `dist/uds` folder will contain two folders, that will be copied over the existing ones on the `uds` folder of OpenUDS. Do not delete the destination folder, just overwrite existing files, because the build process only build PART of the content on those folders. +## Notes + +* The `dist/uds` folder will contain two folders, that will be copied over the existing ones on the `uds` folder of OpenUDS. Do not delete the destination folder, just overwrite existing files, because the build process only build PART of the content on those folders. +* Currently Angular 6 has issues with firefox previous to 50. In order to build for this platforms support, use `yarn f45build`. (This build procedure has only been tested on Linux). The problems are not in fact related to Angular, but related to uglify-js. Angular 7 will probably solve this issue.: + diff --git a/src/app/gui/components/service/service.component.css b/src/app/gui/components/service/service.component.css index 5529a7b..cac1528 100644 --- a/src/app/gui/components/service/service.component.css +++ b/src/app/gui/components/service/service.component.css @@ -60,10 +60,11 @@ font-size: 1.2em; display: flex; flex: 1 0 auto; - flex-flow: row auto; + flex-flow: row; align-items: center; justify-content: center; height: 2.5rem; + width: 100%; } .menu { diff --git a/src/app/pages/login/login.component.css b/src/app/pages/login/login.component.css index d57574b..e1e3194 100644 --- a/src/app/pages/login/login.component.css +++ b/src/app/pages/login/login.component.css @@ -20,7 +20,7 @@ -moz-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2); box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2); transition: all 0.3s cubic-bezier(.25,.8,.25,1); - flex: 1 0 51%; + /* flex: 1 0 51%; */ justify-content: center; flex-flow: column wrap; align-items: center; diff --git a/src/app/uds-api.service.ts b/src/app/uds-api.service.ts index 829a74a..e175e11 100644 --- a/src/app/uds-api.service.ts +++ b/src/app/uds-api.service.ts @@ -54,7 +54,7 @@ export class UDSApiService { if (environment.production) { return this.config.urls.static + url; } else { - return '/static' + url; + return '/static/' + url; } }