comparison Applications/StoneWebViewer/WebApplication/index.html @ 1958:142c7ee8fe1f

added configuration options: ShowInfoPanelAtStartup, ShowUserPreferencesButton, and ShowNotForDiagnosticUsageDisclaimer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 27 Oct 2022 14:53:09 +0200
parents d3ae6858e77b
children 2034ae383cfd a5f0b395d4df
comparison
equal deleted inserted replaced
1957:3f88c239043a 1958:142c7ee8fe1f
38 Stone Web viewer: {{ stoneWebViewerVersion }} <br/> 38 Stone Web viewer: {{ stoneWebViewerVersion }} <br/>
39 Emscripten compiler: {{ emscriptenVersion }} 39 Emscripten compiler: {{ emscriptenVersion }}
40 </p> 40 </p>
41 </div> 41 </div>
42 <div class="wvInfoPopupForm"> 42 <div class="wvInfoPopupForm">
43 <div v-if="globalConfiguration.ShowInfoPanelAtStartup == 'User'">
44 <br>
45 <label>Show this information at startup
46 <input type="checkbox" style="margin-left: 20px" v-model="settingNotDiagnostic">
47 </label>
48 <br>
49 </div>
43 <br> 50 <br>
44 <label>Show this information at startup
45 <input type="checkbox" style="margin-left: 20px" v-model="settingNotDiagnostic">
46 </label>
47 <br><br>
48 <div style="text-align: center;"> 51 <div style="text-align: center;">
49 <button class="wvInfoPopupCloseButton" @click="modalNotDiagnostic = false"> 52 <button class="wvInfoPopupCloseButton" @click="modalNotDiagnostic = false">
50 Close 53 Close
51 </button> 54 </button>
52 </div> 55 </div>
74 Emscripten compiler: {{ emscriptenVersion }} 77 Emscripten compiler: {{ emscriptenVersion }}
75 </p> 78 </p>
76 <h3>User preferences</h3> 79 <h3>User preferences</h3>
77 </div> 80 </div>
78 <div class="wvInfoPopupForm"> 81 <div class="wvInfoPopupForm">
79 <label>Warn about the intended use at startup 82 <div v-if="globalConfiguration.ShowInfoPanelAtStartup == 'User'">
80 <input type="checkbox" style="margin-left: 20px" v-model="settingNotDiagnostic"> 83 <label>Warn about the intended use at startup
81 </label> 84 <input type="checkbox" style="margin-left: 20px" v-model="settingNotDiagnostic">
82 <br> 85 </label>
86 <br>
87 </div>
83 <label>Use software rendering (will reload the viewer) 88 <label>Use software rendering (will reload the viewer)
84 <input type="checkbox" style="margin-left: 20px" v-model="settingSoftwareRendering"> 89 <input type="checkbox" style="margin-left: 20px" v-model="settingSoftwareRendering">
85 </label> 90 </label>
86 <br><br> 91 <br><br>
87 <div style="text-align: center;"> 92 <div style="text-align: center;">
170 </div> 175 </div>
171 <div class="float__right wvButton" v-if="leftMode == 'small'" @click="leftMode = 'grid'"> 176 <div class="float__right wvButton" v-if="leftMode == 'small'" @click="leftMode = 'grid'">
172 <i class="fa fa-th"></i> 177 <i class="fa fa-th"></i>
173 </div> 178 </div>
174 179
175 <!--p class="clear disclaimer mbn">For patients, teachers and researchers.</p--> 180 <p v-if="globalConfiguration.ShowNotForDiagnosticUsageDisclaimer" class="clear disclaimer mbn">
181 For patients, researchers and quality assurance. Not for diagnostic usage.
182 </p>
176 </div> 183 </div>
177 <div class="wvLayoutLeft__contentMiddle"> 184 <div class="wvLayoutLeft__contentMiddle">
178 185
179 <div v-for="study in studies"> 186 <div v-for="study in studies">
180 <div v-if="study.selected"> 187 <div v-if="study.selected">
570 v-on:click="DownloadJpeg()"> 577 v-on:click="DownloadJpeg()">
571 <i class="fas fa-file-download"></i> 578 <i class="fas fa-file-download"></i>
572 </button> 579 </button>
573 </div> 580 </div>
574 581
575 <div class="ng-scope inline-object"> 582 <div class="ng-scope inline-object" v-if="globalConfiguration.ShowUserPreferencesButton">
576 <button class="wvButton--underline text-center" 583 <button class="wvButton--underline text-center"
577 data-toggle="tooltip" data-title="User preferences" 584 data-toggle="tooltip" data-title="User preferences"
578 v-on:click="modalPreferences = true"> 585 v-on:click="modalPreferences = true">
579 <i class="fa fa-user"></i> 586 <i class="fa fa-user"></i>
580 </button> 587 </button>