Mercurial > hg > orthanc-stone
annotate Applications/StoneWebViewer/WebApplication/configuration.json @ 1698:8805a6a01655
"DateFormat" configuration option
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Nov 2020 10:13:15 +0100 |
parents | c2802561d7f9 |
children | 0598c87e1e88 |
rev | line source |
---|---|
1696
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 { |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 /** |
1697
c2802561d7f9
"PrintEnabled" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1696
diff
changeset
|
3 * Enables/disables the print button. |
c2802561d7f9
"PrintEnabled" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1696
diff
changeset
|
4 **/ |
c2802561d7f9
"PrintEnabled" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1696
diff
changeset
|
5 "PrintEnabled" : true, |
c2802561d7f9
"PrintEnabled" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1696
diff
changeset
|
6 |
c2802561d7f9
"PrintEnabled" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1696
diff
changeset
|
7 /** |
1698
8805a6a01655
"DateFormat" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1697
diff
changeset
|
8 * Defines how dates are displayed in the UI. If this option is not |
8805a6a01655
"DateFormat" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1697
diff
changeset
|
9 * set, the DICOM tags will be displayed as such. "DD" will be |
8805a6a01655
"DateFormat" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1697
diff
changeset
|
10 * replaced by the day, "MM" by the month, and "YYYY" by the year. |
8805a6a01655
"DateFormat" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1697
diff
changeset
|
11 **/ |
8805a6a01655
"DateFormat" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1697
diff
changeset
|
12 // "DateFormat" : "DD/MM/YYYY", |
8805a6a01655
"DateFormat" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1697
diff
changeset
|
13 |
8805a6a01655
"DateFormat" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1697
diff
changeset
|
14 /** |
1696
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 * The allowed origin for messages corresponding to dynamic actions |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 * triggered by another Web page using "window.postMessage()". The |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 * special value "*" will allow any origin, which is an insecure |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 * value to be used only during development. If this option is not |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 * set, all the requests for dynamic actions will be rejected. |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
21 **/ |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
22 "ExpectedMessageOrigin" : "http://localhost:8042" |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
23 } |