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
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
selector.val(currentValue);
selector.find("option:first").prop("selected", true);
}
// Attach keypress handlers so the user can close with the Enter button

View File

@ -1,12 +1,14 @@
#lesionTableContainer
width: 100%
height: 16%
position: absolute
.lesionTable
td, th
border: 1px solid white
border-collapse: collapse
width: 100px
td.lesionNumber, th#thNumber
width: 70px
@ -16,17 +18,16 @@
td.target, th#thTarget
width: 70px
td.lesionTableTimepointCell
width: 70px
thead
width: 100%
height: 25px
display: block
tr
width: 100%
th
border-bottom-width: 0
font-weight: normal
@ -36,21 +37,15 @@
margin: 0
padding: 5px
background-color: #424242
width: 70px
#thTarget
width: 1%
#thLocation
text-align: left
width: 15%
#thSpacer
width: 61%
tbody
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
width: 100%

View File

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