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