Index: lams_central/web/addLesson.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/addLesson.jsp,v diff -u -r1.16.2.10 -r1.16.2.11 --- lams_central/web/addLesson.jsp 25 Jul 2016 04:29:42 -0000 1.16.2.10 +++ lams_central/web/addLesson.jsp 15 Oct 2016 00:17:28 -0000 1.16.2.11 @@ -10,11 +10,13 @@ + + @@ -58,179 +60,263 @@ <%-- "loading..." screen, gets removed on page full load --%>
- +
-
- - - +
+ +
+ + +
+
- -
    -
  • -
  • -
  • -
  • -
+
+ + + + + + + + + + + +
+
+
+ +
+
+ + +
+
+
+ +
+
- +
+ +
+
+ + + + + + + + + + + + + + + + + +
+
+ + +
+
+
+ + +
+ +
+
+
+ +
+
+ +
+
+
+ + +
+ +
+
+
+ +
+
+ +
+
+ +
+ + + + + + + + +
+
+
+ +
+
+
+
+ +
+ + + +
+ +
+
+ + +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
-
-
- - - - - - - - - - - -
-
-
- -
-
- - -
-
-
- -
-
+
+ +
+ +
+ +
- -
-
- - - - - - - - - - - - - - - - - -
-
- - +
+ +
+ +
+ +
+
+
-
-
- - -
- - +
+
+ +
+
+
+
+
+ +
+ +
+ +
+
+
+ +
+ +
+ +
-
-
- -
-
- - -
-
-
- - -
- - -
-
-
- -
-
- - -
- - - - - - - - - -
- -
-
-
- - - - - +
- -
-
-
-
-
-
-
-
-
- - - - - -
- - - -
- -
+
+
+
+
+
- -
-
-
- - - -
-
- -
-
- -
-
-
+ + + + + + + + + Index: lams_central/web/css/addLesson.css =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/css/addLesson.css,v diff -u -r1.3.2.3 -r1.3.2.4 --- lams_central/web/css/addLesson.css 25 Jul 2016 04:27:27 -0000 1.3.2.3 +++ lams_central/web/css/addLesson.css 15 Oct 2016 00:17:28 -0000 1.3.2.4 @@ -56,8 +56,7 @@ div.tabTitle { padding: 5px 0px 5px 0px; - font-size: small; - font-weight: bold; + font-size: larger; text-align: center; } @@ -132,7 +131,7 @@ td.userConainterTransferCell { height: 100px; - width: 16px; + width: 25px; padding: 18px 3px 8px 3px; vertical-align: top; } @@ -158,9 +157,7 @@ } .userContainerTitle { - padding: 0px 0px 5px 0px; - height: 15px; - font-size: small; + margin-bottom: 5px; font-weight: bold; text-align: center; } @@ -187,12 +184,7 @@ padding-left: 30px; } -input[type="checkbox"] { - margin: 10px 5px 0px 0px; - border: none; -} - -.fieldSectionTitle { +.p { padding: 15px 0px 5px 15px; font-size: small; font-weight: bold; @@ -214,28 +206,6 @@ display: none; } -#introImageField { - margin-top: 20px; -} - -table#splitLearnersTable { - height: 40px; - display: none; -} - -td#splitLearnersCell { - padding: 0px 0px 0px 30px; -} - -#splitLearnersCountField { - width: 50px; - margin: 0px 0px 0px 5px !important; -} - -td#splitLearnersDescriptionCell { - padding: 0px; -} - span#splitLearnersDescription { font-style: italic; } @@ -255,16 +225,20 @@ display: none; } -div#timeLimitDiv { - padding: 10px 0px 0px 30px; - display: none; +.lead { + margin-top: 15px; + margin-bottom: 10px; } -#timeLimitDaysField { - width: 50px; - margin: 0px 0px 0px 5px !important; +.options { + margin-left: 25px; } -#timeLimitIndividualField { - margin-top: 15px; -} \ No newline at end of file +.separator { + margin-top: 10px; + margin-bottom: 10px; + border: 0px; + border-top: 1px solid #eee; + width: 100%; +} + Index: lams_central/web/includes/javascript/addLesson.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/addLesson.js,v diff -u -r1.7.2.3 -r1.7.2.4 --- lams_central/web/includes/javascript/addLesson.js 25 Mar 2016 13:54:48 -0000 1.7.2.3 +++ lams_central/web/includes/javascript/addLesson.js 15 Oct 2016 00:17:28 -0000 1.7.2.4 @@ -186,12 +186,12 @@ $('#introDescriptionDiv').hide(); }); - $('#splitLearnersCountField').spinner({ - 'incremental' : false, + $('#splitLearnersCountField').attr({ + 'step' : 1, 'min' : 1, 'max' : users.selectedLearners ? users.selectedLearners.length : 1, 'stop' : updateSplitLearnersFields - }).spinner('value', 1); + }); $('#splitLearnersField').change(function(){ if ($(this).is(':checked')) { @@ -321,7 +321,7 @@ if ($('#splitLearnersField').is(':checked')) { var maxLearnerCount = $('#selected-learners div.draggableUser').length; - var learnerCount = $('#splitLearnersCountField').spinner('value'); + var learnerCount = $('#splitLearnersCountField').val(); var instances = Math.ceil(maxLearnerCount/learnerCount); $('#splitNumberLessonsField').val(instances); } @@ -532,8 +532,8 @@ if ($('#splitLearnersField').is(':checked')) { // put users into groups var maxLearnerCount = $('#selected-learners div.draggableUser').length; - var learnerCount = $('#splitLearnersCountField').spinner('option', 'max', maxLearnerCount < 1 ? 1 : maxLearnerCount) - .spinner('value'); + var learnerCount = $('#splitLearnersCountField').val(); + alert($('#splitLearnersCountField').val()); var instances = Math.ceil(maxLearnerCount/learnerCount); learnerCount = Math.ceil(maxLearnerCount/instances); var description = SPLIT_LEARNERS_DESCRIPTION.replace('[0]', instances).replace('[1]', learnerCount); Index: lams_central/web/includes/javascript/groupDisplay.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/groupDisplay.js,v diff -u -r1.37.2.19 -r1.37.2.20 --- lams_central/web/includes/javascript/groupDisplay.js 14 Oct 2016 11:25:59 -0000 1.37.2.19 +++ lams_central/web/includes/javascript/groupDisplay.js 15 Oct 2016 00:17:28 -0000 1.37.2.20 @@ -192,7 +192,7 @@ }, 'modal' : true, 'draggable' : false, - 'height' : 700, + 'height' : 740, 'width' : 850, 'open' : function() { var dialog = $(this);