Improving User Preferences dialog

This commit is contained in:
Bruno Alves de Faria committed 2017-09-28 08:16:23 -03:00
1 parent 44fa8f0e21
commit 06fe7f0da7
6 files changed
+10 -7

No files matched your search

@@ -6,8 +6,8 @@
<tr>
<th class="p-x-1 text-center">Preset</th>
<th class="p-x-1">Description</th>
<th class="p-x-1">Window Level (WL)</th>
<th class="p-x-1">Window Width (WW)</th>
<th class="p-x-1">Window</th>
<th class="p-x-1">Level</th>
</tr>
</thead>
<tbody>
@@ -15,8 +15,8 @@
{{#group base='baseTr' key=(concat @index)}}
<td class="p-x-1 text-center">{{sum @index 1}}</td>
<td class="p-x-1">{{>inputText key='id' value=presetInputInformation.id}}</td>
<td class="p-x-1">{{>inputText key='wc' value=(filterNaN presetInputInformation.wc) dataType='Number'}}</td>
<td class="p-x-1">{{>inputText key='ww' value=(filterNaN presetInputInformation.ww) dataType='Number'}}</td>
<td class="p-x-1">{{>inputText key='wc' value=(filterNaN presetInputInformation.wc) dataType='Number'}}</td>
{{/group}}
{{/each}}
</tbody>
@@ -15,7 +15,8 @@ Template.windowLevelPresetsForm.onCreated(() => {
resetDefaults() {
const dialogOptions = {
title: 'Reset Window Level Presets to Default',
class: 'themed',
title: 'Reset Window/Levels Presets',
message: 'Are you sure you want to reset all the window level presets to their defaults?'
};