ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/SiStripWebBrowser/scripts/Viewer.html
Revision: 1.4
Committed: Sun Dec 7 13:20:21 2008 UTC (16 years, 4 months ago) by dutta
Content type: text/html
Branch: MAIN
CVS Tags: After_CRAFT_071208, HEAD
Changes since 1.3: +39 -0 lines
Log Message:
addiing latest updates after CRAFT : (1) data directory specified in .rootviewerrc file (2) new layout xml file with more layouts (3) macro support added with a simple example

File Contents

# User Rev Content
1 dutta 1.1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2     "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
3     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4     <head>
5     <title>SiStrip DQM Viewer</title>
6     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
7     <meta name="keywords" content="css, stylesheets, form" />
8     <link rel="stylesheet" type="text/css" href="/ajax/css/tab-view.css" />
9     <link rel="stylesheet" type="text/css" href="/ajax/css/context-menu.css" />
10     <link rel="stylesheet" type="text/css" href="/ajax/css/folder-tree-static.css" />
11     <link rel="stylesheet" type="text/css" href="/ajax/css/tooltip.css" />
12     <script type="text/javascript" src="/ajax/js/tab-view.js"></script>
13     <script type="text/javascript" src="/ajax/js/context-menu.js"></script>
14     <script type="text/javascript" src="/ajax/js/folder-tree-static.js"></script>
15     <script type="text/javascript" src="/ajax/js/http_request.js"></script>
16     <body>
17     <div id="dhtmltooltip"></div>
18     <script type="text/javascript" src="/ajax/js/tooltip.js"></script>
19     <form name="Form1" action="javascript:void%200">
20     <div class="bloc" id="bloc1" style="width:56%;height=200%;float:left;">
21     <fieldset style="background:#77FF87;">
22     <legend >Drawing Canvas</legend>
23     <img id="drawingcanvas"
24     src="/ajax/images/blank.png"
25     width="100%"
26 dutta 1.2 height="600px"
27 dutta 1.1 style="border: 1px solid #000;"
28     name="canvas">
29     </img>
30     <br/>
31     <div id="progressbar" style="float:left;margin-top:1.0%;margin-left:5%;visibility:hidden">
32     <img id="progress_icon"
33     src="/ajax/images/loading.gif"
34     style="margin-bottom:-3px;padding-bottom:0px;">
35     </img>
36     <label class="label"
37     id="progress_message"
38     style="text-align:left;">
39     </label>
40     </div>
41     <br/>
42 dutta 1.2 <div style="float:right;margin-right:1%:0.5px;">
43     <br>
44 dutta 1.1 <label>Developed by: Suchandra Dutta</label>
45     </div>
46     </fieldset>
47     </div>
48     <div class="bloc" id="bloc2" style="width:44%; float:right;">
49     <fieldset style="background:#DDEFFF;">
50     <div class="bloc" id="bloc2_1" style="background:#C093FF;">
51     <fieldset>
52     <legend>DQM Output Root File Access</legend>
53     <label id="location"
54 dutta 1.2 style="margin-left:1%;margin-right:1%">
55     File Type :
56 dutta 1.1 </label>
57 dutta 1.2 <select name="FileLocation"
58     id="file_location"
59     style="width:20%;mergin_top:5%;mergin_bottom:10%"
60 dutta 1.3 <option value="cruzet4" SELECTED> Cruzet4 </option>
61     <option value="craft"> Craft </option>
62 dutta 1.2 <option value="mwgr"> MWGR33 </option>
63 dutta 1.3 <option value="cruzet3"> Cruzet3 </option>
64 dutta 1.2 <option value="conddb"> CondDB </option>
65     <option value="local"> TIF </option>
66     <option value="castor"> Castor </option>
67     </select>
68 dutta 1.1 <input name="update_filelist"
69     id="update_files"
70     value="Update "
71 dutta 1.2 style="width:20%;margin-left:30%;mergin_bottom:10%"
72 dutta 1.1 onmouseover="ddrivetip('Update file list','#EAFFF9',100);"
73     onmouseout="hideddrivetip();"
74     onClick="RequestFileList()"
75     type="submit">
76     </input>
77 dutta 1.2 <br/>
78     <br/>
79 dutta 1.1 <label id="files"
80 dutta 1.2 style="margin-left:1%;margin-right:5%;mergin_top:5%;">
81 dutta 1.1 Current :
82     </label>
83     <select name="file_list"
84     id="file_names"
85 dutta 1.2 style="width:65%;mergin_top5%"
86 dutta 1.1 onmouseover="ddrivetip('List of files','#EAFFF9',80);"
87     onmouseout="hideddrivetip();"
88     </select>
89     <br>
90     <label id="ref_files"
91 dutta 1.2 style="margin-left:1%;margin-right:2%">
92 dutta 1.1 Reference:
93     </label>
94     <select name="ref_file_list"
95     id="ref_file_names"
96 dutta 1.2 style="width:65%;mergin_top2%"
97 dutta 1.1 onmouseover="ddrivetip('List of files','#EAFFF9',80);"
98     onmouseout="hideddrivetip();"
99     </select>
100 dutta 1.2 <br>
101     <input type="checkbox"
102     class="check"
103     style="margin-right:2%;margin-left:2%"
104     id="add_reference"
105     name="AddReference">
106     Add Ref.
107     </input>
108     <input type="checkbox"
109     class="check"
110     style="margin-right:2%;margin-left:2%"
111     id="norm_reference"
112     name="NormaliseReference">
113     Norm. Off
114     </input>
115 dutta 1.1 </fieldset>
116     </div>
117     <div id="dhtmlgoodies_tabView1" style="float=right:width:50%;padding:0.1% 0%">
118     <div class="dhtmlgoodies_aTab">
119     <div class="bloc" id="bloc2_2">
120     <div class="bloc" id="bloc2_2_1"
121     <fieldset>
122     <label id="summ_plot"
123     style="margin-left:2%">
124     Select & Plot Summary:
125     </label>
126     <select name="SummaryPlotType"
127     id="summary_plot_type"
128     style="width:30%;height:5%;text-align;margin-right:2%">
129     <option value="Global_Tracks"> Global Tracks </option>
130     <option value="Local_Tracks"> Local Tracks </option>
131     </select>
132     <input name="DrawSummary"
133     id="draw_summary"
134     value="DrawSummary"
135     style="width:25%;"
136     onClick="DrawSelectedSummary();"
137     type="submit">
138     </input>
139     <br/>
140     <br/>
141     <input name="QtestResultLite"
142     id="check_qtest_result_lite"
143     value="QTest Result"
144     style="width:30%;margin-left:2%;margin-bottom:1%;margin-top:1%;margin-right:2%"
145     onClick="CheckQualityTestResult(0)"
146     type="submit">
147     </input>
148     <input name="QtestResultDetail"
149     id="check_qtest_result_detail"
150     value="QTest Result Detail"
151     style="width:30%;margin-left:2%;margin-bottom:1%;margin-top:1%;margin-right:2%"
152     onClick="CheckQualityTestResult(1)"
153     type="submit">
154     </input>
155     </fieldset>
156     </div>
157 dutta 1.2 <div class="block" id="summary_status_area" style="overflow:scroll;height:390px;width:100%;background:#FFF8C9">
158 dutta 1.1 </div>
159     </div>
160     </div>
161     <div class="dhtmlgoodies_aTab">
162     <div class="bloc" id="bloc2_3">
163     <div class="bloc" id="bloc2_3_1"
164     onmouseover="ddrivetip('Select a sub-detector type and get the tree with summary histograms','#EAFFF9',120);"
165     onmouseout="hideddrivetip();">
166     <fieldset>
167     <label id="structures"
168     style="margin-left:10%">
169     Sub-Detectors:
170     </label>
171     <select name="struc_name"
172     id="structure_name"
173 dutta 1.2 style="width:35%;height:5%;text-align;margin-right:2%">
174 dutta 1.1 <option value="SiStrip/MechanicalView/TIB" SELECTED> TIB </option>
175     </select>
176     <input name="listsummary"
177     id="list_summary"
178     value="Get Tree"
179 dutta 1.2 style="width:20%;margin-left:2%;margin-top:2%"
180 dutta 1.1 onClick="RequestSummaryHistoList()"
181     type="submit">
182     </input>
183     </fieldset>
184     </div>
185     </br>
186 dutta 1.2 <div class="bloc" id="tree_list" style="overflow:scroll;height:450px;width:100%;background:#FFF;">
187 dutta 1.1 </div>
188     </div>
189     </div>
190     <div class="dhtmlgoodies_aTab">
191     <div class="bloc" id="bloc2_4">
192     <div class="bloc" id="bloc2_4_1"
193     onmouseover="ddrivetip('Select a sub-detector type and get the tree with alarm','#EAFFF9',120);"
194     onmouseout="hideddrivetip();">
195     <fieldset>
196     <label id="alarm_structures"
197     style="margin-left:10%">
198     Sub-Detectors:
199     </label>
200     <select name="struc_alarm"
201     id="structure_for_alarm"
202 dutta 1.2 style="width:35%;height:5%;text-align;margin-right:2%">
203 dutta 1.1 <option value="SiStrip/MechanicalView/TIB" SELECTED> TIB </option>
204     </select>
205     <input name="listalarm"
206     id="read_alarm"
207     value="Get Alarms"
208 dutta 1.2 style="width:20%;margin-left:2%;margin-top:2%"
209 dutta 1.1 onClick="RequestAlarmList()"
210     type="submit">
211     </input>
212     </fieldset>
213     </div>
214     </br>
215 dutta 1.2 <div class="bloc" id="alarm_list" style="overflow:scroll;height:300px;width:100%;background:#FFF;">
216 dutta 1.1 </div>
217 dutta 1.2 <div class="block" id="status_area" style="overflow:scroll;height:150px;width:100%;background:#FFF8C9">
218 dutta 1.1 </div>
219     </div>
220     </div>
221     <div class="dhtmlgoodies_aTab">
222     <div class="bloc" id="bloc2_5" style="background:#A9FF84">
223     <div class="bloc" id="bloc2_5_1" style="background:#A9FF84">
224     <fieldset>
225     <input type="radio"
226     class="radio"
227 dutta 1.2 style="margin-right:0%margin-top:1%;margin-bottom:1%;"
228 dutta 1.1 onmouseover="ddrivetip('Module Histogramss','#EAFFF9',120);"
229     onmouseout="hideddrivetip();"
230     id="module_histos"
231     name="HistoTypeSelection"
232     checked>
233 dutta 1.2 Modules for Struc.
234 dutta 1.1 </input>
235 dutta 1.2 <select name="struc_expert"
236     id="structure_for_expert"
237     style="width:30%;height:5%;text-align;margin-right:2%">
238     <option value="SiStrip/MechanicalView/TIB" SELECTED> TIB </option>
239     </select>
240 dutta 1.1 <select name="mod_num"
241     id="module_numbers"
242     style="margin-left:1%;position:absolute;z-index:0;width:120px;clip:rect(0px,120px,22px,100px);"
243     onChange="SetSelectedValue();">
244     </select>
245     <input type="text"
246     name="mod_num_edit"
247     id="module_number_edit"
248     style="margin-left:1%;position:absolute;z-index:1000;width:100px;"
249 dutta 1.2 onsubmit="DummyAction();">
250     </input>
251     <br>
252     <input type="radio"
253     class="radio"
254     style="margin-right:0%;margin-top:1%;margin-bottom:1%;"
255     onmouseover="ddrivetip('Global Histograms','#EAFFF9',120);"
256     onmouseout="hideddrivetip();"
257     id="global_histos"
258     name="HistoTypeSelection">
259     Global Histo Path
260     </input>
261     <input type="text"
262     name="global_histo_path"
263     id="ghisto_path"
264     style="margin-left:1%;position:absolute;z-index:1000;width:120px;"
265     value="Tracks"
266 dutta 1.1 </input>
267     <input name="listhisto"
268     id="list_histos"
269 dutta 1.2 value="Get List"
270     style="margin-left:5%;margin-top:-5%;float:right;"
271 dutta 1.1 onmouseover="ddrivetip('Get list of histograms for selected choice','#EAFFF9',200);"
272     onmouseout="hideddrivetip();"
273     onClick="RequestModuleHistoList()"
274     type="submit">
275     </input>
276     </fieldset>
277     </div>
278     <div class="bloc" id="bloc2_5_2">
279     <fieldset>
280     <select size=12 multiple
281 dutta 1.2 style="width:100%;font-size:13pt;"
282 dutta 1.1 name="HistoListArea"
283     id="histolistarea">
284     </select>
285     </fieldset>
286     </div>
287     <div class="bloc" id="bloc2_5_3"
288     onmouseover="ddrivetip('Different drawing options for histograms','#EAFFF9',120);"
289     onmouseout="hideddrivetip();">
290     <fieldset style="background:#FFAD5A;">
291     <legend >Drawing Options</legend>
292     <input type="checkbox"
293     class="check"
294     style="margin-right:2%"
295     id="logy"
296     name="logy">
297     Toggle logy
298     </input>
299     <label id="zoom"
300 dutta 1.2 style="margin-left:10%">
301     Zoom X-Axis:
302 dutta 1.1 </label>
303     <input type="text"
304     style="width:13%;border:1px solid #000;"
305     value=""
306     id="x-low"
307     name="xLow">
308     </input>
309     <input type="text"
310     style="width:13%;border:1px solid #000;"
311     value=""
312     id="x-high"
313     name="xHigh">
314     </input>
315     <br/>
316     <input type="checkbox"
317     class="check"
318     style="margin-right:2%"
319     id="multizone"
320     name="MultiZone">
321     Multiple Plot
322     </input>
323     <label id="rows"
324 dutta 1.2 style="margin-left:10%">
325 dutta 1.1 Rows:
326     </label>
327     <input type="text"
328     style="width:5%;border:1px solid #000;margin-top:2%"
329     value="1"
330     id="nrow"
331     name="nRows">
332     </input>
333     <label id="cols"
334     style="margin-left:2%">
335     Columns:
336     </label>
337     <input type="text"
338     style="width:5%;border:1px solid #000;;margin-top:2%"
339     value="1"
340     id="ncol"
341     name="nColumns">
342     </input>
343     <br/>
344     <label id="drawing_option_label"
345     style="margin-left:1%;margin-top:2%">
346 dutta 1.2 Draw Option:
347 dutta 1.1 </label>
348     <select name="draw_opt"
349     id="drawing_options"
350 dutta 1.2 style="width:20%;margin-top:2%;margin-right:2%"
351 dutta 1.1 <option value=" " SELECTED>Normal</option>
352     <option value="BOX">Box</option>
353     <option value="LEGO1">Lego1</option>
354     <option value="LEGO2">Lego2</option>
355     <option value="projection">Y-Projection</option>
356     </select>
357     <input name="drawhisto"
358     id="draw_histos"
359     value="Draw Histogram(s)"
360 dutta 1.2 style="width:40%;margin-left:5%;margin-top:2%"
361 dutta 1.1 onClick="DrawSelectedHistos();"
362     type="submit">
363     </input>
364     <br/>
365     </fieldset>
366     </div>
367     </div>
368     </div>
369 dutta 1.4 <div class="dhtmlgoodies_aTab">
370     <div class="bloc" id="bloc2_6" style="background:#A9FF84">
371     <div class="bloc" id="bloc2_6_1" style="background:#A9FF84">
372     <fieldset>
373     <input name="listmacro"
374     id="list_macros"
375     value="List Macros"
376     style="margin-left:1%;float:left;"
377     onmouseover="ddrivetip('Get list of ROOT macros ','#EAFFF9',200);"
378     onmouseout="hideddrivetip();"
379     onClick="RequestMacroList()"
380     type="submit">
381     </input>
382     <input name="executemacro"
383     id="execute_macro"
384     value="Execute Macro"
385     style="margin-left:1%;float:right;"
386     onmouseover="ddrivetip('Get list of ROOT macros ','#EAFFF9',200);"
387     onmouseout="hideddrivetip();"
388     onClick="ExecuteSelectedMacro()"
389     type="submit">
390     </input>
391    
392     </fieldset>
393    
394    
395     </div>
396     <div class="bloc" id="bloc2_6_2">
397     <fieldset>
398     <select size=12
399     style="width:100%;font-size:13pt;"
400     name="MacroListArea"
401     id="macrolistarea">
402     </select>
403     </fieldset>
404     </div>
405     </div>
406     </div>
407 dutta 1.1 </div>
408     </fieldset>
409     </div>
410 dutta 1.4
411 dutta 1.1 </form>
412     </body>
413     </html>