From c7707fc94a8ca0631cd47baa2d13ce252e504f93 Mon Sep 17 00:00:00 2001 From: Sieciech Date: Tue, 31 Aug 2021 17:16:16 +0200 Subject: [PATCH] implement part 3 --- docker/startup.sh | 14 +- src/frontend/src/app/app.component.html | 136 +++++++++--------- src/frontend/src/app/app.component.ts | 12 +- src/frontend/src/app/app.module.ts | 4 +- .../src/app/modules/auth/auth.module.ts | 3 - .../auth/services/auth/auth.service.ts | 23 +-- .../profile-edit/profile-edit.component.html | 2 +- .../profile-edit/profile-edit.component.ts | 11 +- .../src/app/modules/profile/profile.module.ts | 2 - .../components/loader/loader.component.html | 5 + .../components/loader/loader.component.scss | 22 +++ .../components/loader/loader.component.ts | 15 ++ .../error-handler.interceptor.ts | 1 - .../browser-storage.service.ts | 2 +- .../src/app/modules/shared/shared.module.ts | 13 +- 15 files changed, 161 insertions(+), 104 deletions(-) create mode 100644 src/frontend/src/app/modules/shared/components/loader/loader.component.html create mode 100644 src/frontend/src/app/modules/shared/components/loader/loader.component.scss create mode 100644 src/frontend/src/app/modules/shared/components/loader/loader.component.ts diff --git a/docker/startup.sh b/docker/startup.sh index 1deb391..a89402c 100644 --- a/docker/startup.sh +++ b/docker/startup.sh @@ -1,8 +1,8 @@ #!/bin/bash -echo "> Configure cache" - mkdir -p /tmp/app/vendor - ln -s /tmp/app/vendor /web/backend/vendor +#echo "> Configure cache" +# mkdir -p /tmp/app/vendor +# ln -s /tmp/app/vendor /web/backend/vendor echo "> Configure user" useradd developer @@ -14,10 +14,10 @@ echo "> Configure logs" chown postgres:adm /var/log/postgresql -R chown root:postgres /var/log/postgresql -echo "> Configure volumes" - [ -e /web/frontend/node_modules ] || ln -s /web/node /web/frontend/node_modules - [ -e /web/backend/var ] || ln -s /web/var /web/backend/var - [ -e /web/backend/vendor ] || ln -s /web/vendor /web/backend/vendor +#echo "> Configure volumes" +# [ -e /web/frontend/node_modules ] || ln -s /web/node /web/frontend/node_modules +# [ -e /web/backend/var ] || ln -s /web/var /web/backend/var +# [ -e /web/backend/vendor ] || ln -s /web/vendor /web/backend/vendor echo "> Starting php8.0-fpm server" [ -e /etc/php/8.0/fpm/conf.d/20-xdebug.ini ] && rm /etc/php/8.0/fpm/conf.d/20-xdebug.ini || echo OK diff --git a/src/frontend/src/app/app.component.html b/src/frontend/src/app/app.component.html index 2bb3836..c702d4b 100644 --- a/src/frontend/src/app/app.component.html +++ b/src/frontend/src/app/app.component.html @@ -1,75 +1,77 @@ - - - - - {{ 'APP.NAME' | translate }} - -
-
- -
-
-
-
- - - - - -