source: ether_visual/trunk/form_parameters.jsp @ 511

Last change on this file since 511 was 17, checked in by cbipsl, 18 years ago

ajout V3

  • Property svn:executable set to *
File size: 5.7 KB
Line 
1<%
2if (!graph_sel.equals(_2D_TRAJECTORY)) {
3%>
4
5<tr>
6<td>
7<table border="0" cellpadding="2" cellspacing="2" width="800">
8<tr><td colspan=5 class="<%=class_axis%>"><b>PARAMETERS</b></td></tr>
9<tr>
10        <td class="<%=class_component%>" colspan=2 nowrap>Component</td>
11        <td width="10%">&nbsp;</td>
12        <%
13        if (!file_type_abs.equals("densite")) {%>
14                <%if (graph_sel.equals(XY_PLOT)) {%>
15                <td class="<%=class_vertical_scale%>" colspan=2>Component in Y axis</td>
16                <%}
17                else {%>
18                <td class="<%=class_vertical_scale%>">Vertical scale</td>
19                <%}%>
20        <%}
21        else {%>
22                <%if (graph_sel.equals(XY_PLOT)) {%>
23                <td class="<%=class_vertical_scale%>" colspan=2>Component in Y axis</td>
24                <%}
25                else {%>
26                <td class=normal><b>Density column data : no vertical scale to select</b></td>
27                <%}%>
28        <%}%>
29</tr>
30<tr>
31<td colspan=2 nowrap valign="top">
32        <select <%=dis_component%> size=5 name="sel_par_abs" onChange="if (document.thisForm.lance.value!='') document.thisForm.lance.value='0';document.thisForm.sel_unit_abs.value='';document.thisForm.colour_bar_title.value='';if (document.thisForm.graph_sel.value=='<%=TIME_ANALYSIS%>') {initForm('6');}else {initForm('5');}return blocForm();">
33                <%=par_options_abs%>
34        </select>
35</td>
36        <td>&nbsp;</td>
37        <%if (!file_type_abs.equals("densite") && !graph_sel.equals(TIME_ANALYSIS)) {%>
38        <%if (graph_sel.equals(XY_PLOT)) {%>
39        <td width="100%" colspan=2>
40        <%}
41        else {%>
42        <td width="100%">
43        <%}%>
44        <select name="sel_par_ord" size=5 onChange="if (document.thisForm.lance.value!='') document.thisForm.lance.value='0';if (document.thisForm.graph_sel.value!='<%=VERTICAL_ANALYSIS%>' && document.thisForm.graph_sel.value!='<%=TIME_ANALYSIS%>' && document.thisForm.graph_sel.value!='<%=XY_PLOT%>') {document.
45thisForm.ftitle.value=''};initForm('6');blocForm();updateTitle('clear');" <%=dis_vertical_scale%>>
46                <%=par_options_ord%>
47        </select><br><span class="normal"><i>Data calculated come from ECMWF data or from a model</i></span>
48        </td>
49<%}
50        else {
51        if (!file_type_abs.equals("densite")) {%>
52        <%if (!(sel_par_ord.equals("") && !sel_par_abs.equals(""))) {
53                if (class_vertical_scale.equals("inactif")) {%>
54                <td width="100%" valign=top class="inactif2"><b>Time</span></b>
55                <%
56                }
57                else {%>
58                <td width="100%" valign=top class="normal"><b>Time</b>
59                <%}
60        }
61        else {%>
62        <td width="100%" valign=top class="normal">
63        <b>No Time data to select</b>
64        <%}
65        }%>
66        &nbsp;
67        <input type=hidden value="<%=sel_par_ord%>" name="sel_par_ord">
68        </td>
69        <%}%>
70</tr>
71<tr>
72<%if (!file_type_abs.equals("densite") && !graph_sel.equals(TIME_ANALYSIS)) {%>
73        <td class="<%=class_component%>" nowrap>Units</td>
74        <td class="<%=class_component%>" nowrap>Sub-parameter</td>
75        <td>&nbsp;</td>
76        <%if (graph_sel.equals(XY_PLOT)) {%>
77        <td class="<%=class_vertical_scale%>" valign="top" width="75%">Units</td>
78        <td class="<%=class_vertical_scale%>" valign="top" width="25%">Sub-parameter</td>
79        <%}
80        else {
81        %>
82        <td class="<%=class_vertical_scale%>" valign="top" width=100% colspan=2>Units</td>
83        <%}%>
84<%}
85 else {%>
86        <td class="<%=class_component%>" nowrap>Units</td>
87        <td class="<%=class_component%>" nowrap>Sub-parameter</td>
88        <td>&nbsp;</td>
89        <td width="100%">&nbsp;</td>
90
91<%}%>
92</tr>
93<tr>
94        <td nowrap>
95<select <%=dis_component%> name="sel_unit_abs" onChange="updateLegend()">
96                <%=unit_options_abs%>
97                </select>
98                <br><span class="normal"><i>The first unit in the list<br>corresponds to the file experiment unit</i></span>
99        </td>
100        <td nowrap valign="top" onChange="if (document.thisForm.graph_sel.value==<%=TIME_ANALYSIS%>) {initForm('6');} else {initForm('5');};return blocForm();"><select <%=dis_component%> name="sel_sspar_abs"><%=sspar_options%></select></td>
101        <td>&nbsp;</td>
102<%if (!file_type_abs.equals("densite") && !graph_sel.equals(TIME_ANALYSIS)) {%>
103        <%if (graph_sel.equals(XY_PLOT)) {%>
104                <td width="75%" valign="top">
105                <select name="sel_unit_ord" <%=dis_vertical_scale%> onChange="document.thisForm.unit_observation_height.value=document.thisForm.sel_unit_ord.value;updateTitle('clear');updateOverview();">
106                <%=unit_options_ord%>
107                </select>
108                </td>
109                <td width="25%" valign="top">
110                <select name="sel_sspar_ord" <%=dis_vertical_scale%> onChange="updateOverview();">
111                <%=ssparord_options%>
112                </select>
113                </td>
114        <%}
115        else {%>
116        <td width="100%" valign="top">
117        <select name="sel_unit_ord" <%=dis_vertical_scale%> onChange="document.thisForm.unit_observation_height.value=document.thisForm.sel_unit_ord.value;updateTitle('clear');updateOverview();">
118        <%=unit_options_ord%>
119        </select>
120        </td>
121<%}%>
122<%}else {%>
123        <td width="100%">&nbsp;
124        <input type=hidden name="sel_unit_ord" value="<%=sel_unit_ord%>"></td>
125<%}%>
126</tr>
127
128</table>
129</td>
130</tr>
131
132<%}
133else {%>
134<tr>
135<td>
136<input type=hidden name="sel_par_abs" value="">
137<input type=hidden name="sel_par_ord" value="">
138<input type=hidden name="sel_sspar_abs" value="">
139<input type=hidden name="sel_sspar_ord" value="">
140<input type=hidden name="sel_unit_ord" value="">
141<input type=hidden name="sel_unit_abs" value="">
142</td>
143</tr>
144
145<%}%>
146
Note: See TracBrowser for help on using the repository browser.