Mercurial > gemma
annotate client/.env @ 1947:4235fa8f59d7
clien: pdf-gen: load logo externally; add prepare step
* Change the way how the logo to be placed in the pdf is loaded:
It can be configured in the `.env.localĀ“ file, otherwise a placeholder
will be loaded from the static assets. The placeholder has not been
placed in `assets` because it won't be needed if a real logo has
been specified and thus should not compiled in by default.
* Add a mechanism to do asynchronous preparations before rendering.
This is needed for the completeion of the Image() loading, but it also
shows how asynchronous preparational step can be added in principle.
* Disable the start button when the current rendering is in progress.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Tue, 22 Jan 2019 10:01:08 +0100 |
parents | 5b7a4327f6c0 |
children | 7ebd4154894e |
rev | line source |
---|---|
23 | 1 #Name of the application, e.g. displayed at login time |
7 | 2 VUE_APP_TITLE=Waterway Monitoring system |
23 | 3 |
4 #Backend URL | |
9
ee6d3836014e
current version of login
Thomas Junk <thomas.junk@intevation.de>
parents:
7
diff
changeset
|
5 VUE_APP_API_URL=/api/ |
499
5b7a4327f6c0
Recommend using .env.local instead of copying .env.sample
Tom Gottfried <tom@intevation.de>
parents:
353
diff
changeset
|
6 VUE_BACKEND_API_URL=http://gemma_backend:8000 |
23 | 7 |
8 #Path of vendored images is copied during a webpack build | |
9 VUE_APP_VENDOR_IMG_PATH= | |
1947
4235fa8f59d7
clien: pdf-gen: load logo externally; add prepare step
Bernhard Reiter <bernhard@intevation.de>
parents:
499
diff
changeset
|
10 |
4235fa8f59d7
clien: pdf-gen: load logo externally; add prepare step
Bernhard Reiter <bernhard@intevation.de>
parents:
499
diff
changeset
|
11 #Logos to be potentially loaded by the SPA. Can be left blank. |
4235fa8f59d7
clien: pdf-gen: load logo externally; add prepare step
Bernhard Reiter <bernhard@intevation.de>
parents:
499
diff
changeset
|
12 VUE_APP_SECONDARY_LOGO_URL= |
4235fa8f59d7
clien: pdf-gen: load logo externally; add prepare step
Bernhard Reiter <bernhard@intevation.de>
parents:
499
diff
changeset
|
13 VUE_APP_LOGO_FOR_PDF_URL= |