1
0
mirror of https://github.com/dkmstr/openuds-gui.git synced 2024-10-26 08:55:23 +03:00

fixes for IE11 and firefox 45

This commit is contained in:
Adolfo Gómez García 2018-09-14 04:38:35 +02:00
parent 4a6d6b6cdb
commit f047f0d2cd
4 changed files with 11 additions and 5 deletions

View File

@ -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.:

View File

@ -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 {

View File

@ -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;

View File

@ -54,7 +54,7 @@ export class UDSApiService {
if (environment.production) {
return this.config.urls.static + url;
} else {
return '/static' + url;
return '/static/' + url;
}
}