Merge branch 'expert-app-modifs' into 'master'

Fix the logo in the expert-app

See merge request cara/cara!104
This commit is contained in:
Philip James Elson 2020-11-20 12:27:21 +00:00
commit 0fdfbd0eaf
3 changed files with 3 additions and 1 deletions

View file

@ -58,6 +58,7 @@ http {
proxy_read_timeout 86400;
}
rewrite ^/expert-app$ /voila-server/voila/render/cara.ipynb last;
rewrite ^/(files/static)/(.*)$ /voila-server/voila/$1/$2 last;
# Before implementing the nginx router we could access /voila/render/cara.ipynb.
# Redirect this (and all other) URLs to the new scheme.

View file

@ -5,7 +5,7 @@
"metadata": {},
"source": [
"<div style=\"text-align: center;\" align=\"center\">\n",
"<img src=\"../../files/cara/apps/static/images/cara_logo_text_tight_margins.png\" align=\"center\" style=\"text-align: center;\" /></div>\n",
"<img src=\"../files/static/images/cara_logo_text_tight_margins.png\" align=\"center\" style=\"text-align: center; height: 12em;\" /></div>\n",
"<p style=\"color: blue; font-weight: bold; font-size: x-large; text-align: center;\" align=\"center\">\n",
"Airborne Transmission of SARS-CoV-2\n",
"</p>"

1
app/static Symbolic link
View file

@ -0,0 +1 @@
../cara/apps/static