--- rat/client/parameter.html 2015/11/21 00:16:09 1.69 +++ rat/client/parameter.html 2017/06/21 19:55:03 1.71.4.1 @@ -5,7 +5,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.69 2015/11/21 00:16:09 musolffc Exp $ +// $Id: parameter.html,v 1.71.4.1 2017/06/21 19:55:03 raeburn Exp $ // // Copyright Michigan State University Board of Trustees // @@ -40,6 +40,8 @@ Parameter Input Window var ptype=''; var pvalue=''; var pmodval=''; +var pextraval=''; +var pextravaltwo=''; var preturn=''; var pcode=''; var pscat=''; @@ -269,7 +271,7 @@ function inthour() { } result += ''; return result; -} +} function intsecond() { var thisseconds=csecs; @@ -312,25 +314,100 @@ function intcalc() { sform.seconds.options[sform.seconds.selectedIndex].value*1; if ((ptype=='date') && (pscat=='interval')) { var newpmodval = ''; + var newpextraval = ''; + var newpextravaltwo = 'Done'; if (sform.donebutton.length) { for (var i=0; i'+intervaldis()+'', @@ -514,14 +600,29 @@ function draw() { ].join("\n")); tablestart('Provide a "Done" button to students?'); choicewrite('Value:'); + choicewrite(' No'); choicewrite(' Yes'); - choicewrite(''+ + ' No'); + if (pmodval == '_done_proctor') { choicewrite(' checked="checked"'); } + choicewrite(' /> Yes, with proctor key'); + choicewrite(' '+ + ''+ + ''+ + 'Button text:'+ + ''); choicewrite(''); } else { choicewrite('' @@ -673,7 +774,7 @@ function draw() { choicewrite(' Bubblesheet Exam'); + choicewrite(' /> Exam'); // choicewrite('