Some styling changes to lesion table
This commit is contained in:
parent
d07d794dcd
commit
90e677fc42
@ -4,14 +4,15 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="thNumber">Lesion #</th>
|
<th id="thNumber">Lesion #</th>
|
||||||
<th id="thTarget">Target</th>
|
|
||||||
<th id="thLocation">Location</th>
|
<th id="thLocation">Location</th>
|
||||||
|
<th id="thTarget">Target</th>
|
||||||
<!--Each time point name as a column-->
|
<!--Each time point name as a column-->
|
||||||
{{ #each tabTimepoints }}
|
{{ #each tabTimepoints }}
|
||||||
{{ #each timepoints }}
|
{{ #each timepoints }}
|
||||||
{{ >lesionTableTimepointHeader }}
|
{{ >lesionTableTimepointHeader }}
|
||||||
{{ /each }}
|
{{ /each }}
|
||||||
{{ /each }}
|
{{ /each }}
|
||||||
|
<th id="thSpacer"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
@ -32,7 +32,7 @@ Template.lesionTable.onRendered(function() {
|
|||||||
var timepointID = contentId.toString() + i.toString();
|
var timepointID = contentId.toString() + i.toString();
|
||||||
var timepointName = "Baseline";
|
var timepointName = "Baseline";
|
||||||
if (i > 0) {
|
if (i > 0) {
|
||||||
timepointName = "Follow Up "+i;
|
timepointName = "Current"; //"Follow Up "+i;
|
||||||
}
|
}
|
||||||
var timepointObject = {timepointID: timepointID, timepointName: timepointName};
|
var timepointObject = {timepointID: timepointID, timepointName: timepointName};
|
||||||
timepointsArray.push(timepointObject);
|
timepointsArray.push(timepointObject);
|
||||||
|
|||||||
@ -24,7 +24,7 @@ table.lesionTable > tbody > tr > td {
|
|||||||
padding: 4px;
|
padding: 4px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
line-height: 15px;
|
line-height: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.lesionTable tbody tr:hover{
|
table.lesionTable tbody tr:hover{
|
||||||
@ -37,6 +37,39 @@ table.lesionTable tbody tr{
|
|||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
th#thNumber {
|
||||||
|
width: 4%;
|
||||||
|
}
|
||||||
|
|
||||||
|
th#thTarget {
|
||||||
|
width: 4%;
|
||||||
|
}
|
||||||
|
|
||||||
|
th#thLocation {
|
||||||
|
width: 15%;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
th#thSpacer {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.location {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.lesionNumber {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.target {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.lesionTableTimepointCell {
|
||||||
|
width: 4%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.btnRemove{
|
.btnRemove{
|
||||||
border: none;
|
border: none;
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
<template name="lesionTableRow">
|
<template name="lesionTableRow">
|
||||||
<tr>
|
<tr>
|
||||||
<th class='lesionNumber'>{{lesionData.lesionNumber}}</th>
|
<td class='lesionNumber'>{{lesionData.lesionNumber}}</td>
|
||||||
<th class='target'>{{#if lesionData.isTarget}} Y {{else}} N {{/if}}</th>
|
<td class='location'>{{lesionData.location}}</td>
|
||||||
<th class='location'>{{lesionData.location}}</th>
|
<td class='target'>{{#if lesionData.isTarget}} Y {{else}} N {{/if}}</td>
|
||||||
<!--Each time point as a column-->
|
<!--Each time point as a column-->
|
||||||
{{# each timepoints }}
|
{{# each timepoints }}
|
||||||
{{> lesionTableTimepointCell }}
|
{{> lesionTableTimepointCell }}
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
<template name="lesionTableTimepointCell">
|
<template name="lesionTableTimepointCell">
|
||||||
<td>{{longestDiameter}}</td>
|
<td class="lesionTableTimepointCell">{{longestDiameter}}</td>
|
||||||
</template>
|
</template>
|
||||||
Loading…
Reference in New Issue
Block a user