Changeset 17824


Ignore:
Timestamp:
05/10/14 14:54:50 (11 years ago)
Author:
tbretz
Message:
Some layout improrvements around the checkboxes for the run type.
Location:
trunk/FACT++/www/viewer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/viewer/index.html

    r17822 r17824  
    134134   <input id="submit"  type="button" onclick="onSubmit();" value="Submit"></input>
    135135   <span style="float:right;white-space:nowrap;">
    136       MC
     136      <span id="txtmontecarlo" style="color:darkgrey;">MC</span>
    137137      <input id="montecarlo" style="margin-left:0px;margin-right:5px;" type="checkbox" onclick="onSubmit();" disabled="true"></input>
    138       DRS
     138      <span id="txtdrsfile">DRS</span>
    139139      <input id="drsfile" style="margin-left:0px;margin-right:5px;" type="checkbox" onclick="onSubmit();"></input>
    140       Cal
     140      <span id="txtcalibrated">Cal</span>
    141141      <input id="calibrated" style="margin-left:0px;margin-right:5px;" type="checkbox" onclick="onSubmit();"></input>
    142142      Run
  • trunk/FACT++/www/viewer/index.js

    r17823 r17824  
    225225    $('#drsfile').prop('disabled',     !hasDrs || isMC);
    226226
     227    $('#txtcalibrated').css('color', (!hasCal && !drs.checked) || isMC ? 'darkgrey' : 'black');
     228    $('#txtdrsfile').css(   'color',  !hasDrs || isMC                  ? 'darkgrey' : 'black');
     229    $('#txtmontecarlo').css('color',  !isMC                            ? 'darkgrey' : 'black');
     230
    227231    $('#montecarlo').prop('checked', isMC);
    228232}
Note: See TracChangeset for help on using the changeset viewer.