Diff for /rat/client/parameter.html between versions 1.64.2.3 and 1.67

version 1.64.2.3, 2016/08/05 17:39:45 version 1.67, 2015/01/23 19:35:48
Line 241  function month() { Line 241  function month() {
 function intminute() {  function intminute() {
    var thisminutes=cmins;     var thisminutes=cmins;
     var i;      var i;
     var result = '';      choicewrite('<select name="minutes" onchange="parent.intcalc();">');
     result += '<select name="minutes" onchange="parent.intcalc();">';  
     for (i=0;i<=59;i++) {      for (i=0;i<=59;i++) {
         result += '<option value="'+i+'"';          choicewrite('<option value="'+i+'"');
         if (i==thisminutes) {          if (i==thisminutes) {
             result += ' selected="selected"';              choicewrite(' selected="selected"');
         }          }
         result += '>'+i+'</option>';          choicewrite('>'+i+'</option>');
     }      }
     result += '</select>';      choicewrite('</select>');
     return result;  
 }   } 
   
 function inthour() {  function inthour() {
    var thishours=chours;     var thishours=chours;
     var i;      var i;
     var result = '';      choicewrite('<select name="hours" onchange="parent.intcalc();">');
     result += '<select name="hours" onchange="parent.intcalc();">';  
     for (i=0;i<=23;i++) {      for (i=0;i<=23;i++) {
         result += '<option value="'+i+'"';          choicewrite('<option value="'+i+'"');
         if (i==thishours) {          if (i==thishours) {
             result += ' selected="selected"';              choicewrite(' selected="selected"');
         }          }
         result += '>'+i+'</option>';          choicewrite('>'+i+'</option>');
     }      }
     result += '</select>';      choicewrite('</select>');
     return result;  } 
 }  
   
 function intsecond() {  function intsecond() {
    var thisseconds=csecs;     var thisseconds=csecs;
     var i;      var i;
     var result = '';      choicewrite('<select name="seconds" onchange="parent.intcalc();">');
     result += '<select name="seconds" onchange="parent.intcalc();">';  
     for (i=0;i<=59;i++) {      for (i=0;i<=59;i++) {
         result += '<option value="'+i+'"';          choicewrite('<option value="'+i+'"');
         if (i==thisseconds) {          if (i==thisseconds) {
             result += ' selected="selected"';              choicewrite(' selected="selected"');
         }          }
         result += '>'+i+'</option>';          choicewrite('>'+i+'</option>');
     }      }
     result += '</select>';      choicewrite('</select>');
     return result;  } 
 }  
   
   
 function intday() {  function intday() {
    var thisdate=cdays;     var thisdate=cdays;
     var i;      var i;
     var result ='';      choicewrite('<select name="date" onchange="parent.intcalc();">');
     result += '<select name="date" onchange="parent.intcalc();">';  
     for (i=0;i<=31;i++) {      for (i=0;i<=31;i++) {
         result += '<option value="'+i+'"';          choicewrite('<option value="'+i+'"');
         if (i==thisdate) {          if (i==thisdate) {
             result += ' selected="selected"';              choicewrite(' selected="selected"');
         }          }
         result += '>'+i+'</option>';          choicewrite('>'+i+'</option>');
     }      }
     result += '</select>';      choicewrite('</select>');
     return result;  
 }  }
   
 function intcalc() {  function intcalc() {
Line 479  function draw() { Line 471  function draw() {
       }        }
       if (pscat=='interval') {        if (pscat=='interval') {
          tablestart('Time interval');           tablestart('Time interval');
          choicewrite( [           choicewrite('<tr><td colspan="3">');
             '<tr><td colspan="3">'+intervaldis()+'</td></tr>',           intervaldis();
             '<tr><td>Time:</td><td colspan="2">',           choicewrite('</td></tr><tr><td>Time:'
                 '<span style="white-space:nowrap">'+intday()+' days </span>',           +'</td><td colspan="2">');
                 '<span style="white-space:nowrap">'+inthour()+' hours</span>',           intday();choicewrite('days ');
                 '<span style="white-space:nowrap">'+intminute()+' mins</span>',           inthour();choicewrite('hours ');
                 '<span style="white-space:nowrap">'+intsecond()+' secs</span>',           intminute(); choicewrite('mins '); intsecond();
             '</td></tr>',           choicewrite('secs</td></tr></table>');         
             '</table>',  
             '<br />',  
             ].join("\n"));  
       } else {         } else { 
          choicewrite('<tr><td colspan="3">'           choicewrite('<tr><td colspan="3">'
          +cdate.toString()+           +cdate.toString()+
Line 640  function draw() { Line 629  function draw() {
            choicewrite('<label><input name="stringval" value="exam"'+             choicewrite('<label><input name="stringval" value="exam"'+
                   ' type="radio" '+callradiostringeval('exam'));                    ' type="radio" '+callradiostringeval('exam'));
            if (svalue=='exam') { choicewrite(' checked="checked"'); }             if (svalue=='exam') { choicewrite(' checked="checked"'); }
            choicewrite(' /> Exam</label><br />');             choicewrite(' /> Bubblesheet Exam</label><br />');
 //         choicewrite('<label><input name="stringval" value="assess"'+  //         choicewrite('<label><input name="stringval" value="assess"'+
 //              ' type="radio" '+callradiostringeval('assess'));  //              ' type="radio" '+callradiostringeval('assess'));
 //         if (svalue=='assess') { choicewrite(' checked="checked"'); }  //         if (svalue=='assess') { choicewrite(' checked="checked"'); }

Removed from v.1.64.2.3  
changed lines
  Added in v.1.67


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>