lesion table styling issue

This commit is contained in:
Evren Ozkan 2015-11-19 14:16:56 -05:00
parent 8d6e9b7156
commit 1facbfb0b1
3 changed files with 13 additions and 20 deletions

View File

@ -48,11 +48,9 @@ function getLesionLocationCallback(measurementData, eventData, doneCallback) {
// Fire the doneCallback with the lesion number // Fire the doneCallback with the lesion number
doneCallback(lesionNumber); doneCallback(lesionNumber);
// Get the current value of the select option box
var currentValue = selector.find("option:selected").val();
// Select the first option for the next time the dialog is opened // Select the first option for the next time the dialog is opened
selector.val(currentValue); selector.find("option:first").prop("selected", true);
} }
// Attach keypress handlers so the user can close with the Enter button // Attach keypress handlers so the user can close with the Enter button

View File

@ -1,12 +1,14 @@
#lesionTableContainer #lesionTableContainer
width: 100% width: 100%
height: 16% height: 16%
position: absolute
.lesionTable .lesionTable
td, th td, th
border: 1px solid white border: 1px solid white
border-collapse: collapse border-collapse: collapse
width: 100px
td.lesionNumber, th#thNumber td.lesionNumber, th#thNumber
width: 70px width: 70px
@ -17,11 +19,10 @@
td.target, th#thTarget td.target, th#thTarget
width: 70px width: 70px
td.lesionTableTimepointCell
width: 70px
thead thead
width: 100% width: 100%
height: 25px
display: block display: block
tr tr
@ -36,21 +37,15 @@
margin: 0 margin: 0
padding: 5px padding: 5px
background-color: #424242 background-color: #424242
width: 70px
#thTarget
width: 1%
#thLocation
text-align: left
width: 15%
#thSpacer
width: 61%
tbody tbody
display: block display: block
height: 150px // Seems like this has to be fixed for overflow to work properly! position: absolute
top: 25px
left: 0
right: 0
bottom: 0
overflow: auto overflow: auto
width: 100% width: 100%

View File

@ -1,3 +1,3 @@
<template name="lesionTableTimepointHeader"> <template name="lesionTableTimepointHeader">
<th>{{formatDA timepointName "MM/DD/YYYY"}}</th> <th class="lesionTableTimepointCell">{{formatDA timepointName "MM/DD/YYYY"}}</th>
</template> </template>