Mercurial > hg > orthanc-stone
annotate Applications/StoneWebViewer/WebApplication/index.html @ 1824:a56bf4c534ef
display stone web viewer version in info panel
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 May 2021 21:07:13 +0200 |
parents | 5baaad557d58 |
children | 21ccc00839f7 |
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"> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
25 <a href="https://www.osimis.io" target="_blank"> |
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> |
a56bf4c534ef
display stone web viewer version in info panel
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1820
diff
changeset
|
38 Stone Web viewer: {{ stoneWebViewerVersion }} |
a56bf4c534ef
display stone web viewer version in info panel
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1820
diff
changeset
|
39 </p> |
1686
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
40 </div> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
41 <div class="wvInfoPopupForm"> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
42 <br> |
1689
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
43 <label>Show this information at startup |
1686
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
44 <input type="checkbox" style="margin-left: 20px" v-model="settingNotDiagnostic"> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
45 </label> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
46 <br><br> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
47 <div style="text-align: center;"> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
48 <button class="wvInfoPopupCloseButton" @click="modalNotDiagnostic = false"> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
49 Close |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
50 </button> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
51 </div> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
52 </div> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
53 </div> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
54 </div> |
59fc37c10cfa
nicer info message at startup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1682
diff
changeset
|
55 |
1689
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
56 <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
|
57 <div class="wvInfoPopup"> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
58 <div class="wvInfoPopupLogo"> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
59 <a href="https://www.osimis.io" target="_blank"> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
60 <img style="width: 340px;" src="img/orthanc.png"/> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
61 </a> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
62 </div> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
63 <div class="wvInfoPopupText"> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
64 <h3>Intended use</h3> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
65 <p> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
66 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
|
67 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
|
68 assurance. |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
69 </p> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
70 <h3>User preferences</h3> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
71 </div> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
72 <div class="wvInfoPopupForm"> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
73 <label>Warn about the intended use at startup |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
74 <input type="checkbox" style="margin-left: 20px" v-model="settingNotDiagnostic"> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
75 </label> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
76 <br> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
77 <label>Use software rendering (will reload the viewer) |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
78 <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
|
79 </label> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
80 <br><br> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
81 <div style="text-align: center;"> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
82 <button class="wvInfoPopupCloseButton" @click="ApplyPreferences()"> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
83 Apply |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
84 </button> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
85 </div> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
86 </div> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
87 </div> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
88 </div> |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
89 |
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
90 <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
|
91 <span class="wvLoadingSpinner"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
92 <div class="bounce1"></div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
93 <div class="bounce2"></div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
94 <div class="bounce3"></div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
95 </span> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
96 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
97 |
1689
fad38c4525f9
nicer modal for user preferences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1686
diff
changeset
|
98 <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
|
99 style="display: none"> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
100 |
1552
a4d82f1bcb10
user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1538
diff
changeset
|
101 <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
|
102 <div class="wvWarning-content clearfix"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
103 <span class="wvWarning-text"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
104 <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
|
105 <p class="mn mb10" style="color:#000"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
106 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
|
107 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
|
108 produce a diagnostic. |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
109 </p> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
110 </span> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
111 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
112 <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
|
113 <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
|
114 </div> |
a4d82f1bcb10
user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1538
diff
changeset
|
115 </div> |
a4d82f1bcb10
user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1538
diff
changeset
|
116 |
a4d82f1bcb10
user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1538
diff
changeset
|
117 |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
118 <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
|
119 <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
|
120 <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
|
121 @click="leftVisible = true"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
122 <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
|
123 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
124 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
125 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
126 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
127 |
1563 | 128 <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
|
129 v-bind:class="{ 'wvLayoutLeft--small': leftMode == 'small' }" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
130 > |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
131 <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
|
132 <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
|
133 @click="leftVisible = false"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
134 <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
|
135 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
136 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
137 <div class="wvLayoutLeft__content"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
138 <div class="wvLayoutLeft__contentTop"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
139 <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
|
140 <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
|
141 {{ getSelectedStudies }} |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
142 <span class="caret"></span> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
143 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
144 <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
|
145 <li v-for="study in studies" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
146 v-bind:class="{ active: study.selected }" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
147 @click="study.selected = !study.selected"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
148 <a> |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
149 {{ study.tags[STUDY_DESCRIPTION] }} |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
150 <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
|
151 [{{ FormatDate(study.tags[STUDY_DATE]) }}] |
1698
8805a6a01655
"DateFormat" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1697
diff
changeset
|
152 </small> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
153 <span v-if="study.selected"> <i class="fa fa-check"></i></span> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
154 </a> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
155 </li> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
156 </ul> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
157 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
158 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
159 <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
|
160 <i class="fa fa-th-list"></i> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
161 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
162 <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
|
163 <i class="fa fa-ellipsis-v"></i> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
164 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
165 <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
|
166 <i class="fa fa-th"></i> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
167 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
168 |
1552
a4d82f1bcb10
user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1538
diff
changeset
|
169 <!--p class="clear disclaimer mbn">For patients, teachers and researchers.</p--> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
170 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
171 <div class="wvLayoutLeft__contentMiddle"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
172 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
173 <div v-for="study in studies"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
174 <div v-if="study.selected"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
175 <div v-bind:class="'wvStudyIsland--' + study.color"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
176 <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
|
177 <!-- Actions --> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
178 <div class="wvStudyIsland__actions" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
179 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
|
180 <a class="wvButton" |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
181 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
|
182 <!-- download --> |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
183 <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
|
184 data-toggle="tooltip" data-title="Download the study" |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
185 @click="DownloadStudy(study.tags[STUDY_INSTANCE_UID])"></i> |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
186 <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
|
187 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
|
188 </a> |
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 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
191 <!-- Title --> |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
192 {{ study.tags[STUDY_DESCRIPTION] }} |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
193 <br/> |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
194 <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
|
195 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
196 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
197 <div class="wvStudyIsland__main"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
198 <ul class="wvSerieslist"> |
1703
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
199 |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
200 <!-- Series without multiple multiframe instances --> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
201 <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
|
202 <li class="wvSerieslist__seriesItem" |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
203 v-bind:class="{ highlighted : GetActiveSeries().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
|
204 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
|
205 v-on:click="ClickSeries(seriesIndex)" |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
206 v-if="series[seriesIndex].multiframeInstances === null"> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
207 <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
|
208 draggable="true" |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
209 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
|
210 > |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
211 <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
|
212 <img src="img/loading.gif" |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
213 style="vertical-align:baseline" |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
214 width="65px" height="65px" |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
215 /> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
216 </div> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
217 |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
218 <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
|
219 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
|
220 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
|
221 |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
222 <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
|
223 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
|
224 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
|
225 |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
226 <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
|
227 class="wvSerieslist__placeholderIcon" |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
228 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
|
229 <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
|
230 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
|
231 |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
232 <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
|
233 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
|
234 style="vertical-align:baseline" |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
235 width="65px" height="65px" |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
236 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
|
237 /> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
238 |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
239 <div v-bind:class="'wvSerieslist__badge--' + study.color" |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
240 v-if="series[seriesIndex].numberOfFrames != 0">{{ series[seriesIndex].numberOfFrames }}</div> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
241 </div> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
242 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
243 |
1703
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
244 <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
|
245 draggable="true" |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
246 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
|
247 v-on:click="ClickSeries(seriesIndex)"> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
248 <p class="wvSerieslist__label"> |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
249 [{{ series[seriesIndex].tags[MODALITY] }}] |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
250 {{ 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
|
251 </p> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
252 </div> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
253 </li> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
254 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
255 |
1703
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
256 <!-- 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
|
257 <li class="wvSerieslist__seriesItem" |
1705
3d62634d442f
multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1704
diff
changeset
|
258 v-bind:class="{ highlighted : GetActiveMultiframeInstances().includes(sopInstanceUid), 'wvSerieslist__seriesItem--list' : leftMode != 'grid', 'wvSerieslist__seriesItem--grid' : leftMode == 'grid' }" |
1704
902d13889ae4
LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1703
diff
changeset
|
259 v-for="(numberOfFrames, sopInstanceUid) in series[seriesIndex].multiframeInstances" |
902d13889ae4
LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1703
diff
changeset
|
260 v-on:dragstart="MultiframeInstanceDragStart($event, seriesIndex, sopInstanceUid)" |
902d13889ae4
LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1703
diff
changeset
|
261 v-on:click="ClickMultiframeInstance(seriesIndex, sopInstanceUid)"> |
1703
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
262 <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
|
263 draggable="true"> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
264 <img v-if="series[seriesIndex].type == stone.ThumbnailType.IMAGE" |
1703
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
265 v-bind:src="sopInstanceUid in multiframeInstanceThumbnails ? multiframeInstanceThumbnails[sopInstanceUid] : series[seriesIndex].thumbnail" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
266 style="vertical-align:baseline" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
267 width="65px" height="65px" |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
268 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
|
269 /> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
270 |
1703
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
271 <div v-bind:class="'wvSerieslist__badge--' + study.color"> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
272 {{ numberOfFrames }} |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
273 </div> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
274 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
275 |
1703
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
276 <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
|
277 draggable="true" |
1704
902d13889ae4
LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1703
diff
changeset
|
278 v-on:dragstart="MultiframeInstanceDragStart($event, seriesIndex, sopInstanceUid)" |
902d13889ae4
LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1703
diff
changeset
|
279 v-on:click="MultiframeInstanceDragStart($event, seriesIndex, sopInstanceUid)"> |
1703
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
280 <p class="wvSerieslist__label"> |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
281 [{{ series[seriesIndex].tags[MODALITY] }}] |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
282 {{ 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
|
283 </p> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
284 </div> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
285 </li> |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
286 |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
287 </span> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
288 </ul> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
289 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
290 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
291 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
292 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
293 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
294 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
295 <div class="wvLayoutLeft__contentBottom"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
296 </div> |
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 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
299 <div class="wvLayout__main" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
300 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
|
301 > |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
302 |
1662
0f161841f837
adding orthanc logo to the Stone viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1661
diff
changeset
|
303 <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
|
304 <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
|
305 <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
|
306 </a> |
0f161841f837
adding orthanc logo to the Stone viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1661
diff
changeset
|
307 </div> |
0f161841f837
adding orthanc logo to the Stone viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1661
diff
changeset
|
308 |
1563 | 309 <div class="wvToolbar wvToolbar--top wvPrintExclude"> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
310 <div class="ng-scope inline-object"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
311 <div class="tbGroup"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
312 <div class="tbGroup__toggl"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
313 <button class="wvButton" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
314 v-bind:class="{ 'wvButton--underline' : !viewportLayoutButtonsVisible }" |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
315 data-toggle="tooltip" data-title="Change layout" |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
316 @click="viewportLayoutButtonsVisible = !viewportLayoutButtonsVisible;HideAllTooltips()"> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
317 <i class="fa fa-th"></i> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
318 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
319 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
320 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
321 <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
|
322 <div class="inline-object"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
323 <button class="wvButton" @click="SetViewportLayout('1x1')"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
324 <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
|
325 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
326 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
327 <div class="inline-object"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
328 <button class="wvButton" @click="SetViewportLayout('2x1')"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
329 <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
|
330 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
331 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
332 <div class="inline-object"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
333 <button class="wvButton" @click="SetViewportLayout('1x2')"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
334 <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
|
335 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
336 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
337 <div class="inline-object"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
338 <button class="wvButton" @click="SetViewportLayout('2x2')"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
339 <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
|
340 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
341 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
342 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
343 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
344 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
345 |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
346 |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
347 <div class="ng-scope inline-object"> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
348 <div class="tbGroup"> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
349 <div class="tbGroup__toggl"> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
350 <button class="wvButton" |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
351 v-bind:class="{ 'wvButton--underline' : !mouseActionsVisible }" |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
352 data-toggle="tooltip" data-title="Mouse actions" |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
353 @click="mouseActionsVisible = !mouseActionsVisible;HideAllTooltips()"> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
354 <i class="fa fa-mouse-pointer"></i> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
355 </button> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
356 </div> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
357 |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
358 <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
|
359 <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
|
360 <button class="wvButton--underline" |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
361 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
|
362 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
|
363 @click="SetCombinedToolActions()"> |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
364 <i class="far fa-hand-point-up"></i> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
365 </button> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
366 </div> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
367 <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
|
368 <button class="wvButton--underline" |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
369 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
|
370 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
|
371 @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
|
372 <i class="fas fa-search"></i> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
373 </button> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
374 </div> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
375 <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
|
376 <button class="wvButton--underline" |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
377 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
|
378 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
|
379 @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
|
380 <i class="fas fa-arrows-alt"></i> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
381 </button> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
382 </div> |
1579
c476b0d5e59c
skeleton for cross-hair tool
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1575
diff
changeset
|
383 <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
|
384 <button class="wvButton--underline" |
1579
c476b0d5e59c
skeleton for cross-hair tool
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1575
diff
changeset
|
385 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
|
386 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
|
387 @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
|
388 <i class="fas fa-crosshairs"></i> |
c476b0d5e59c
skeleton for cross-hair tool
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1575
diff
changeset
|
389 </button> |
c476b0d5e59c
skeleton for cross-hair tool
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1575
diff
changeset
|
390 </div> |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
391 </div> |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
392 </div> |
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 |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
395 |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
396 |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
397 <!--div class="ng-scope inline-object"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
398 <button class="wvButton--underline text-center active"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
399 <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
|
400 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
401 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
402 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
403 <div class="ng-scope inline-object"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
404 <button class="wvButton--underline text-center"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
405 <i class="fa fa-search"></i> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
406 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
407 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
408 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
409 <div class="ng-scope inline-object"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
410 <button class="wvButton--underline text-center"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
411 <i class="fa fa-arrows"></i> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
412 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
413 </div--> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
414 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
415 <div class="ng-scope inline-object"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
416 <button class="wvButton--underline text-center" |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
417 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
|
418 v-on:click="InvertContrast()"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
419 <i class="fa fa-adjust"></i> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
420 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
421 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
422 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
423 <div class="ng-scope inline-object"> |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
424 <button class="wvButton--underline text-center" |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
425 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
|
426 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
|
427 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
|
428 v-on:click="ToggleWindowing()"> |
1555
b894072b9e2f
static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1554
diff
changeset
|
429 <i class="fa fa-sun"></i> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
430 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
431 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
432 |
1681
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
433 <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
|
434 class="popover wvToolbar__windowingPresetConfigPopover" |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
435 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
|
436 > |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
437 <div class="arrow"></div> |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
438 <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
|
439 <div class="popover-content"> |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
440 |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
441 <!--p class="wvToolbar__windowingPresetConfigNotice"> |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
442 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
|
443 </p--> |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
444 |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
445 <ul class="wvToolbar__windowingPresetList"> |
1699
0598c87e1e88
"WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1698
diff
changeset
|
446 <li v-for="preset in windowingPresets" |
0598c87e1e88
"WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1698
diff
changeset
|
447 class="wvToolbar__windowingPresetListItem"> |
1681
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
448 <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
|
449 {{ 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
|
450 </a> |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
451 </li> |
1699
0598c87e1e88
"WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1698
diff
changeset
|
452 <li v-for="preset in globalConfiguration.WindowingPresets" |
0598c87e1e88
"WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1698
diff
changeset
|
453 class="wvToolbar__windowingPresetListItem"> |
0598c87e1e88
"WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1698
diff
changeset
|
454 <a href="#" v-on:click="SetWindowing(preset.WindowCenter, preset.WindowWidth)"> |
0598c87e1e88
"WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1698
diff
changeset
|
455 {{ preset.Name }} |
0598c87e1e88
"WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1698
diff
changeset
|
456 <small> |
0598c87e1e88
"WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1698
diff
changeset
|
457 (C {{preset.WindowCenter}}, W {{preset.WindowWidth}}) |
0598c87e1e88
"WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1698
diff
changeset
|
458 </small> |
1681
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
459 </a> |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
460 </li> |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
461 </ul> |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
462 </div> |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
463 </div> |
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
464 |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
465 <div class="ng-scope inline-object"> |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
466 <button class="wvButton--underline text-center" |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
467 data-toggle="tooltip" data-title="Flip horizontally" |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
468 v-on:click="FlipX()"> |
1555
b894072b9e2f
static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1554
diff
changeset
|
469 <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
|
470 </button> |
6d14ed6163b1
flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1553
diff
changeset
|
471 </div> |
6d14ed6163b1
flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1553
diff
changeset
|
472 |
6d14ed6163b1
flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1553
diff
changeset
|
473 <div class="ng-scope inline-object"> |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
474 <button class="wvButton--underline text-center" |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
475 data-toggle="tooltip" data-title="Flip vertically" |
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
476 v-on:click="FlipY()"> |
1555
b894072b9e2f
static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1554
diff
changeset
|
477 <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
|
478 </button> |
6d14ed6163b1
flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1553
diff
changeset
|
479 </div> |
6d14ed6163b1
flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1553
diff
changeset
|
480 |
6d14ed6163b1
flip x/y in Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1553
diff
changeset
|
481 <div class="ng-scope inline-object"> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
482 <button class="wvButton--underline text-center" |
1820
5baaad557d58
don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1815
diff
changeset
|
483 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CREATE_SEGMENT }" |
5baaad557d58
don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1815
diff
changeset
|
484 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_CREATE_SEGMENT, stone.WebViewerAction.CREATE_SEGMENT)" |
1809
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
485 data-toggle="tooltip" data-title="Measure length"> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
486 <i class="fas fa-arrows-alt-h"></i> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
487 </button> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
488 </div> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
489 |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
490 <div class="ng-scope inline-object"> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
491 <button class="wvButton--underline text-center" |
1820
5baaad557d58
don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1815
diff
changeset
|
492 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CREATE_ANGLE }" |
5baaad557d58
don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1815
diff
changeset
|
493 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_CREATE_ANGLE, stone.WebViewerAction.CREATE_ANGLE)" |
1809
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
494 data-toggle="tooltip" data-title="Measure angle"> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
495 <i class="fas fa-angle-left fa-lg"></i> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
496 </button> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
497 </div> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
498 |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
499 <div class="ng-scope inline-object"> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
500 <button class="wvButton--underline text-center" |
1820
5baaad557d58
don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1815
diff
changeset
|
501 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_CREATE_CIRCLE }" |
5baaad557d58
don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1815
diff
changeset
|
502 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_CREATE_CIRCLE, stone.WebViewerAction.CREATE_CIRCLE)" |
1809
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
503 data-toggle="tooltip" data-title="Measure circle"> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
504 <i class="far fa-circle"></i> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
505 </button> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
506 </div> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
507 |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
508 <div class="ng-scope inline-object"> |
79a5838739a6
starting the integration of AnnotationsSceneLayer into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1808
diff
changeset
|
509 <button class="wvButton--underline text-center" |
1820
5baaad557d58
don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1815
diff
changeset
|
510 v-bind:class="{ 'active' : mouseTool == MOUSE_TOOL_REMOVE_MEASURE }" |
5baaad557d58
don't change mouse tool after creating an annotation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1815
diff
changeset
|
511 v-on:click="SetLeftMouseButtonAction(MOUSE_TOOL_REMOVE_MEASURE, stone.WebViewerAction.REMOVE_MEASURE)" |
1815
b81775f1b196
New tools for annotations: segment length, circle, angle and eraser
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1809
diff
changeset
|
512 data-toggle="tooltip" data-title="Delete measurement"> |
b81775f1b196
New tools for annotations: segment length, circle, angle and eraser
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1809
diff
changeset
|
513 <i class="fas fa-trash"></i> |
b81775f1b196
New tools for annotations: segment length, circle, angle and eraser
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1809
diff
changeset
|
514 </button> |
b81775f1b196
New tools for annotations: segment length, circle, angle and eraser
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1809
diff
changeset
|
515 </div> |
b81775f1b196
New tools for annotations: segment length, circle, angle and eraser
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1809
diff
changeset
|
516 |
b81775f1b196
New tools for annotations: segment length, circle, angle and eraser
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1809
diff
changeset
|
517 <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
|
518 <button class="wvButton--underline text-center" |
1693
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
519 data-toggle="tooltip" data-title="Synchronized browsing" |
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
520 v-bind:class="{ 'active' : synchronizedBrowsing }" |
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
521 v-on:click="synchronizedBrowsing = !synchronizedBrowsing"> |
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
522 <i class="fa fa-link"></i> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
523 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
524 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
525 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
526 <div class="ng-scope inline-object"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
527 <button class="wvButton--underline text-center" |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
528 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
|
529 v-bind:class="{ 'active' : showReferenceLines }" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
530 v-on:click="showReferenceLines = !showReferenceLines"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
531 <i class="fa fa-bars"></i> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
532 </button> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
533 </div> |
1552
a4d82f1bcb10
user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1538
diff
changeset
|
534 |
a4d82f1bcb10
user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1538
diff
changeset
|
535 <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
|
536 <button class="wvButton--underline text-center" |
1693
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
537 data-toggle="tooltip" data-title="Show image information" |
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
538 v-bind:class="{ 'active' : showInfo }" |
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
539 v-on:click="showInfo = !showInfo"> |
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
540 <i class="fa fa-info-circle"></i> |
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
541 </button> |
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
542 </div> |
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
543 |
1694 | 544 |
1697
c2802561d7f9
"PrintEnabled" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1694
diff
changeset
|
545 <div class="ng-scope inline-object" v-if="globalConfiguration.PrintEnabled"> |
1694 | 546 <button class="wvButton--underline text-center" |
547 data-toggle="tooltip" data-title="Print" | |
548 onclick="window.print()"> | |
549 <i class="fas fa-print"></i> | |
550 </button> | |
551 </div> | |
552 | |
1701
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
553 <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
|
554 <button class="wvButton--underline text-center" |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
555 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
|
556 v-on:click="DownloadJpeg()"> |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
557 <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
|
558 </button> |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
559 </div> |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
560 |
1693
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
561 <div class="ng-scope inline-object"> |
eafb10992e73
synchronized browsing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1689
diff
changeset
|
562 <button class="wvButton--underline text-center" |
1561
cf652990abb1
tunable mouse actions
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1556
diff
changeset
|
563 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
|
564 v-on:click="modalPreferences = true"> |
a4d82f1bcb10
user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1538
diff
changeset
|
565 <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
|
566 </button> |
a4d82f1bcb10
user preferences: not for diagnostic use, software rendering
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1538
diff
changeset
|
567 </div> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
568 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
569 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
570 |
1563 | 571 <div class="wvLayout__splitpane--toolbarAtTop wvPrintFullPage"> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
572 <div id="viewport" class="wvSplitpane"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
573 <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
|
574 v-on:selected-viewport="activeViewport=1" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
575 v-show="viewport1Visible" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
576 canvas-id="canvas1" |
1704
902d13889ae4
LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1703
diff
changeset
|
577 v-bind:content="viewport1Content" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
578 v-bind:left="viewport1Left" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
579 v-bind:top="viewport1Top" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
580 v-bind:width="viewport1Width" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
581 v-bind:height="viewport1Height" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
582 v-bind:show-info="showInfo" |
1710
673c163e1b3e
playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1709
diff
changeset
|
583 v-bind:global-configuration="globalConfiguration" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
584 v-bind:active="activeViewport==1"></viewport> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
585 <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
|
586 v-on:selected-viewport="activeViewport=2" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
587 v-show="viewport2Visible" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
588 canvas-id="canvas2" |
1704
902d13889ae4
LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1703
diff
changeset
|
589 v-bind:content="viewport2Content" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
590 v-bind:left="viewport2Left" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
591 v-bind:top="viewport2Top" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
592 v-bind:width="viewport2Width" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
593 v-bind:height="viewport2Height" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
594 v-bind:show-info="showInfo" |
1710
673c163e1b3e
playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1709
diff
changeset
|
595 v-bind:global-configuration="globalConfiguration" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
596 v-bind:active="activeViewport==2"></viewport> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
597 <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
|
598 v-on:selected-viewport="activeViewport=3" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
599 v-show="viewport3Visible" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
600 canvas-id="canvas3" |
1704
902d13889ae4
LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1703
diff
changeset
|
601 v-bind:content="viewport3Content" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
602 v-bind:left="viewport3Left" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
603 v-bind:top="viewport3Top" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
604 v-bind:width="viewport3Width" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
605 v-bind:height="viewport3Height" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
606 v-bind:show-info="showInfo" |
1710
673c163e1b3e
playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1709
diff
changeset
|
607 v-bind:global-configuration="globalConfiguration" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
608 v-bind:active="activeViewport==3"></viewport> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
609 <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
|
610 v-on:selected-viewport="activeViewport=4" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
611 v-show="viewport4Visible" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
612 canvas-id="canvas4" |
1704
902d13889ae4
LoadMultipartInstanceInViewport() in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1703
diff
changeset
|
613 v-bind:content="viewport4Content" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
614 v-bind:left="viewport4Left" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
615 v-bind:top="viewport4Top" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
616 v-bind:width="viewport4Width" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
617 v-bind:height="viewport4Height" |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
618 v-bind:show-info="showInfo" |
1710
673c163e1b3e
playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1709
diff
changeset
|
619 v-bind:global-configuration="globalConfiguration" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
620 v-bind:active="activeViewport==4"></viewport> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
621 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
622 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
623 </div> |
1681
f2e8b3ac1dcd
handling multiple windowing presets in the Stone web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1677
diff
changeset
|
624 </div> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
625 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
626 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
627 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
628 <script type="text/x-template" id="viewport-template"> |
1657
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
629 <div v-bind:id="canvasId + '-container'" |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
630 v-bind:style="{ padding:'2px', |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
631 position:'absolute', |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
632 left: left, |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
633 top: top, |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
634 width: width, |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
635 height: height }"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
636 <div v-bind:class="{ 'wvSplitpane__cellBorder--selected' : active, |
1705
3d62634d442f
multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1704
diff
changeset
|
637 'wvSplitpane__cellBorder' : content.series.color == '', |
3d62634d442f
multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1704
diff
changeset
|
638 'wvSplitpane__cellBorder--blue' : content.series.color == 'blue', |
3d62634d442f
multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1704
diff
changeset
|
639 'wvSplitpane__cellBorder--red' : content.series.color == 'red', |
3d62634d442f
multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1704
diff
changeset
|
640 'wvSplitpane__cellBorder--green' : content.series.color == 'green', |
3d62634d442f
multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1704
diff
changeset
|
641 'wvSplitpane__cellBorder--yellow' : content.series.color == 'yellow', |
3d62634d442f
multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1704
diff
changeset
|
642 '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
|
643 }" |
1703
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
644 ondragover="event.preventDefault()" |
76c590a62755
start work on series with multiple multiframe instances
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
645 v-on:drop="DragDrop($event)" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
646 style="width:100%;height:100%"> |
1563 | 647 <div class="wvSplitpane__cell" |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
648 v-on:click="MakeActive()"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
649 <div v-show="status == 'ready'" |
1575 | 650 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
|
651 <!--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
|
652 <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
|
653 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
|
654 oncontextmenu="return false"></canvas> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
655 |
1672
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
656 <div v-show="showInfo"> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
657 <div class="wv-overlay"> |
1705
3d62634d442f
multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1704
diff
changeset
|
658 <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
|
659 {{ 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
|
660 {{ content.series.tags[PATIENT_ID] }}<br/> |
634ff8993f6a
Stone Web viewer: Patient birth date is now displayed in the overlays
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1720
diff
changeset
|
661 {{ app.FormatDate(content.series.tags[PATIENT_BIRTH_DATE]) }} |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
662 </div> |
1705
3d62634d442f
multiple multiframe is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1704
diff
changeset
|
663 <div v-if="'tags' in content.series" class="wv-overlay-topright"> |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
664 {{ content.series.tags[STUDY_DESCRIPTION] }}<br/> |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
665 {{ app.FormatDate(content.series.tags[STUDY_DATE]) }}<br/> |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1705
diff
changeset
|
666 {{ 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
|
667 </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
|
668 <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
|
669 <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
|
670 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
|
671 </div> |
b8d19f53aaca
display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1719
diff
changeset
|
672 <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
|
673 <div style="width: 12em;" v-show="cineControls"> |
1672
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
674 <label> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
675 Frame rate |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
676 <span class="wv-play-button-config-framerate-wrapper"> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
677 <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
|
678 class="wv-play-button-config-framerate"> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
679 </span> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
680 {{ cineFramesPerSecond }} fps |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
681 </label> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
682 </div> |
1719
9a1f79d21a3f
added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1712
diff
changeset
|
683 <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
|
684 <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
|
685 <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
|
686 </button> |
9a1f79d21a3f
added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1712
diff
changeset
|
687 <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
|
688 <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
|
689 </button> |
9a1f79d21a3f
added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1712
diff
changeset
|
690 </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
|
691 <span data-toggle="tooltip" data-title="Current frame number"> |
b8d19f53aaca
display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1719
diff
changeset
|
692 {{ currentFrame }} / {{ numberOfFrames }} |
b8d19f53aaca
display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1719
diff
changeset
|
693 </span> |
1719
9a1f79d21a3f
added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1712
diff
changeset
|
694 <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
|
695 <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
|
696 <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
|
697 </button> |
9a1f79d21a3f
added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1712
diff
changeset
|
698 <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
|
699 <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
|
700 </button> |
9a1f79d21a3f
added buttons to go to the first and last frames
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1712
diff
changeset
|
701 </div> |
1672
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
702 <div class="btn-group btn-group-sm" role="group"> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
703 <button type="button" class="btn btn-primary" @click="CinePlay()"> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
704 <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
|
705 </button> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
706 <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
|
707 <i class="fas fa-pause"></i> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
708 </button> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
709 <button type="button" class="btn btn-primary" @click="CineBackward()"> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
710 <i class="fas fa-play"></i> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
711 </button> |
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
712 </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
|
713 </span> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
714 </div> |
1672
570398585b5f
start support of cine sequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1662
diff
changeset
|
715 <div class="wv-overlay-bottomright wvPrintExclude" style="bottom: 0px"> |
1720
b8d19f53aaca
display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1719
diff
changeset
|
716 <div v-if="windowingWidth != 0"> |
b8d19f53aaca
display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1719
diff
changeset
|
717 ww/cc: {{ windowingCenter }} / {{ windowingWidth }} |
b8d19f53aaca
display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1719
diff
changeset
|
718 </div> |
b8d19f53aaca
display the instance number, and the wc/ww info (work-in-progress)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1719
diff
changeset
|
719 <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
|
720 <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
|
721 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
|
722 <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
|
723 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
|
724 <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
|
725 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
|
726 </div> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
727 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
728 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
729 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
730 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
731 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
732 <div v-if="status == 'waiting'" class="wvPaneOverlay"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
733 [ drop a series here ] |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
734 </div> |
1652
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
735 |
1657
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
736 <!-- 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
|
737 <div v-show="status == 'pdf'" > |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
738 <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
|
739 </div> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
740 |
1661
e4589378ad8b
warning message about unsupported videos
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1660
diff
changeset
|
741 <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
|
742 <div v-if="!('OrthancApiRoot' in globalConfiguration) || videoUri.length == 0"> |
1712 | 743 [ 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
|
744 </div> |
673c163e1b3e
playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1709
diff
changeset
|
745 <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
|
746 <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
|
747 v-bind:src="videoUri"> |
673c163e1b3e
playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1709
diff
changeset
|
748 </video> |
673c163e1b3e
playing videos if Orthanc is not available
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1709
diff
changeset
|
749 </div> |
1661
e4589378ad8b
warning message about unsupported videos
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1660
diff
changeset
|
750 </div> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
751 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
752 <div v-if="status == 'loading'" class="wvPaneOverlay"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
753 <span class="wvLoadingSpinner"> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
754 <div class="bounce1"></div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
755 <div class="bounce2"></div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
756 <div class="bounce3"></div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
757 </span> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
758 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
759 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
760 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
761 </div> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
762 </script> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
763 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
764 |
1652
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
765 <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
|
766 <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
|
767 <!-- "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
|
768 <div v-bind:id="prefix + '-container'" |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
769 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
|
770 <canvas v-bind:id="prefix + '-canvas'" |
1661
e4589378ad8b
warning message about unsupported videos
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1660
diff
changeset
|
771 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
|
772 oncontextmenu="return false"></canvas> |
1652
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
773 </div> |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
774 |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
775 <div class="wv-overlay"> |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
776 <div class="wv-overlay-bottomleft wvPrintExclude"> |
1657
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
777 <button class="btn btn-primary" @click="FitWidth()" |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
778 data-toggle="tooltip" data-title="Fit page width"> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
779 <i class="fas fa-text-width"></i> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
780 </button> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
781 <button class="btn btn-primary" @click="FitHeight()" |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
782 data-toggle="tooltip" data-title="Fit page height"> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
783 <i class="fas fa-text-height"></i> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
784 </button> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
785 <button class="btn btn-primary" @click="ZoomIn()" |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
786 data-toggle="tooltip" data-title="Zoom in"> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
787 <i class="fas fa-search-plus"></i> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
788 </button> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
789 <button class="btn btn-primary" @click="ZoomOut()" |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
790 data-toggle="tooltip" data-title="Zoom out"> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
791 <i class="fas fa-search-minus"></i> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
792 </button> |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
793 <button class="btn btn-primary" @click="PreviousPage()" |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
794 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
|
795 <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
|
796 </button> |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
797 {{currentPage}} / {{countPages}} |
1657
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
798 <button class="btn btn-primary" @click="NextPage()" |
66e5fcdf5597
pdf viewer is working
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1654
diff
changeset
|
799 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
|
800 <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
|
801 </button> |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
802 </div> |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
803 </div> |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
804 </div> |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
805 </script> |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
806 |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
807 |
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
808 |
1555
b894072b9e2f
static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1554
diff
changeset
|
809 <script src="js/jquery-3.4.1.min.js"></script> |
b894072b9e2f
static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1554
diff
changeset
|
810 <script src="js/bootstrap.min.js"></script> |
b894072b9e2f
static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1554
diff
changeset
|
811 <script src="js/vue.min.js"></script> |
b894072b9e2f
static JavaScript resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1554
diff
changeset
|
812 <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
|
813 <script src="js/pdf.js"></script> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
814 |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
815 <script src="stone.js"></script> |
1652
fa9e6bf84958
integrating pdf.js into Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1579
diff
changeset
|
816 <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
|
817 <script src="app.js"></script> |
1562
2a4a6b967053
starting work on print
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1561
diff
changeset
|
818 <script src="print.js"></script> |
1495
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
819 </body> |
fb74ed5d8c22
initial commit of the Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
820 </html> |