[LON-CAPA-cvs] cvs: rat /client parameter.html

raeburn raeburn at source.lon-capa.org
Fri Jun 26 10:51:21 EDT 2026


raeburn		Fri Jun 26 14:51:21 2026 EDT

  Modified files:              
    /rat/client	parameter.html 
  Log:
  - Fix typo in rev. 1.99.
  - Remove some blank lines from deeplink parameter display.
  
  
-------------- next part --------------
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.99 rat/client/parameter.html:1.100
--- rat/client/parameter.html:1.99	Wed Jun 24 22:15:44 2026
+++ rat/client/parameter.html	Fri Jun 26 14:51:20 2026
@@ -5,7 +5,7 @@
 The LearningOnline Network with CAPA
 Parameter Input Window
 //
-// $Id: parameter.html,v 1.99 2026/06/24 22:15:44 raeburn Exp $
+// $Id: parameter.html,v 1.100 2026/06/26 14:51:20 raeburn Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -101,7 +101,7 @@
   choicewrite('fieldset.LC_grace { display: inline; line-height: 205%; margin: 1px; }');
   choicewrite('fieldset.LC_grace > legend { font-weight: normal; }');
   choicewrite('div.LC_landmark { margin: 0; padding: 0; border: none; }');
-  choicewrite('.LC_heading_3 { font-size: 1.0em; line-height: 90%; margin: 0; padding: 0;" }');
+  choicewrite('.LC_heading_3 { font-size: 1.0em; line-height: 90%; margin: 0; padding: 0; }');
   choicewrite('fieldset.LC_borderless { display: inline; border: 0; padding: 0; margin: 0; line-height: 205%; }');
   choicewrite('.LC_visually_hidden:not(:focus):not(:active) { clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; display: inline; }');
   choicewrite('-->');
@@ -710,7 +710,7 @@
                         frame.document.getElementById('deeplinkexitdiv').style.display='none';
                         sform.deeplinkexittext.value = '';
                     } else {
-                        frame.document.getElementById('deeplinkexitdiv').style.display='inline-block';
+                        frame.document.getElementById('deeplinkexitdiv').style.display='block';
                         if (sform.deeplinkexittext.value == '') {
                             sform.deeplinkexittext.value = 'Exit Tool';
                         }
@@ -1166,14 +1166,14 @@
          choicewrite(' <input name="donebutton_proctorkey" value='+
                      '"'+escapeHTML(pextraval)+'" type="'+proctorkeytype+
                      '" id="done_proctorkey" size="10"'+
-                     ' onblur="parent.intcalc();" /></span><br />'+
-                     '<div id="donebuttontextdiv" style="display:'+donebuttontext+'">'+
-                     '<br /><span style="white-space:nowrap">'+
+                     ' onblur="parent.intcalc();" /></span></fieldset><p>'+
+                     '<div id="donebuttontextdiv" style="display:'+donebuttontext+'; margin: 4px 0; padding: 0;">'+
+                     '  <span style="white-space:nowrap">'+
                      'Button text:'+
                      '<input name="donebutton_text" value='+
                      '"'+escapeHTML(pextravaltwo)+'" type="text" '+
-                     'size="10" onblur="parent.intcalc();" /></span></div>');
-         choicewrite('</fieldset></td></tr></table>');
+                     'size="10" onblur="parent.intcalc();" /></span></div></p>');
+         choicewrite('</td></tr></table>');
       } else {
          choicewrite('<tr><td colspan="3">'
          +cdate.toString()+
@@ -1561,9 +1561,9 @@
                        dlinkkeysty = 'text';
                        dlinkkeyval = linkprotectparts[1];
                    } else if (linkprotectparts[0] == 'ltic') {
-                       dlinklticdivsty = 'block';
+                       dlinklticdivsty = 'inline-block';
                    } else if (linkprotectparts[0] == 'ltid') {
-                       dlinkltiddivsty = 'block';
+                       dlinkltiddivsty = 'inline-block';
                    }
                }
                if (deeplinkvals[5] >= 1) {
@@ -1573,7 +1573,7 @@
                    linkexitparts = deeplinkvals[7].split(':');
                    deeplinkvals[7] = linkexitparts[0];
                    if (deeplinkvals[7] != 'no') {
-                       dlinkexitdivsty = 'inline-block'; 
+                       dlinkexitdivsty = 'block'; 
                        if (!linkexitparts[1]) {
                            dlinkexittextval = 'Exit Tool';
                        } else {
@@ -1661,7 +1661,7 @@
            if (deeplinkvals[4]=='key') { choicewrite(' checked="checked"'); }
            choicewrite(' /> key access</label>');
            choicewrite('<input type="'+dlinkkeysty+'" name="deeplinkkey" id="deeplinkkey" value="'+dlinkkeyval+'" size="10" aria-label="Key" />');
-           choicewrite('</fieldset></span><br />');
+           choicewrite('</span><br />');
 
            var possmenus = new Array();
            if ((pextra != '') && (typeof(pextra) != 'undefined')) {
@@ -1686,7 +1686,7 @@
                                choicewrite('<input name="deeplinkprotect" value="ltic"'+
                                            ' type="radio" '+calldeeplink('protect'));
                                if (deeplinkvals[4]=='ltic') { choicewrite(' checked="checked"'); }
-                               choicewrite(' /> course LTI launch</label>');
+                               choicewrite(' /> course LTI launch</label> ');
                                choicewrite('<div id="deeplinklticdiv" style="display:'+dlinklticdivsty+'">');
                                choicewrite('<select name="linkpossltic" aria-label="Launcher">');
                                var sel='';
@@ -1726,7 +1726,7 @@
                                choicewrite('<input name="deeplinkprotect" value="ltid"'+
                                            ' type="radio" '+calldeeplink('protect'));
                                if (deeplinkvals[4]=='ltid') { choicewrite(' checked="checked"'); }
-                               choicewrite(' />domain LTI launch</label>');
+                               choicewrite(' />domain LTI launch</label> ');
                                choicewrite('<div id="deeplinkltiddiv" style="display:'+dlinkltiddivsty+'">');
                                choicewrite('<select name="linkpossltid">');
                                var sel='';
@@ -1750,13 +1750,13 @@
                                choicewrite('</select></div></span><br />');
                            }
                        }
-
                    } else if (menusRegExp.test(extras[i])) {
                        extras[i] = extras[i].replace(menusRegExp,'');
                        possmenus = extras[i].split(',');
                    }
                }
            }
