Mercurial > hg > orthanc-stone
changeset 1844:58049bdebdc3
new option "InstitutionLogo" to display the logo of your institution in the viewer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 Jun 2021 14:48:22 +0200 |
parents | 251d7f7a6c4e |
children | ca85b6d60bca |
files | Applications/StoneWebViewer/NEWS Applications/StoneWebViewer/WebApplication/configuration.json Applications/StoneWebViewer/WebApplication/index.html |
diffstat | 3 files changed, 19 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/StoneWebViewer/NEWS Thu Jun 24 14:30:00 2021 +0200 +++ b/Applications/StoneWebViewer/NEWS Thu Jun 24 14:48:22 2021 +0200 @@ -1,8 +1,10 @@ Pending changes in the mainline =============================== -* New configuration option "DownloadDicomDir" to download archives - containing DICOMDIR instead of a human-readable hierarchy of folders +* New configuration options: + - "DownloadDicomDir" to download archives containing DICOMDIR instead of + a human-readable hierarchy of folders + - "InstitutionLogo" to display the logo of your institution in the viewer * If available, use ZIP streaming from Orthanc >= 1.9.4 to create archives
--- a/Applications/StoneWebViewer/WebApplication/configuration.json Thu Jun 24 14:30:00 2021 +0200 +++ b/Applications/StoneWebViewer/WebApplication/configuration.json Thu Jun 24 14:48:22 2021 +0200 @@ -92,12 +92,19 @@ "OrthancApiRoot" : "..", /** - * If this option is set to "true", the Stone Web viewer will - * create DICOMDIR media archives (as generated by the route - * "/studies/{id}/media" of Orthanc), instead of archives + * If option "DownloadDicomDir" is set to "true", the Stone Web + * viewer will create DICOMDIR media archives (as generated by the + * route "/studies/{id}/media" of Orthanc), instead of archives * containing a human-readable hierarchy of folders (as generated * by the route "/studies/{id}/archive"). **/ - "DownloadDicomDir" : false + "DownloadDicomDir" : false, + + /** + * By setting option "InstitutionLogo" to an URL containing an + * image, this logo will be displayed at the bottom-left of the + * Stone Web viewer. + **/ + "InstitutionLogo" : "" } }
--- a/Applications/StoneWebViewer/WebApplication/index.html Thu Jun 24 14:30:00 2021 +0200 +++ b/Applications/StoneWebViewer/WebApplication/index.html Thu Jun 24 14:48:22 2021 +0200 @@ -299,6 +299,10 @@ </div> <div class="wvLayoutLeft__contentBottom"> + <div style="width:100%;padding:10px;text-align:center;" + v-if="globalConfiguration.InstitutionLogo != ''"> + <img style="max-width:100%" v-bind:src="globalConfiguration.InstitutionLogo" /> + </div> </div> </div> </div>