[703] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
| 3 | <html>
|
---|
| 4 | <head>
|
---|
| 5 | <title tal:content="title">ASAP Online Monitor</title>
|
---|
| 6 | <link rel="stylesheet" href="/asapmon/asapmon.css" type="text/css">
|
---|
| 7 | <script type="text/javascript" src="/asapmon/prototype.js"></script>
|
---|
| 8 | <script type="text/javascript" src="/asapmon/asapmon.js"></script>
|
---|
| 9 |
|
---|
| 10 | </head>
|
---|
| 11 |
|
---|
| 12 | <body>
|
---|
| 13 | <h1 tal:content="title">ASAP Online Monitor</h1>
|
---|
| 14 | <form name="specplot" action="/cgi-bin/asapmon/asapmon.py">
|
---|
| 15 | <fieldset>
|
---|
| 16 | <legend>File selection</legend>
|
---|
| 17 | Directory:
|
---|
| 18 | <select id="directory" name="dlist">
|
---|
| 19 | <option tal:repeat="entry fields/directories" tal:content="entry" tal:attributes=" value repeat/entry/index;selected python: int(fields['cdir'])==int(repeat['entry'].getIndex()) and 'selected' or None">
|
---|
| 20 | somewhere over the rainbow</option>
|
---|
| 21 | </select>
|
---|
| 22 | <input class="plot" type="button" name="flist" onClick="insertFields();" value="Update -->"></input>
|
---|
| 23 | File:
|
---|
| 24 | <select id="filelist" name="list">
|
---|
| 25 | <option tal:repeat="entry fields/files" tal:content="entry" tal:attributes=" value repeat/entry/index;selected python: int(fields['cfile'])==int(repeat['entry'].getIndex()) or None">---</option>
|
---|
| 26 | </select>
|
---|
| 27 | </fieldset>
|
---|
| 28 | <p>
|
---|
| 29 | <fieldset>
|
---|
| 30 | <legend>Plot parameters</legend>
|
---|
| 31 | <div id="velunit">
|
---|
| 32 | <fieldset class="velocity">
|
---|
| 33 | <legend>Unit</legend>
|
---|
| 34 | <label>Channel
|
---|
| 35 | <input type="radio" checked name="unit" onclick="unitswitch('channel');" value="channel">
|
---|
| 36 | </label>
|
---|
| 37 | <label>km/s
|
---|
| 38 | <input type="radio" name="unit" onclick="unitswitch('km/s');" value="km/s">
|
---|
| 39 | </label>
|
---|
| 40 | <label>GHz
|
---|
| 41 | <input type="radio" name="unit" onclick="unitswitch('GHz');" value="GHz">
|
---|
| 42 | </label>
|
---|
| 43 | </fieldset>
|
---|
| 44 | </div>
|
---|
| 45 | <div id="velframe">
|
---|
| 46 | <fieldset class="velocity">
|
---|
| 47 | <legend>Frame</legend>
|
---|
| 48 | <label>LSRK
|
---|
| 49 | <input type="radio" checked name="frame" value="LSRK">
|
---|
| 50 | </label>
|
---|
| 51 | <label>BARY
|
---|
| 52 | <input type="radio" name="frame" value="BARY">
|
---|
| 53 | </label>
|
---|
| 54 | </fieldset>
|
---|
| 55 | </div>
|
---|
| 56 | <div id="veldoppler">
|
---|
| 57 | <fieldset class="velocity">
|
---|
| 58 | <legend>Doppler</legend>
|
---|
| 59 | <label>optical
|
---|
| 60 | <input type="radio" name="doppler" value="OPTICAL">
|
---|
| 61 | </label>
|
---|
| 62 | <label>radio
|
---|
| 63 | <input type="radio" checked name="doppler" value="RADIO">
|
---|
| 64 | </label>
|
---|
| 65 | </fieldset>
|
---|
| 66 | </div>
|
---|
| 67 | <div id="velrest">
|
---|
| 68 | <fieldset class="velocity">
|
---|
| 69 | <legend>Rest Frequencies</legend>
|
---|
| 70 | <label>IF 1
|
---|
| 71 | <select name="rest1">
|
---|
| 72 | <option tal:repeat="line fields/restfreqs" tal:content="line" tal:attributes="value line"></option>
|
---|
| 73 | </select>
|
---|
| 74 | </label>
|
---|
| 75 | <label>IF 2
|
---|
| 76 | <select name="rest2">
|
---|
| 77 | <option tal:repeat="line fields/restfreqs" tal:content="line" tal:attributes="value line"></option>
|
---|
| 78 | </select>
|
---|
| 79 | </label>
|
---|
| 80 | </fieldset>
|
---|
| 81 | </div>
|
---|
| 82 | <div style="clear: both;">
|
---|
| 83 |
|
---|
| 84 | </div>
|
---|
| 85 | <div id="plotrange">
|
---|
| 86 | <fieldset>
|
---|
| 87 | <legend>Plot Range</legend>
|
---|
| 88 | <label id="plotlbl"><input id="plotwindow" name="plotwindow" value=""></input></label>
|
---|
| 89 | <label id ="prangeunit"></label>
|
---|
| 90 | </fieldset>
|
---|
| 91 | </div>
|
---|
| 92 | </fieldset>
|
---|
| 93 | <p>
|
---|
| 94 | <fieldset>
|
---|
| 95 | <legend>Processing</legend>
|
---|
| 96 | <div style="float: left;padding-left:0.5em;">
|
---|
| 97 | <label>Quotient
|
---|
| 98 | <input type="checkbox" name="quotient" value="True">
|
---|
| 99 | </label>
|
---|
| 100 | </div>
|
---|
| 101 | <div style="float: left;padding-left:0.5em;">
|
---|
| 102 | <label>Baseline
|
---|
| 103 | <input type="checkbox" name="baseline" value="True" onClick="baselineswitch(this);">
|
---|
| 104 | </label>
|
---|
| 105 | </div>
|
---|
| 106 | <div id="polyorder" style="float: left;display:none;padding-left:0.5em;">
|
---|
| 107 | <label>Order </label>
|
---|
| 108 | <select name="polyorder">
|
---|
| 109 | <option tal:repeat="order fields/border" tal:content="order" tal:attributes=" value order"></option>
|
---|
| 110 | </select>
|
---|
| 111 | </div>
|
---|
| 112 | <div id="baselinerange" style="float: left;display:none;padding-left:0.5em;">
|
---|
| 113 | <label id="brange">Baseline range<input id="brangewindow" name="brangewindow" value=""></input></label>
|
---|
| 114 | <label id ="brangeunit"></label>
|
---|
| 115 | </div>
|
---|
| 116 | <div style="clear: both;">
|
---|
| 117 | </div>
|
---|
| 118 | </fieldset>
|
---|
| 119 | <p>
|
---|
| 120 | <div align="center">
|
---|
| 121 | <input class="plot" type="submit" name="plot" value="plot">
|
---|
| 122 | </div>
|
---|
| 123 | </form>
|
---|
| 124 | <div align="center">
|
---|
| 125 | <img tal:attributes="src fields/imagename">
|
---|
| 126 | </div>
|
---|
| 127 | </body>
|
---|
| 128 | </html>
|
---|