+           choicewrite('</fieldset></td><tr>');
            choicewrite('<tr><td>Menu Items Displayed</td><td>');
            choicewrite('<fieldset class="LC_borderless">');
            choicewrite('<legend class="LC_visually_hidden">Menu Items</legend>');
@@ -1772,7 +1772,7 @@
                choicewrite('<input name="deeplinkmenus" value="collnum"'+
                            ' type="radio" '+calldeeplink('menus'));
                if (deeplinkvals[5] > 0) { choicewrite(' checked="checked"'); }
-               choicewrite(' /> Numbered collection</label></span></fieldset>');
+               choicewrite(' /> Numbered collection</label> </span>');
                choicewrite('<div id="deeplinkmenusdiv" style="display:'+dlinkmenusdivsty+'">');
                choicewrite('<select name="linkpossmenu" aria-label="Collection number">');
                var sel='';
@@ -1789,7 +1789,7 @@
                    }
                    choicewrite('<option value="'+possmenus[i]+'"'+sel+'>'+possmenus[i]+'</option>');
                }
-               choicewrite('</select></div><br />');
+               choicewrite('</select></div></fieldset><br />');
            }
            choicewrite('</td></tr>');
            choicewrite('<tr><td><label for="deeplinktarget">Embedded?</label></td><td>');
@@ -1820,12 +1820,12 @@
            choicewrite('<input name="deeplinkexit" value="url"'+
                   ' type="radio" '+calldeeplink('exit'));
            if (deeplinkvals[7]=='url') { choicewrite(' checked="checked"'); }
-           choicewrite(' />in use, redirect to URL</label></span></fieldset><br />');
+           choicewrite(' />in use, redirect to URL</label></span>');
            choicewrite('<div id="deeplinkexitdiv" style="display:'+dlinkexitdivsty+'">');
-           choicewrite('<br /><span style="white-space: nowrap;"><label>Button text: ');
+           choicewrite('<span style="white-space: nowrap;"><label>Button text: ');
            choicewrite('<input type="text" name="deeplinkexittext" id="deeplinkexittext" value="'+dlinkexittextval+'" size="10" />');
            choicewrite('</label></span></div>');
-           choicewrite('</td></tr></table>');
+           choicewrite('</fieldset></td></tr></table>');
        }
        if (pscat=='grace') {
            tablestart('Grace period after due date');


More information about the LON-CAPA-cvs mailing list