annotate Applications/StoneWebViewer/WebApplication/index.html @ 2088:b98d159c7545 dicom-sr

created branch dicom-sr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 07 Nov 2023 18:12:35 +0100
parents f36de3ba43c8
children a56f7ed0cdf9 bea4e7900a47
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 <!doctype html>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 <html class="wv-html">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 <head>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 <title>Stone Web Viewer</title>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 <meta charset="utf-8" />
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 <meta name="apple-mobile-web-app-capable" content="yes" />
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 <link rel="icon" href="data:;base64,iVBORw0KGgo=">
1555
b894072b9e2f static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1554
diff changeset
11
b894072b9e2f static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1554
diff changeset
12 <link rel="stylesheet" href="css/all.css"> <!-- Font Awesome -->
b894072b9e2f static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1554
diff changeset
13 <link rel="stylesheet" href="css/bootstrap.css">
1660
05b55b89a134 use local copy of open-sans, remove ua-parser
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1659
diff changeset
14 <link rel="stylesheet" href="open-sans.css">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 <link rel="stylesheet" href="app.css">
1686
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
16 <link rel="stylesheet" href="app-fixes.css">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 </head>
1686
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
18
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 <body class="wv-body">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 <div id="wv">
1686
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
21
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
22 <div class="wvInfoScreen" v-show="modalNotDiagnostic" style="display: none">
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
23 <div class="wvInfoPopup">
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
24 <div class="wvInfoPopupLogo">
1827
21ccc00839f7 upgrade to Emscripten 2.0.23
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1824
diff changeset
25 <a href="https://www.orthanc-server.com/" target="_blank">
1686
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
26 <img style="width: 340px;" src="img/orthanc.png"/>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
27 </a>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
28 </div>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
29 <div class="wvInfoPopupText">
1689
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
30 <h3>Intended use</h3>
1686
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
31 <p>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
32 The Stone Web Viewer is intended for<br> patients
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
33 reviewing their images,<br> for research and for quality
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
34 assurance.
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
35 </p>
1824
a56bf4c534ef display stone web viewer version in info panel
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1820
diff changeset
36 <h3>Versions</h3>
a56bf4c534ef display stone web viewer version in info panel
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1820
diff changeset
37 <p>
1827
21ccc00839f7 upgrade to Emscripten 2.0.23
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1824
diff changeset
38 Stone Web viewer: {{ stoneWebViewerVersion }} <br/>
2023
e0b7b2a8b914 support generation of ZIP archives in the presence of authorization tokens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2020
diff changeset
39 <span v-if="orthancSystem.Version">Orthanc: {{ orthancSystem.Version }} <br/></span>
1827
21ccc00839f7 upgrade to Emscripten 2.0.23
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1824
diff changeset
40 Emscripten compiler: {{ emscriptenVersion }}
1824
a56bf4c534ef display stone web viewer version in info panel
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1820
diff changeset
41 </p>
1686
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
42 </div>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
43 <div class="wvInfoPopupForm">
1958
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
44 <div v-if="globalConfiguration.ShowInfoPanelAtStartup == 'User'">
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
45 <br>
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
46 <label>Show this information at startup
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
47 <input type="checkbox" style="margin-left: 20px" v-model="settingNotDiagnostic">
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
48 </label>
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
49 <br>
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
50 </div>
1686
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
51 <br>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
52 <div style="text-align: center;">
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
53 <button class="wvInfoPopupCloseButton" @click="modalNotDiagnostic = false">
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
54 Close
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
55 </button>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
56 </div>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
57 </div>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
58 </div>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
59 </div>
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
60
1689
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
61 <div class="wvInfoScreen" v-show="modalPreferences" style="display: none">
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
62 <div class="wvInfoPopup">
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
63 <div class="wvInfoPopupLogo">
1827
21ccc00839f7 upgrade to Emscripten 2.0.23
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1824
diff changeset
64 <a href="https://www.orthanc-server.com/" target="_blank">
1689
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
65 <img style="width: 340px;" src="img/orthanc.png"/>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
66 </a>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
67 </div>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
68 <div class="wvInfoPopupText">
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
69 <h3>Intended use</h3>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
70 <p>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
71 The Stone Web Viewer is intended for<br> patients
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
72 reviewing their images,<br> for research and for quality
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
73 assurance.
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
74 </p>
1827
21ccc00839f7 upgrade to Emscripten 2.0.23
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1824
diff changeset
75 <h3>Versions</h3>
21ccc00839f7 upgrade to Emscripten 2.0.23
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1824
diff changeset
76 <p>
21ccc00839f7 upgrade to Emscripten 2.0.23
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1824
diff changeset
77 Stone Web viewer: {{ stoneWebViewerVersion }} <br/>
2023
e0b7b2a8b914 support generation of ZIP archives in the presence of authorization tokens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2020
diff changeset
78 <span v-if="orthancSystem.Version">Orthanc: {{ orthancSystem.Version }} <br/></span>
1827
21ccc00839f7 upgrade to Emscripten 2.0.23
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1824
diff changeset
79 Emscripten compiler: {{ emscriptenVersion }}
21ccc00839f7 upgrade to Emscripten 2.0.23
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1824
diff changeset
80 </p>
1689
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
81 <h3>User preferences</h3>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
82 </div>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
83 <div class="wvInfoPopupForm">
1958
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
84 <div v-if="globalConfiguration.ShowInfoPanelAtStartup == 'User'">
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
85 <label>Warn about the intended use at startup
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
86 <input type="checkbox" style="margin-left: 20px" v-model="settingNotDiagnostic">
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
87 </label>
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
88 <br>
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
89 </div>
1996
6e4ef6e3b2bf linear interpolation of images can be turned off in the user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1993
diff changeset
90 <label>Enable linear interpolation
6e4ef6e3b2bf linear interpolation of images can be turned off in the user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1993
diff changeset
91 <input type="checkbox" style="margin-left: 20px" v-model="settingLinearInterpolation">
6e4ef6e3b2bf linear interpolation of images can be turned off in the user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1993
diff changeset
92 </label>
6e4ef6e3b2bf linear interpolation of images can be turned off in the user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1993
diff changeset
93 <br>
6e4ef6e3b2bf linear interpolation of images can be turned off in the user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1993
diff changeset
94 <label>Use software rendering (slower, will reload the viewer)
1689
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
95 <input type="checkbox" style="margin-left: 20px" v-model="settingSoftwareRendering">
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
96 </label>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
97 <br><br>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
98 <div style="text-align: center;">
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
99 <button class="wvInfoPopupCloseButton" @click="ApplyPreferences()">
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
100 Apply
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
101 </button>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
102 </div>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
103 </div>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
104 </div>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
105 </div>
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
106
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
107 <div class="wvLoadingScreen" v-show="!ready && !modalNotDiagnostic && !modalPreferences" style="display: none">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
108 <span class="wvLoadingSpinner">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
109 <div class="bounce1"></div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
110 <div class="bounce2"></div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111 <div class="bounce3"></div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
112 </span>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
113 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
114
1689
fad38c4525f9 nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1686
diff changeset
115 <div class="fluid-height fluid-width" v-show="ready && !modalNotDiagnostic && !modalPreferences"
1686
59fc37c10cfa nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1682
diff changeset
116 style="display: none">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117
1552
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
118 <div class="wvWarning wvPrintExclude" v-show="modalWarning">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
119 <div class="wvWarning-content clearfix">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
120 <span class="wvWarning-text">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
121 <h2 class="mb10"><i class="fa fa-exclamation-triangle wvWarning-icon mr5"></i>Warning!</h2>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
122 <p class="mn mb10" style="color:#000">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
123 You browser is not supported. You might expect
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
124 inconsistent behaviours and must not use the viewer to
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
125 produce a diagnostic.
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
126 </p>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
127 </span>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
128 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
129 <div class="text-right mb10 mr10">
1552
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
130 <button class="btn btn-primary" @click="modalWarning=false">OK</button>
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
131 </div>
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
132 </div>
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
133
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
134
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
135 <div class="wvLayoutLeft wvLayoutLeft--closed" v-show="!leftVisible">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
136 <div class="wvLayoutLeft__actions--outside" style="z-index:10">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
137 <button class="wvLayoutLeft__action button__base wh__25 lh__25 text-center"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
138 @click="leftVisible = true">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
139 <i class="fa fa-angle-double-right"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
140 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
141 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
142 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
143
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
144
1563
e0045462a25c cont print
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1562
diff changeset
145 <div class="wvLayoutLeft wvPrintExclude" v-show="leftVisible"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
146 v-bind:class="{ 'wvLayoutLeft--small': leftMode == 'small' }"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
147 >
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
148 <div class="wvLayoutLeft__actions" style="z-index:10">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
149 <button class="wvLayoutLeft__action button__base wh__25 lh__25 text-center"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
150 @click="leftVisible = false">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
151 <i class="fa fa-angle-double-left"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
152 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
153 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
154 <div class="wvLayoutLeft__content">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
155 <div class="wvLayoutLeft__contentTop">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
156 <div class="float__left dropdown" style="max-width: calc(100% - 4.5rem); height:4.5rem !important" v-show="leftMode != 'small'">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
157 <button type="button" class="wvButton--border" data-toggle="dropdown">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
158 {{ getSelectedStudies }}
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
159 <span class="caret"></span>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
160 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
161 <ul class="dropdown-menu checkbox-menu allow-focus">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
162 <li v-for="study in studies"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
163 v-bind:class="{ active: study.selected }"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
164 @click="study.selected = !study.selected">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
165 <a>
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
166 {{ study.tags[STUDY_DESCRIPTION] }}
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
167 <small v-if="study.tags[STUDY_DATE].length > 0">
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
168 [{{ FormatDate(study.tags[STUDY_DATE]) }}]
1698
8805a6a01655 "DateFormat" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1697
diff changeset
169 </small>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
170 <span v-if="study.selected">&nbsp;<i class="fa fa-check"></i></span>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
171 </a>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
172 </li>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
173 </ul>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
174 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
175
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
176 <div class="float__right wvButton" v-if="leftMode == 'grid'" @click="leftMode = 'full'">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
177 <i class="fa fa-th-list"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
178 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
179 <div class="float__right wvButton" v-if="leftMode == 'full'" @click="leftMode = 'small'">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
180 <i class="fa fa-ellipsis-v"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
181 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
182 <div class="float__right wvButton" v-if="leftMode == 'small'" @click="leftMode = 'grid'">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
183 <i class="fa fa-th"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
184 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
185
1958
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
186 <p v-if="globalConfiguration.ShowNotForDiagnosticUsageDisclaimer" class="clear disclaimer mbn">
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
187 For patients, researchers and quality assurance. Not for diagnostic usage.
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
188 </p>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
189 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
190 <div class="wvLayoutLeft__contentMiddle">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
191
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
192 <div v-for="study in studies">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
193 <div v-if="study.selected">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
194 <div v-bind:class="'wvStudyIsland--' + study.color">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
195 <div v-bind:class="'wvStudyIsland__header--' + study.color">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
196 <!-- Actions -->
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
197 <div class="wvStudyIsland__actions"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
198 v-bind:class="{ 'wvStudyIsland__actions--oneCol': leftMode == 'small' }">
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
199 <a class="wvButton"
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
200 v-show="globalConfiguration.DownloadStudyEnabled && 'OrthancApiRoot' in globalConfiguration">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
201 <!-- download -->
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
202 <i class="fa fa-download" v-show="!creatingArchive"
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
203 data-toggle="tooltip" data-title="Download the study"
1842
9568082ee013 If available, use ZIP streaming from Orthanc >= 1.9.4 to create archives
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1827
diff changeset
204 @click="DownloadStudy(study.tags[STUDY_INSTANCE_UID], $event)"></i>
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
205 <i class="fas fa-sync fa-spin" v-show="creatingArchive"
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
206 data-toggle="tooltip" data-title="A ZIP archive is being created by Orthanc..."></i>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
207 </a>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
208 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
209
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
210 <!-- Title -->
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
211 {{ study.tags[STUDY_DESCRIPTION] }}
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
212 <br/>
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
213 <small>{{ FormatDate(study.tags[STUDY_DATE]) }}</small>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
214 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
215
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
216 <div class="wvStudyIsland__main">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
217 <ul class="wvSerieslist">
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
218
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
219 <!-- Series without multiple multiframe instances -->
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
220 <span v-for="seriesIndex in study.series">
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
221 <li class="wvSerieslist__seriesItem"
2020
88673f50d7b9 added key bindings to change active study and series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2019
diff changeset
222 v-bind:class="{ highlighted : GetActiveSeriesInstanceUid().includes(series[seriesIndex].tags[SERIES_INSTANCE_UID]), 'wvSerieslist__seriesItem--list' : leftMode != 'grid', 'wvSerieslist__seriesItem--grid' : leftMode == 'grid' }"
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
223 v-on:dragstart="SeriesDragStart($event, seriesIndex)"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
224 v-on:click="ClickSeries(seriesIndex)"
1849
023cce3d7844 introduction of the concept of "virtual series"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1844
diff changeset
225 v-if="series[seriesIndex].virtualSeries === null">
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
226 <div class="wvSerieslist__picture" style="z-index:0"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
227 draggable="true"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
228 v-if="series[seriesIndex].type != stone.ThumbnailType.UNKNOWN"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
229 >
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
230 <div v-if="series[seriesIndex].type == stone.ThumbnailType.LOADING">
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
231 <img src="img/loading.gif"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
232 style="vertical-align:baseline"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
233 width="65px" height="65px"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
234 />
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
235 </div>
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
236
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
237 <i v-if="series[seriesIndex].type == stone.ThumbnailType.PDF"
1808
797633f48a9c display series description if hovering pdf or video
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1807
diff changeset
238 class="wvSerieslist__placeholderIcon fa fa-file-pdf"
797633f48a9c display series description if hovering pdf or video
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1807
diff changeset
239 v-bind:title="leftMode == 'full' ? null : series[seriesIndex].tags[SERIES_DESCRIPTION]"></i>
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
240
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
241 <i v-if="series[seriesIndex].type == stone.ThumbnailType.VIDEO"
1808
797633f48a9c display series description if hovering pdf or video
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1807
diff changeset
242 class="wvSerieslist__placeholderIcon fa fa-video"
797633f48a9c display series description if hovering pdf or video
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1807
diff changeset
243 v-bind:title="leftMode == 'full' ? null : series[seriesIndex].tags[SERIES_DESCRIPTION]"></i>
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
244
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
245 <div v-if="[stone.ThumbnailType.IMAGE, stone.ThumbnailType.NO_PREVIEW].includes(series[seriesIndex].type)"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
246 class="wvSerieslist__placeholderIcon"
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
247 v-bind:title="leftMode == 'full' ? null : '[' + series[seriesIndex].tags[MODALITY] + '] ' + series[seriesIndex].tags[SERIES_DESCRIPTION]">
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
248 <i v-if="series[seriesIndex].type == stone.ThumbnailType.NO_PREVIEW"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
249 class="fa fa-eye-slash"></i>
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
250
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
251 <img v-if="series[seriesIndex].type == stone.ThumbnailType.IMAGE"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
252 v-bind:src="series[seriesIndex].thumbnail"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
253 style="vertical-align:baseline"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
254 width="65px" height="65px"
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
255 v-bind:title="leftMode == 'full' ? null : '[' + series[seriesIndex].tags[MODALITY] + '] ' + series[seriesIndex].tags[SERIES_DESCRIPTION]"
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
256 />
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
257
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
258 <div v-bind:class="'wvSerieslist__badge--' + study.color"
1860
b8f54ab47b3b SeriesList: display the SeriesNumber tag in front of image count.
Alain Mazy <am@osimis.io>
parents: 1859
diff changeset
259 v-if="series[seriesIndex].numberOfFrames != 0 || series[seriesIndex].tags[SERIES_NUMBER] !== undefined">
b8f54ab47b3b SeriesList: display the SeriesNumber tag in front of image count.
Alain Mazy <am@osimis.io>
parents: 1859
diff changeset
260 <span v-if="series[seriesIndex].tags[SERIES_NUMBER] !== undefined">#{{ series[seriesIndex].tags[SERIES_NUMBER] }}</span>
b8f54ab47b3b SeriesList: display the SeriesNumber tag in front of image count.
Alain Mazy <am@osimis.io>
parents: 1859
diff changeset
261 <span v-if="series[seriesIndex].numberOfFrames != 0 && series[seriesIndex].tags[SERIES_NUMBER] !== undefined"> - </span>
b8f54ab47b3b SeriesList: display the SeriesNumber tag in front of image count.
Alain Mazy <am@osimis.io>
parents: 1859
diff changeset
262 <span v-if="series[seriesIndex].numberOfFrames != 0">{{ series[seriesIndex].numberOfFrames }}</span>
b8f54ab47b3b SeriesList: display the SeriesNumber tag in front of image count.
Alain Mazy <am@osimis.io>
parents: 1859
diff changeset
263 </div>
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
264 </div>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
265 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
266
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
267 <div v-if="leftMode == 'full'" class="wvSerieslist__information"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
268 draggable="true"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
269 v-on:dragstart="SeriesDragStart($event, seriesIndex)"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
270 v-on:click="ClickSeries(seriesIndex)">
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
271 <p class="wvSerieslist__label">
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
272 [{{ series[seriesIndex].tags[MODALITY] }}]
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
273 {{ series[seriesIndex].tags[SERIES_DESCRIPTION] }}
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
274 </p>
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
275 </div>
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
276 </li>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
277
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
278
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
279 <!-- Series with multiple multiframe instances (CINE) -->
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
280 <li class="wvSerieslist__seriesItem"
1849
023cce3d7844 introduction of the concept of "virtual series"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1844
diff changeset
281 v-bind:class="{ highlighted : GetActiveVirtualSeries().includes(virtualSeries.ID), 'wvSerieslist__seriesItem--list' : leftMode != 'grid', 'wvSerieslist__seriesItem--grid' : leftMode == 'grid' }"
023cce3d7844 introduction of the concept of "virtual series"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1844
diff changeset
282 v-for="virtualSeries in series[seriesIndex].virtualSeries"
023cce3d7844 introduction of the concept of "virtual series"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1844
diff changeset
283 v-on:dragstart="VirtualSeriesDragStart($event, seriesIndex, virtualSeries.ID)"
023cce3d7844 introduction of the concept of "virtual series"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1844
diff changeset
284 v-on:click="ClickVirtualSeries(seriesIndex, virtualSeries.ID)">
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
285 <div class="wvSerieslist__picture" style="z-index:0"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
286 draggable="true">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
287 <img v-if="series[seriesIndex].type == stone.ThumbnailType.IMAGE"
1849
023cce3d7844 introduction of the concept of "virtual series"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1844
diff changeset
288 v-bind:src="virtualSeries.ID in virtualSeriesThumbnails ? virtualSeriesThumbnails[virtualSeries.ID] : series[seriesIndex].thumbnail"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
289 style="vertical-align:baseline"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
290 width="65px" height="65px"
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
291 v-bind:title="leftMode == 'full' ? null : '[' + series[seriesIndex].tags[MODALITY] + '] ' + series[seriesIndex].tags[SERIES_DESCRIPTION]"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
292 />
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
293
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
294 <div v-bind:class="'wvSerieslist__badge--' + study.color">
1849
023cce3d7844 introduction of the concept of "virtual series"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1844
diff changeset
295 {{ virtualSeries.NumberOfFrames }}
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
296 </div>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
297 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
298
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
299 <div v-if="leftMode == 'full'" class="wvSerieslist__information"
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
300 draggable="true"
1849
023cce3d7844 introduction of the concept of "virtual series"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1844
diff changeset
301 v-on:dragstart="VirtualSeriesDragStart($event, seriesIndex, virtualSeries.ID)"
023cce3d7844 introduction of the concept of "virtual series"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1844
diff changeset
302 v-on:click="ClickVirtualSeries(seriesIndex, virtualSeries.ID)">
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
303 <p class="wvSerieslist__label">
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
304 [{{ series[seriesIndex].tags[MODALITY] }}]
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
305 {{ series[seriesIndex].tags[SERIES_DESCRIPTION] }}
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
306 </p>
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
307 </div>
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
308 </li>
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
309
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
310 </span>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
311 </ul>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
312 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
313 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
314 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
315 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
316
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
317 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
318 <div class="wvLayoutLeft__contentBottom">
1844
58049bdebdc3 new option "InstitutionLogo" to display the logo of your institution in the viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1842
diff changeset
319 <div style="width:100%;padding:10px;text-align:center;"
58049bdebdc3 new option "InstitutionLogo" to display the logo of your institution in the viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1842
diff changeset
320 v-if="globalConfiguration.InstitutionLogo != ''">
58049bdebdc3 new option "InstitutionLogo" to display the logo of your institution in the viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1842
diff changeset
321 <img style="max-width:100%" v-bind:src="globalConfiguration.InstitutionLogo" />
58049bdebdc3 new option "InstitutionLogo" to display the logo of your institution in the viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1842
diff changeset
322 </div>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
323 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
324 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
325 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
326 <div class="wvLayout__main"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
327 v-bind:class="{ 'wvLayout__main--smallleftpadding': leftVisible && leftMode == 'small', 'wvLayout__main--leftpadding': leftVisible && leftMode != 'small' }"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
328 >
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
329
1662
0f161841f837 adding orthanc logo to the Stone viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1661
diff changeset
330 <div class="wvToolbar wvToolbar--top wvPrintExclude" style="left: 0px; text-align:left">
0f161841f837 adding orthanc logo to the Stone viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1661
diff changeset
331 <a href="https://www.orthanc-server.com/" target="_blank">
0f161841f837 adding orthanc logo to the Stone viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1661
diff changeset
332 <img src="img/orthanc.png" style="max-height: 100%; padding: 8px" />
0f161841f837 adding orthanc logo to the Stone viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1661
diff changeset
333 </a>
0f161841f837 adding orthanc logo to the Stone viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1661
diff changeset
334 </div>
0f161841f837 adding orthanc logo to the Stone viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1661
diff changeset
335
1563
e0045462a25c cont print
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1562
diff changeset
336 <div class="wvToolbar wvToolbar--top wvPrintExclude">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
337 <div class="ng-scope inline-object">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
338 <div class="tbGroup">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
339 <div class="tbGroup__toggl">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
340 <button class="wvButton"
2010
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
341 v-bind:class="{ 'wvButton--underline' : !viewportLayoutButtonsVisible, 'wvButton--border' : viewportLayoutButtonsVisible }"
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
342 data-toggle="tooltip" data-title="Change layout"
2010
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
343 @click="viewportLayoutButtonsVisible = !viewportLayoutButtonsVisible;mouseActionsVisible=false;annotationActionsVisible=false;HideAllTooltips()">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
344 <i class="fa fa-th"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
345 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
346 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
347
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
348 <div class="tbGroup__buttons--bottom" v-show="viewportLayoutButtonsVisible">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
349 <div class="inline-object">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
350 <button class="wvButton" @click="SetViewportLayout('1x1')">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
351 <img src="img/grid1x1.png" style="width:1em;height:1em" />
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
352 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
353 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
354 <div class="inline-object">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
355 <button class="wvButton" @click="SetViewportLayout('2x1')">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
356 <img src="img/grid2x1.png" style="width:1em;height:1em" />
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
357 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
358 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
359 <div class="inline-object">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
360 <button class="wvButton" @click="SetViewportLayout('1x2')">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
361 <img src="img/grid1x2.png" style="width:1em;height:1em" />
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
362 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
363 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
364 <div class="inline-object">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
365 <button class="wvButton" @click="SetViewportLayout('2x2')">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
366 <img src="img/grid2x2.png" style="width:1em;height:1em" />
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
367 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
368 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
369 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
370 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
371 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
372
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
373
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
374 <div class="ng-scope inline-object">
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
375 <div class="tbGroup">
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
376 <div class="tbGroup__toggl">
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
377 <button class="wvButton"
2010
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
378 v-bind:class="{ 'wvButton--underline' : !mouseActionsVisible, 'wvButton--border' : mouseActionsVisible }"
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
379 data-toggle="tooltip" data-title="Mouse actions"
2010
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
380 @click="viewportLayoutButtonsVisible=false;mouseActionsVisible = !mouseActionsVisible;annotationActionsVisible=false;HideAllTooltips()">
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
381 <i class="fa fa-mouse-pointer"></i>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
382 </button>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
383 </div>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
384
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
385 <div class="tbGroup__buttons--bottom" v-show="mouseActionsVisible">
1701
b5a8bf32d969 new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1699
diff changeset
386 <div class="inline-object" v-if="globalConfiguration.CombinedToolEnabled">
1820
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
387 <button class="wvButton--underline"
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
388 data-toggle="tooltip" data-title="Combined tool"
1820
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
389 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_COMBINED }"
1701
b5a8bf32d969 new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1699
diff changeset
390 @click="SetCombinedToolActions()">
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
391 <i class="far fa-hand-point-up"></i>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
392 </button>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
393 </div>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
394 <div class="inline-object">
1820
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
395 <button class="wvButton--underline"
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
396 data-toggle="tooltip" data-title="Zoom"
1820
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
397 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_ZOOM }"
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
398 @click="SetMouseButtonActions(MOUSE_TOOL_ZOOM, stone.WebViewerAction.ZOOM, stone.WebViewerAction.ZOOM, stone.WebViewerAction.ZOOM)">
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
399 <i class="fas fa-search"></i>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
400 </button>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
401 </div>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
402 <div class="inline-object">
1820
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
403 <button class="wvButton--underline"
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
404 data-toggle="tooltip" data-title="Pan"
1820
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
405 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_PAN }"
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
406 @click="SetMouseButtonActions(MOUSE_TOOL_PAN, stone.WebViewerAction.PAN, stone.WebViewerAction.PAN, stone.WebViewerAction.PAN)">
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
407 <i class="fas fa-arrows-alt"></i>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
408 </button>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
409 </div>
1579
c476b0d5e59c skeleton for cross-hair tool
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1575
diff changeset
410 <div class="inline-object">
1820
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
411 <button class="wvButton--underline"
1579
c476b0d5e59c skeleton for cross-hair tool
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1575
diff changeset
412 data-toggle="tooltip" data-title="3D cross-hair"
1820
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
413 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CROSSHAIR }"
5baaad557d58 don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1815
diff changeset
414 @click="SetMouseButtonActions(MOUSE_TOOL_CROSSHAIR, stone.WebViewerAction.CROSSHAIR, stone.WebViewerAction.PAN, stone.WebViewerAction.ZOOM)">
1579
c476b0d5e59c skeleton for cross-hair tool
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1575
diff changeset
415 <i class="fas fa-crosshairs"></i>
c476b0d5e59c skeleton for cross-hair tool
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1575
diff changeset
416 </button>
c476b0d5e59c skeleton for cross-hair tool
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1575
diff changeset
417 </div>
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
418 </div>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
419 </div>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
420 </div>
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
421
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
422
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
423
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
424 <!--div class="ng-scope inline-object">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
425 <button class="wvButton--underline text-center active">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
426 <i class="fa fa-hand-pointer-o"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
427 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
428 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
429
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
430 <div class="ng-scope inline-object">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
431 <button class="wvButton--underline text-center">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
432 <i class="fa fa-search"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
433 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
434 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
435
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
436 <div class="ng-scope inline-object">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
437 <button class="wvButton--underline text-center">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
438 <i class="fa fa-arrows"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
439 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
440 </div-->
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
441
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
442 <div class="ng-scope inline-object">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
443 <button class="wvButton--underline text-center"
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
444 data-toggle="tooltip" data-title="Invert contrast"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
445 v-on:click="InvertContrast()">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
446 <i class="fa fa-adjust"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
447 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
448 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
449
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
450 <div class="ng-scope inline-object">
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
451 <button class="wvButton--underline text-center"
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
452 data-toggle="tooltip" data-title="Change windowing"
1681
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
453 id="windowing-popover"
1682
84fe7089ccaa switch to server-side transcoding on failed decoding (for jpeg2k)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1681
diff changeset
454 v-bind:class="{ 'active' : showWindowing }"
1681
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
455 v-on:click="ToggleWindowing()">
1555
b894072b9e2f static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1554
diff changeset
456 <i class="fa fa-sun"></i>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
457 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
458 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
459
1681
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
460 <div id="windowing-content" v-show="showWindowing"
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
461 class="popover wvToolbar__windowingPresetConfigPopover"
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
462 style="position: absolute; display: block"
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
463 >
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
464 <div class="arrow"></div>
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
465 <h3 class="popover-title">Change windowing</h3>
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
466 <div class="popover-content">
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
467
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
468 <!--p class="wvToolbar__windowingPresetConfigNotice">
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
469 Click on the button to toggle the windowing tool or apply a preset to the selected viewport.
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
470 </p-->
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
471
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
472 <ul class="wvToolbar__windowingPresetList">
1699
0598c87e1e88 "WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1698
diff changeset
473 <li v-for="preset in windowingPresets"
0598c87e1e88 "WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1698
diff changeset
474 class="wvToolbar__windowingPresetListItem">
1681
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
475 <a href="#" v-on:click="SetWindowing(preset.center, preset.width)">
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
476 {{ preset.name }} <small>({{ preset.info }})</small>
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
477 </a>
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
478 </li>
2030
f36de3ba43c8 added button "Stretch to whole range" in the "Change windowing" menu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2023
diff changeset
479 <li class="wvToolbar__windowingPresetListItem">
f36de3ba43c8 added button "Stretch to whole range" in the "Change windowing" menu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2023
diff changeset
480 <a href="#" v-on:click="StretchWindowing()">
f36de3ba43c8 added button "Stretch to whole range" in the "Change windowing" menu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2023
diff changeset
481 Stretch to whole range
f36de3ba43c8 added button "Stretch to whole range" in the "Change windowing" menu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2023
diff changeset
482 </a>
f36de3ba43c8 added button "Stretch to whole range" in the "Change windowing" menu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2023
diff changeset
483 </li>
1699
0598c87e1e88 "WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1698
diff changeset
484 <li v-for="preset in globalConfiguration.WindowingPresets"
0598c87e1e88 "WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1698
diff changeset
485 class="wvToolbar__windowingPresetListItem">
0598c87e1e88 "WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1698
diff changeset
486 <a href="#" v-on:click="SetWindowing(preset.WindowCenter, preset.WindowWidth)">
0598c87e1e88 "WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1698
diff changeset
487 {{ preset.Name }}
0598c87e1e88 "WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1698
diff changeset
488 <small>
0598c87e1e88 "WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1698
diff changeset
489 (C {{preset.WindowCenter}}, W {{preset.WindowWidth}})
0598c87e1e88 "WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1698
diff changeset
490 </small>
1681
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
491 </a>
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
492 </li>
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
493 </ul>
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
494 </div>
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
495 </div>
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
496
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
497 <div class="ng-scope inline-object">
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
498 <button class="wvButton--underline text-center"
1993
317a53d4fdc6 added magnifying glass
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1989
diff changeset
499 data-toggle="tooltip" data-title="Magnifying glass"
317a53d4fdc6 added magnifying glass
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1989
diff changeset
500 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_MAGNIFYING_GLASS }"
317a53d4fdc6 added magnifying glass
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1989
diff changeset
501 v-on:click="SetMouseButtonActions(MOUSE_TOOL_MAGNIFYING_GLASS, stone.WebViewerAction.MAGNIFYING_GLASS, stone.WebViewerAction.PAN, stone.WebViewerAction.ZOOM)">
317a53d4fdc6 added magnifying glass
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1989
diff changeset
502 <i class="fas fa-search-plus"></i>
317a53d4fdc6 added magnifying glass
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1989
diff changeset
503 </button>
317a53d4fdc6 added magnifying glass
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1989
diff changeset
504 </div>
317a53d4fdc6 added magnifying glass
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1989
diff changeset
505
317a53d4fdc6 added magnifying glass
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1989
diff changeset
506 <div class="ng-scope inline-object">
317a53d4fdc6 added magnifying glass
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1989
diff changeset
507 <button class="wvButton--underline text-center"
1989
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
508 data-toggle="tooltip" data-title="Rotate to the left"
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
509 v-on:click="RotateLeft()">
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
510 <i class="fas fa-undo"></i>
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
511 </button>
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
512 </div>
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
513
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
514 <div class="ng-scope inline-object">
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
515 <button class="wvButton--underline text-center"
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
516 data-toggle="tooltip" data-title="Rotate to the right"
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
517 v-on:click="RotateRight()">
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
518 <i class="fas fa-undo fa-flip-horizontal"></i>
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
519 </button>
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
520 </div>
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
521
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
522 <div class="ng-scope inline-object">
e8b9a2ba1df1 Added left/right rotation buttons
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1982
diff changeset
523 <button class="wvButton--underline text-center"
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
524 data-toggle="tooltip" data-title="Flip horizontally"
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
525 v-on:click="FlipX()">
1555
b894072b9e2f static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1554
diff changeset
526 <i class="fas fa-exchange-alt"></i>
1554
6d14ed6163b1 flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1553
diff changeset
527 </button>
6d14ed6163b1 flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1553
diff changeset
528 </div>
6d14ed6163b1 flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1553
diff changeset
529
6d14ed6163b1 flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1553
diff changeset
530 <div class="ng-scope inline-object">
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
531 <button class="wvButton--underline text-center"
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
532 data-toggle="tooltip" data-title="Flip vertically"
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
533 v-on:click="FlipY()">
1555
b894072b9e2f static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1554
diff changeset
534 <i class="fas fa-exchange-alt fa-rotate-90"></i>
1554
6d14ed6163b1 flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1553
diff changeset
535 </button>
6d14ed6163b1 flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1553
diff changeset
536 </div>
6d14ed6163b1 flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1553
diff changeset
537
1809
79a5838739a6 starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1808
diff changeset
538
79a5838739a6 starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1808
diff changeset
539 <div class="ng-scope inline-object">
2010
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
540 <div class="tbGroup">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
541 <div class="tbGroup__toggl">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
542 <button class="wvButton"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
543 v-bind:class="{ 'wvButton--underline' : !annotationActionsVisible, 'wvButton--border' : annotationActionsVisible }"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
544 data-toggle="tooltip" data-title="Annotations"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
545 @click="viewportLayoutButtonsVisible=false;mouseActionsVisible=false;annotationActionsVisible = !annotationActionsVisible;HideAllTooltips()">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
546 <i class="fas fa-pencil-ruler"></i>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
547 </button>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
548 </div>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
549
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
550 <div class="tbGroup__buttons--bottom" v-show="annotationActionsVisible">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
551 <div class="ng-scope inline-object">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
552 <button class="wvButton--underline text-center"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
553 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CREATE_LENGTH }"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
554 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_CREATE_LENGTH, stone.WebViewerAction.CREATE_LENGTH)"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
555 data-toggle="tooltip" data-title="Measure length">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
556 <i class="fas fa-ruler"></i>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
557 </button>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
558 </div>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
559
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
560 <div class="ng-scope inline-object">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
561 <button class="wvButton--underline text-center"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
562 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CREATE_ANGLE }"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
563 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_CREATE_ANGLE, stone.WebViewerAction.CREATE_ANGLE)"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
564 data-toggle="tooltip" data-title="Measure angle">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
565 <i class="fas fa-drafting-compass"></i>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
566 </button>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
567 </div>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
568
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
569 <div class="ng-scope inline-object">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
570 <button class="wvButton--underline text-center"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
571 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CREATE_CIRCLE }"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
572 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_CREATE_CIRCLE, stone.WebViewerAction.CREATE_CIRCLE)"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
573 data-toggle="tooltip" data-title="Measure circle">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
574 <i class="far fa-circle"></i>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
575 </button>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
576 </div>
1809
79a5838739a6 starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1808
diff changeset
577
2010
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
578 <div class="ng-scope inline-object">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
579 <button class="wvButton--underline text-center"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
580 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CREATE_PIXEL_PROBE }"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
581 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_CREATE_PIXEL_PROBE, stone.WebViewerAction.CREATE_PIXEL_PROBE)"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
582 data-toggle="tooltip" data-title="Pixel probe">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
583 <i class="fas fa-microscope"></i>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
584 </button>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
585 </div>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
586
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
587 <div class="ng-scope inline-object">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
588 <button class="wvButton--underline text-center"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
589 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CREATE_RECTANGLE_PROBE }"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
590 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_CREATE_RECTANGLE_PROBE, stone.WebViewerAction.CREATE_RECTANGLE_PROBE)"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
591 data-toggle="tooltip" data-title="Rectangle probe">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
592 <i class="fas fa-plus-square"></i>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
593 </button>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
594 </div>
1809
79a5838739a6 starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1808
diff changeset
595
2010
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
596 <div class="ng-scope inline-object">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
597 <button class="wvButton--underline text-center"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
598 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CREATE_ELLIPSE_PROBE }"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
599 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_CREATE_ELLIPSE_PROBE, stone.WebViewerAction.CREATE_ELLIPSE_PROBE)"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
600 data-toggle="tooltip" data-title="Ellipse probe">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
601 <i class="fas fa-plus-circle"></i>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
602 </button>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
603 </div>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
604
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
605 <div class="ng-scope inline-object">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
606 <button class="wvButton--underline text-center"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
607 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CREATE_TEXT_ANNOTATION }"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
608 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_CREATE_TEXT_ANNOTATION, stone.WebViewerAction.CREATE_TEXT_ANNOTATION)"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
609 data-toggle="tooltip" data-title="Add text annotation">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
610 <i class="fas fa-comment-dots"></i>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
611 </button>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
612 </div>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
613
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
614 <div class="ng-scope inline-object">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
615 <button class="wvButton--underline text-center"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
616 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_REMOVE_MEASURE }"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
617 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_REMOVE_MEASURE, stone.WebViewerAction.REMOVE_MEASURE)"
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
618 data-toggle="tooltip" data-title="Delete annotation">
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
619 <i class="fas fa-trash"></i>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
620 </button>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
621 </div>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
622 </div>
25d269c7b753 grouping annotations into one submenu for narrow screens
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1998
diff changeset
623 </div>
1982
ba45e1b0812a preparing interfaces for rectangle probe, ellipse probe and text annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1980
diff changeset
624 </div>
ba45e1b0812a preparing interfaces for rectangle probe, ellipse probe and text annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1980
diff changeset
625
1815
b81775f1b196 New tools for annotations: segment length, circle, angle and eraser
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1809
diff changeset
626
b81775f1b196 New tools for annotations: segment length, circle, angle and eraser
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1809
diff changeset
627 <div class="ng-scope inline-object">
b81775f1b196 New tools for annotations: segment length, circle, angle and eraser
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1809
diff changeset
628 <button class="wvButton--underline text-center"
1693
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
629 data-toggle="tooltip" data-title="Synchronized browsing"
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
630 v-bind:class="{ 'active' : synchronizedBrowsing }"
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
631 v-on:click="synchronizedBrowsing = !synchronizedBrowsing">
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
632 <i class="fa fa-link"></i>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
633 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
634 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
635
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
636 <div class="ng-scope inline-object">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
637 <button class="wvButton--underline text-center"
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
638 data-toggle="tooltip" data-title="Reference lines"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
639 v-bind:class="{ 'active' : showReferenceLines }"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
640 v-on:click="showReferenceLines = !showReferenceLines">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
641 <i class="fa fa-bars"></i>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
642 </button>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
643 </div>
1552
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
644
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
645 <div class="ng-scope inline-object">
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
646 <button class="wvButton--underline text-center"
1693
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
647 data-toggle="tooltip" data-title="Show image information"
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
648 v-bind:class="{ 'active' : showInfo }"
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
649 v-on:click="showInfo = !showInfo">
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
650 <i class="fa fa-info-circle"></i>
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
651 </button>
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
652 </div>
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
653
1694
7226b68e2742 print button
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1693
diff changeset
654
1697
c2802561d7f9 "PrintEnabled" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1694
diff changeset
655 <div class="ng-scope inline-object" v-if="globalConfiguration.PrintEnabled">
1694
7226b68e2742 print button
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1693
diff changeset
656 <button class="wvButton--underline text-center"
7226b68e2742 print button
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1693
diff changeset
657 data-toggle="tooltip" data-title="Print"
7226b68e2742 print button
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1693
diff changeset
658 onclick="window.print()">
7226b68e2742 print button
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1693
diff changeset
659 <i class="fas fa-print"></i>
7226b68e2742 print button
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1693
diff changeset
660 </button>
7226b68e2742 print button
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1693
diff changeset
661 </div>
7226b68e2742 print button
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1693
diff changeset
662
1701
b5a8bf32d969 new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1699
diff changeset
663 <div class="ng-scope inline-object" v-if="globalConfiguration.DownloadAsJpegEnabled">
b5a8bf32d969 new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1699
diff changeset
664 <button class="wvButton--underline text-center"
b5a8bf32d969 new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1699
diff changeset
665 data-toggle="tooltip" data-title="Download as JPEG"
b5a8bf32d969 new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1699
diff changeset
666 v-on:click="DownloadJpeg()">
b5a8bf32d969 new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1699
diff changeset
667 <i class="fas fa-file-download"></i>
b5a8bf32d969 new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1699
diff changeset
668 </button>
b5a8bf32d969 new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1699
diff changeset
669 </div>
b5a8bf32d969 new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1699
diff changeset
670
1958
142c7ee8fe1f added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1949
diff changeset
671 <div class="ng-scope inline-object" v-if="globalConfiguration.ShowUserPreferencesButton">
1693
eafb10992e73 synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1689
diff changeset
672 <button class="wvButton--underline text-center"
1561
cf652990abb1 tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1556
diff changeset
673 data-toggle="tooltip" data-title="User preferences"
1552
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
674 v-on:click="modalPreferences = true">
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
675 <i class="fa fa-user"></i>
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
676 </button>
a4d82f1bcb10 user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1538
diff changeset
677 </div>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
678 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
679
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
680
1563
e0045462a25c cont print
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1562
diff changeset
681 <div class="wvLayout__splitpane--toolbarAtTop wvPrintFullPage">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
682 <div id="viewport" class="wvSplitpane">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
683 <viewport v-on:updated-series="SetViewportSeries(1, $event)"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
684 v-on:selected-viewport="activeViewport=1"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
685 v-show="viewport1Visible"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
686 canvas-id="canvas1"
1704
902d13889ae4 LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1703
diff changeset
687 v-bind:content="viewport1Content"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
688 v-bind:left="viewport1Left"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
689 v-bind:top="viewport1Top"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
690 v-bind:width="viewport1Width"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
691 v-bind:height="viewport1Height"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
692 v-bind:show-info="showInfo"
1710
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
693 v-bind:global-configuration="globalConfiguration"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
694 v-bind:active="activeViewport==1"></viewport>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
695 <viewport v-on:updated-series="SetViewportSeries(2, $event)"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
696 v-on:selected-viewport="activeViewport=2"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
697 v-show="viewport2Visible"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
698 canvas-id="canvas2"
1704
902d13889ae4 LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1703
diff changeset
699 v-bind:content="viewport2Content"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
700 v-bind:left="viewport2Left"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
701 v-bind:top="viewport2Top"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
702 v-bind:width="viewport2Width"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
703 v-bind:height="viewport2Height"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
704 v-bind:show-info="showInfo"
1710
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
705 v-bind:global-configuration="globalConfiguration"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
706 v-bind:active="activeViewport==2"></viewport>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
707 <viewport v-on:updated-series="SetViewportSeries(3, $event)"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
708 v-on:selected-viewport="activeViewport=3"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
709 v-show="viewport3Visible"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
710 canvas-id="canvas3"
1704
902d13889ae4 LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1703
diff changeset
711 v-bind:content="viewport3Content"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
712 v-bind:left="viewport3Left"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
713 v-bind:top="viewport3Top"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
714 v-bind:width="viewport3Width"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
715 v-bind:height="viewport3Height"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
716 v-bind:show-info="showInfo"
1710
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
717 v-bind:global-configuration="globalConfiguration"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
718 v-bind:active="activeViewport==3"></viewport>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
719 <viewport v-on:updated-series="SetViewportSeries(4, $event)"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
720 v-on:selected-viewport="activeViewport=4"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
721 v-show="viewport4Visible"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
722 canvas-id="canvas4"
1704
902d13889ae4 LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1703
diff changeset
723 v-bind:content="viewport4Content"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
724 v-bind:left="viewport4Left"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
725 v-bind:top="viewport4Top"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
726 v-bind:width="viewport4Width"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
727 v-bind:height="viewport4Height"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
728 v-bind:show-info="showInfo"
1710
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
729 v-bind:global-configuration="globalConfiguration"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
730 v-bind:active="activeViewport==4"></viewport>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
731 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
732 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
733 </div>
1681
f2e8b3ac1dcd handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1677
diff changeset
734 </div>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
735 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
736
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
737
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
738 <script type="text/x-template" id="viewport-template">
1657
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
739 <div v-bind:id="canvasId + '-container'"
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
740 v-bind:style="{ padding:'2px',
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
741 position:'absolute',
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
742 left: left,
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
743 top: top,
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
744 width: width,
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
745 height: height }">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
746 <div v-bind:class="{ 'wvSplitpane__cellBorder--selected' : active,
1705
3d62634d442f multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1704
diff changeset
747 'wvSplitpane__cellBorder' : content.series.color == '',
3d62634d442f multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1704
diff changeset
748 'wvSplitpane__cellBorder--blue' : content.series.color == 'blue',
3d62634d442f multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1704
diff changeset
749 'wvSplitpane__cellBorder--red' : content.series.color == 'red',
3d62634d442f multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1704
diff changeset
750 'wvSplitpane__cellBorder--green' : content.series.color == 'green',
3d62634d442f multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1704
diff changeset
751 'wvSplitpane__cellBorder--yellow' : content.series.color == 'yellow',
3d62634d442f multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1704
diff changeset
752 'wvSplitpane__cellBorder--violet' : content.series.color == 'violet'
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
753 }"
1966
a5f0b395d4df Fix issues with drag-and-drop, upgraded Vue.js to 2.6.4
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1958
diff changeset
754 v-on:dragenter="$event.preventDefault()"
a5f0b395d4df Fix issues with drag-and-drop, upgraded Vue.js to 2.6.4
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1958
diff changeset
755 v-on:dragover="$event.preventDefault()"
1703
76c590a62755 start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1701
diff changeset
756 v-on:drop="DragDrop($event)"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
757 style="width:100%;height:100%">
1563
e0045462a25c cont print
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1562
diff changeset
758 <div class="wvSplitpane__cell"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
759 v-on:click="MakeActive()">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
760 <div v-show="status == 'ready'"
1575
e4a52cbbdd70 working on print
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1563
diff changeset
761 style="position:absolute; left:0; top:0; width:100%; height:100%;">
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
762 <!--div style="width: 100%; height: 100%; background-color: red"></div-->
1657
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
763 <canvas v-bind:id="canvasId" class="viewport-canvas"
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
764 style="position:absolute; left:0; top:0; width:100%; height:100%"
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
765 oncontextmenu="return false"></canvas>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
766
1672
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
767 <div v-show="showInfo">
1967
b180233143ae Added vertical slider showing position of the current frame inside the series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1966
diff changeset
768 <div v-if="numberOfFrames > 1" class="wvVerticalScrollbar"
2014
a7b5cb068fb8 click-drag is available on the vertical slider
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2013
diff changeset
769 v-on:mousedown="ClickVerticalScrollbar($event)">
1967
b180233143ae Added vertical slider showing position of the current frame inside the series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1966
diff changeset
770 <div class="wvVerticalScrollbarHighlight"
b180233143ae Added vertical slider showing position of the current frame inside the series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1966
diff changeset
771 v-bind:style="{ top: (currentFrame / (numberOfFrames - 1) * 95.0) + '%' }">
b180233143ae Added vertical slider showing position of the current frame inside the series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1966
diff changeset
772 </div>
b180233143ae Added vertical slider showing position of the current frame inside the series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1966
diff changeset
773 </div>
b180233143ae Added vertical slider showing position of the current frame inside the series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1966
diff changeset
774
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
775 <div class="wv-overlay">
1705
3d62634d442f multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1704
diff changeset
776 <div v-if="'tags' in content.series" class="wv-overlay-topleft">
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
777 {{ content.series.tags[PATIENT_NAME] }}<br/>
1807
634ff8993f6a Stone Web viewer: Patient birth date is now displayed in the overlays
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1720
diff changeset
778 {{ content.series.tags[PATIENT_ID] }}<br/>
2015
d0e68dd335dd patient sex is displayed in the top-left information panel
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2014
diff changeset
779 {{ app.FormatDate(content.series.tags[PATIENT_BIRTH_DATE]) }} -
d0e68dd335dd patient sex is displayed in the top-left information panel
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2014
diff changeset
780 {{ content.series.tags[PATIENT_SEX] }}
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
781 </div>
1967
b180233143ae Added vertical slider showing position of the current frame inside the series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1966
diff changeset
782 <div v-if="'tags' in content.series" class="wv-overlay-topright"
b180233143ae Added vertical slider showing position of the current frame inside the series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1966
diff changeset
783 v-bind:class="{ 'wvInfoRightMargin' : numberOfFrames > 1 }">
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
784 {{ content.series.tags[STUDY_DESCRIPTION] }}<br/>
1859
58681a5c727b overlay: display ContentDate/ContentTime instead of StudyDate if available + new 'TimeFormat' option
Alain Mazy <am@osimis.io>
parents: 1854
diff changeset
785 <span v-if="contentDate !== undefined && contentDate != ''">{{ app.FormatDate(contentDate) }} <span v-show="contentTime != ''">{{ app.FormatTime(contentTime) }}</span><br/></span>
58681a5c727b overlay: display ContentDate/ContentTime instead of StudyDate if available + new 'TimeFormat' option
Alain Mazy <am@osimis.io>
parents: 1854
diff changeset
786 <span v-else="contentDate === undefined || contentDate == ''">{{ app.FormatDate(content.series.tags[STUDY_DATE]) }}<br/></span>
1709
2931f5e15320 download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1705
diff changeset
787 {{ content.series.tags[SERIES_NUMBER] }} | {{ content.series.tags[SERIES_DESCRIPTION] }}
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
788 </div>
1720
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
789 <div class="wv-overlay-bottomleft wvPrintExclude" style="bottom: 0px">
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
790 <div v-show="instanceNumber != 0" style="padding-bottom: 1em">
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
791 Instance number: {{ instanceNumber }}
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
792 </div>
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
793 <span v-show="numberOfFrames != 0">
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
794 <div style="width: 12em;" v-show="cineControls">
1672
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
795 <label>
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
796 Frame rate
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
797 <span class="wv-play-button-config-framerate-wrapper">
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
798 <input type="range" min="1" max="60" v-model="cineFramesPerSecond"
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
799 class="wv-play-button-config-framerate">
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
800 </span>
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
801 {{ cineFramesPerSecond }} fps
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
802 </label>
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
803 </div>
1719
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
804 <div class="btn-group btn-group-sm" role="group">
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
805 <button class="btn btn-primary" @click="stone.GoToFirstFrame(canvasId)">
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
806 <i class="fas fa-fast-backward"></i>
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
807 </button>
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
808 <button class="btn btn-primary" @click="DecrementFrame()">
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
809 <i class="fas fa-step-backward"></i>
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
810 </button>
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
811 </div>
1720
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
812 <span data-toggle="tooltip" data-title="Current frame number">
1968
ed5a0b9183dc The text field with the instance number is editable to go to a specific instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1967
diff changeset
813 &nbsp;&nbsp;
ed5a0b9183dc The text field with the instance number is editable to go to a specific instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1967
diff changeset
814 <input type="text" v-model="currentFrameFromUser" class="wvInputInstanceNumber"> / {{ numberOfFrames }}
ed5a0b9183dc The text field with the instance number is editable to go to a specific instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1967
diff changeset
815 &nbsp;&nbsp;
1720
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
816 </span>
1719
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
817 <div class="btn-group btn-group-sm" role="group">
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
818 <button class="btn btn-primary" @click="IncrementFrame()">
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
819 <i class="fas fa-step-forward"></i>
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
820 </button>
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
821 <button class="btn btn-primary" @click="stone.GoToLastFrame(canvasId)">
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
822 <i class="fas fa-fast-forward"></i>
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
823 </button>
9a1f79d21a3f added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1712
diff changeset
824 </div>
1672
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
825 <div class="btn-group btn-group-sm" role="group">
2019
fe9999d6a636 handling of left, right, and space keys
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2015
diff changeset
826 <button type="button" class="btn btn-primary" @click="CineBackward()">
1672
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
827 <i class="fas fa-play fa-flip-horizontal"></i>
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
828 </button>
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
829 <button type="button" class="btn btn-primary" @click="CinePause()">
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
830 <i class="fas fa-pause"></i>
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
831 </button>
2019
fe9999d6a636 handling of left, right, and space keys
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2015
diff changeset
832 <button type="button" class="btn btn-primary" @click="CinePlay()">
1672
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
833 <i class="fas fa-play"></i>
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
834 </button>
570398585b5f start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1662
diff changeset
835 </div>
1720
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
836 </span>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
837 </div>
1967
b180233143ae Added vertical slider showing position of the current frame inside the series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1966
diff changeset
838 <div class="wv-overlay-bottomright wvPrintExclude" style="bottom: 0px"
b180233143ae Added vertical slider showing position of the current frame inside the series
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1966
diff changeset
839 v-bind:class="{ 'wvInfoRightMargin' : numberOfFrames > 1 }">
1720
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
840 <div v-if="windowingWidth != 0">
1854
4026a458349d Fix values reported in "ww/wc" info panel (windowing width and center)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1849
diff changeset
841 ww/wc: {{ windowingWidth }} / {{ windowingCenter }}
1720
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
842 </div>
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
843 <div style="padding-top: 0.5em">
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
844 <div v-show="quality == stone.DisplayedFrameQuality.NONE"
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
845 style="display:inline-block;background-color:red;width:1em;height:1em" />
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
846 <div v-show="quality == stone.DisplayedFrameQuality.LOW"
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
847 style="display:inline-block;background-color:orange;width:1em;height:1em" />
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
848 <div v-show="quality == stone.DisplayedFrameQuality.HIGH"
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
849 style="display:inline-block;background-color:green;width:1em;height:1em" />
b8d19f53aaca display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1719
diff changeset
850 </div>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
851 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
852 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
853 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
854 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
855
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
856 <div v-if="status == 'waiting'" class="wvPaneOverlay">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
857 [ drop a series here ]
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
858 </div>
1652
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
859
1657
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
860 <!-- Don't use "v-if" here, otherwise the tooltips of the PDF viewer are not initialized -->
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
861 <div v-show="status == 'pdf'" >
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
862 <pdf-viewer v-bind:prefix="canvasId + '-pdf'" ref="pdfViewer"></pdf-viewer>
1652
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
863 </div>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
864
1661
e4589378ad8b warning message about unsupported videos
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1660
diff changeset
865 <div v-if="status == 'video'" class="wvPaneOverlay">
1710
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
866 <div v-if="!('OrthancApiRoot' in globalConfiguration) || videoUri.length == 0">
1712
fb57536fcc5f documentation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1710
diff changeset
867 [ cannot play videos using DICOMweb yet ]
1710
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
868 </div>
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
869 <div v-if="'OrthancApiRoot' in globalConfiguration && videoUri.length > 0">
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
870 <video class="wvVideo" autoplay="" loop="" controls="" preload="auto" type="video/mp4"
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
871 v-bind:src="videoUri">
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
872 </video>
673c163e1b3e playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1709
diff changeset
873 </div>
1661
e4589378ad8b warning message about unsupported videos
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1660
diff changeset
874 </div>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
875
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
876 <div v-if="status == 'loading'" class="wvPaneOverlay">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
877 <span class="wvLoadingSpinner">
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
878 <div class="bounce1"></div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
879 <div class="bounce2"></div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
880 <div class="bounce3"></div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
881 </span>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
882 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
883 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
884 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
885 </div>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
886 </script>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
887
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
888
1652
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
889 <script type="text/x-template" id="pdf-viewer">
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
890 <div style="position:absolute; left:0; top:0; width:100%; height:100%;">
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
891 <!-- "line-height: 0px" to fit height: https://stackoverflow.com/a/12616341/881731 -->
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
892 <div v-bind:id="prefix + '-container'"
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
893 style="position: absolute; left: 0; top: 0; width:100%;height:100%;overflow:auto;line-height: 0px;">
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
894 <canvas v-bind:id="prefix + '-canvas'"
1661
e4589378ad8b warning message about unsupported videos
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1660
diff changeset
895 style="position: absolute; top:0px; left:0px;"
1654
39137da83b0b fix print.js, no need for ua-parser.js anymore
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1652
diff changeset
896 oncontextmenu="return false"></canvas>
1652
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
897 </div>
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
898
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
899 <div class="wv-overlay">
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
900 <div class="wv-overlay-bottomleft wvPrintExclude">
1657
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
901 <button class="btn btn-primary" @click="FitWidth()"
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
902 data-toggle="tooltip" data-title="Fit page width">
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
903 <i class="fas fa-text-width"></i>
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
904 </button>
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
905 <button class="btn btn-primary" @click="FitHeight()"
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
906 data-toggle="tooltip" data-title="Fit page height">
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
907 <i class="fas fa-text-height"></i>
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
908 </button>
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
909 <button class="btn btn-primary" @click="ZoomIn()"
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
910 data-toggle="tooltip" data-title="Zoom in">
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
911 <i class="fas fa-search-plus"></i>
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
912 </button>
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
913 <button class="btn btn-primary" @click="ZoomOut()"
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
914 data-toggle="tooltip" data-title="Zoom out">
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
915 <i class="fas fa-search-minus"></i>
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
916 </button>
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
917 <button class="btn btn-primary" @click="PreviousPage()"
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
918 data-toggle="tooltip" data-title="Show previous page">
1652
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
919 <i class="fa fa-chevron-circle-left"></i>
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
920 </button>
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
921 &nbsp;&nbsp;{{currentPage}} / {{countPages}}&nbsp;&nbsp;
1657
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
922 <button class="btn btn-primary" @click="NextPage()"
66e5fcdf5597 pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1654
diff changeset
923 data-toggle="tooltip" data-title="Show next page">
1652
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
924 <i class="fa fa-chevron-circle-right"></i>
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
925 </button>
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
926 </div>
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
927 </div>
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
928 </div>
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
929 </script>
1555
b894072b9e2f static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1554
diff changeset
930 <script src="js/jquery-3.4.1.min.js"></script>
b894072b9e2f static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1554
diff changeset
931 <script src="js/bootstrap.min.js"></script>
b894072b9e2f static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1554
diff changeset
932 <script src="js/vue.min.js"></script>
b894072b9e2f static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1554
diff changeset
933 <script src="js/axios.min.js"></script>
1652
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
934 <script src="js/pdf.js"></script>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
935
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
936 <script src="stone.js"></script>
1652
fa9e6bf84958 integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1579
diff changeset
937 <script src="pdf-viewer.js"></script> <!-- Must be before inclusion of "app.js" -->
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
938 <script src="app.js"></script>
1562
2a4a6b967053 starting work on print
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1561
diff changeset
939 <script src="print.js"></script>
1495
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
940 </body>
fb74ed5d8c22 initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
941 </html>