Styling the Window W/L form

This commit is contained in:
Bruno Alves de Faria 2017-05-03 11:09:07 -03:00 committed by Erik Ziegler
parent e5d6b670f3
commit 6df48a1d2b

View File

@ -1,22 +1,22 @@
<template name="windowLevelPresetsForm"> <template name="windowLevelPresetsForm">
{{#form (extend this api=instance.api)}} {{#form (extend this api=instance.api)}}
<div class="form-content"> <div class="form-content">
<table> <table class="full-width">
<thead> <thead>
<tr> <tr>
<th>Preset</th> <th class="p-x-1 text-center">Preset</th>
<th>Description</th> <th class="p-x-1">Description</th>
<th>Window Level (WL)</th> <th class="p-x-1">Window Level (WL)</th>
<th>Window Width (WW)</th> <th class="p-x-1">Window Width (WW)</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{{#each presetInputInformation in getPresetsInputInformationList}} {{#each presetInputInformation in getPresetsInputInformationList}}
{{#group base='baseTr' key=(concat @index)}} {{#group base='baseTr' key=(concat @index)}}
<td>{{sum @index 1}}</td> <td class="p-x-1 text-center">{{sum @index 1}}</td>
<td>{{>inputText key='id' value=presetInputInformation.id}}</td> <td class="p-x-1">{{>inputText key='id' value=presetInputInformation.id}}</td>
<td>{{>inputText key='wc' value=(filterNaN presetInputInformation.wc) dataType='Number'}}</td> <td class="p-x-1">{{>inputText key='wc' value=(filterNaN presetInputInformation.wc) dataType='Number'}}</td>
<td>{{>inputText key='ww' value=(filterNaN presetInputInformation.ww) dataType='Number'}}</td> <td class="p-x-1">{{>inputText key='ww' value=(filterNaN presetInputInformation.ww) dataType='Number'}}</td>
{{/group}} {{/group}}
{{/each}} {{/each}}
</tbody> </tbody>