diff --git a/js/listSelector.js b/js/listSelector.js index bfc6b8a..d7a48d6 100644 --- a/js/listSelector.js +++ b/js/listSelector.js @@ -22,7 +22,8 @@ 'position' : 'absolute', 'width' : '100%', 'height' : '100%', - 'line-height' : '1.2em' + 'line-height' : '1.2em', + 'text-align' : 'left' }; this.boxBackdropStyle = { diff --git a/schoolschedule.php b/schoolschedule.php index 7da22fe..f699e51 100644 --- a/schoolschedule.php +++ b/schoolschedule.php @@ -315,7 +315,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode']){ // create a list selector that can use these lists var n; selector = new listSelector(selected, available, 'selector'); - selector.setStyle({'height' : '60%', 'margin-top' : '10%'}); + selector.setStyle({'height' : '70%', 'margin-top' : '7%'}); selector.leftTitle = '=i18n("assigned");?>'; selector.rightTitle = '=i18n("available");?>'; // highlight the lists appropriately @@ -339,23 +339,21 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode']){ // create the legend var legend = $('
'); - legend.append('=i18n('Required'); ?>'); - legend.append('=i18n('Optional'); ?>'); - legend = $('