source: ether_statistics/web/data/desc_plateform.jsp @ 569

Last change on this file since 569 was 569, checked in by vmipsl, 12 years ago

Nouveau projet

File size: 8.7 KB
Line 
1<%@ page language="java" contentType="text/html; charset=UTF-8"%>
2<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%>
3<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%>
4<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%>
5<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%>
6<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested"%>
7
8<tiles:insert page="/resources/templates/templateMegapoli.jsp" flush="true">
9
10    <tiles:put name="insertCss" type="string"></tiles:put>
11    <tiles:put name="insertJsOrJsp" type="string"></tiles:put>
12
13
14    <tiles:put name="title" type="string"><bean:message key="app.title"/> - <bean:message key="data.access.plat4"/></tiles:put>
15    <tiles:put name="nav" type="string">
16        <html:link page="/index.jsp"><bean:message key="app.home"/></html:link>&nbsp;&gt;
17        <html:link page="/data?methodName=viewCatalogResume"><bean:message key="data.access"/></html:link>&nbsp;&gt;
18        <html:link page="/data?methodName=viewPlateforms"><bean:message key="data.access.plat"/></html:link>
19    </tiles:put>
20
21    <%--****************** CONTENT ****************** --%>
22        <nested:root name="plateformeForm">
23       
24        <tiles:put name="bodytitle" type="string">
25                <nested:nest property="plateforme">
26                        <bean:message key="data.access.plat1"/> : <nested:write property="plateformeNom"/>
27                </nested:nest>
28        </tiles:put>
29
30        <tiles:put name="body" type="string">
31                    <logic:present name="<%=org.apache.struts.Globals.ERROR_KEY%>">
32        <div id="errors"><html:errors/></div>
33    </logic:present>
34
35                <div id="messages">
36                        <html:messages id="mess" property="<%= org.apache.struts.action.ActionMessages.GLOBAL_MESSAGE %>" message="true">
37                                <bean:write name="mess"/>
38                        </html:messages>
39                </div>
40               
41                <nested:notEqual property="path" value="">
42                        <nested:define id="chemin" property="path"/>
43<%
44        String dataSet;
45        if (((String)chemin).lastIndexOf("/")!=-1){
46                dataSet = ((String)chemin).substring(((String)chemin).lastIndexOf("/")+1,((String)chemin).lastIndexOf("_"));
47        } else {
48                dataSet = (String)chemin;
49        }
50%>
51                        <bean:define id="nomJeu" value="<%=dataSet%>"/>
52                        <div class="submit">
53                                <html:link page="/MetadataInfo.do" paramName="chemin" paramId="metadataUri" titleKey="data.access.metadata.link">
54                                        <bean:message key="app.access.metadata.back"/>&nbsp;<bean:write name="nomJeu"/>
55                                </html:link>
56                        </div>
57                </nested:notEqual>
58               
59                <table>
60                        <nested:nest property="plateforme">
61                        <tr><th>
62                                <nested:nest property="typePlateforme">
63                                        <bean:message key="data.access.metadata.plat.type"/> : <nested:write property="typePlateformeNom"/>
64                                </nested:nest>
65                        </th></tr>
66                        <nested:notEqual property="plateformeDescription" value="">
67                                <tr><td>
68                                        <bean:message key="data.metadata.desc"/> : <nested:write property="plateformeDescription"/>
69                                </td></tr>
70                        </nested:notEqual>
71                        </nested:nest>
72                        <nested:define id="latMax" property="latMax"/>
73                        <nested:define id="lonMax" property="lonMax"/>
74                        <nested:define id="altMax" property="altMax"/>
75                        <%--nested:define id="hsMax" property="hsMax"/--%>
76                        <nested:notEqual property="latMin" value="${latMax}">
77                        <tr><td>
78                                <bean:message key="data.access.plat.latmin"/> : <nested:write property="latMin"/> <bean:message key="unit.deg"/>
79                        </td></tr>
80                        <tr><td>
81                                <bean:message key="data.access.plat.latmax"/> : <bean:write name="latMax"/> <bean:message key="unit.deg"/>
82                        </td></tr>
83                        </nested:notEqual>
84                        <nested:equal property="latMin" value="${latMax}">
85                        <tr><td>
86                                <bean:message key="data.access.plat.lat"/> : <nested:write property="latMin"/> <bean:message key="unit.deg"/>
87                        </td></tr>
88                        </nested:equal>
89                        <nested:notEqual property="lonMin" value="${lonMax}">
90                        <tr><td>
91                                <bean:message key="data.access.plat.lonmin"/> : <nested:write property="lonMin"/> <bean:message key="unit.deg"/>
92                        </td></tr>
93                        <tr><td>
94                                <bean:message key="data.access.plat.lonmax"/> : <bean:write name="lonMax"/> <bean:message key="unit.deg"/>
95                        </td></tr>
96                        </nested:notEqual>
97                        <nested:equal property="lonMin" value="${lonMax}">
98                        <tr><td>
99                                <bean:message key="data.access.plat.lon"/> : <nested:write property="lonMin"/> <bean:message key="unit.deg"/>
100                        </td></tr>
101                        </nested:equal>
102                        <nested:notEqual property="altMin" value="${altMax}">
103                        <tr><td>
104                                <bean:message key="data.access.plat.altmin"/> : <nested:write property="altMin"/> m
105                        </td></tr>
106                        <tr><td>
107                                <bean:message key="data.access.plat.altmax"/> : <bean:write name="altMax"/> m
108                        </td></tr>
109                        </nested:notEqual>
110                        <nested:equal property="altMin" value="${altMax}">
111                        <tr><td>
112                                <bean:message key="data.access.plat.alt"/> : <nested:write property="altMin"/> m
113                        </td></tr>
114                        </nested:equal>
115                        <%--nested:notEqual property="hsMax" value="-1000000">
116                                <nested:notEqual property="hsMin" value="${hsMax}">
117                                <tr><td>
118                                        <bean:message key="data.access.plat.hsmin"/> : <nested:write property="hsMin"/>
119                                </td></tr>
120                                <tr><td>
121                                        <bean:message key="data.access.plat.hsmax"/> : <bean:write name="hsMax"/>
122                                </td></tr>
123                                </nested:notEqual>
124                                <nested:equal property="hsMin" value="${hsMax}">
125                                <tr><td>
126                                        <bean:message key="data.access.plat.hs"/> : <nested:write property="hsMin"/>
127                                </td></tr>
128                                </nested:equal>
129                        </nested:notEqual--%>
130                        <tr>
131                                <td>&nbsp;</td>
132                        </tr>
133                        </table>
134                        <nested:iterate property="images" indexId="imId">
135                        <nested:define id="pathImg" property=""/>
136                        <logic:notEqual name="pathImg" value="">
137                                <nested:equal name="imId" value="0">
138                                <table>
139                                        <tr>
140                                                <td>
141                                                        <div id="messages"><bean:message key="data.upload.metadata.plat.img"/> :</div>
142                                                </td>
143                                        </tr>
144                                </table>
145                                </nested:equal>
146                                <table>
147                                        <tr>
148                                                <td>
149                                                        <html:img src="${pathImg}" />
150                                                </td>
151                                        </tr>
152                                </table>
153                                &nbsp;
154                        </logic:notEqual>
155                        </nested:iterate>
156                        <nested:size id="nbCapts" property="capteurs"/>
157                        <table>
158                        <tr>
159                                <td>
160                                        <div id="messages"><bean:message key="data.access.capt3"/> (<bean:write name="nbCapts"/>) :</div>
161                                </td>
162                        </tr>
163                        <nested:iterate property="capteurs" indexId="captId">
164                                <tr>
165                                        <td>
166                                                <nested:define id="id" property="capteurId"/>
167                                                <html:link page="/DescCapteur.do" titleKey="data.access.capt4" paramName="id" paramId="idCapt">
168                                                        <nested:nest property="typeCapteur">
169                                                                <b><nested:write property="typeCapteurNom"/></b>
170                                                        </nested:nest>
171                                                        <nested:notEqual property="capteurModele" value="UNKNOWN">
172                                                                - <nested:write property="capteurModele"/>
173                                                        </nested:notEqual>
174                                                        <nested:notEqual property="fabriquant.fabriquantNom" value="UNKNOWN">
175                                                                - <nested:write property="fabriquant.fabriquantNom"/>
176                                                        </nested:notEqual>
177                                                        <nested:notEqual property="capteurNumserie" value="UNKNOWN">
178                                                                (<bean:message key="data.access.capt.nums"/>&nbsp;:&nbsp;<nested:write property="capteurNumserie"/>)
179                                                        </nested:notEqual>
180                                                </html:link>
181                                        </td>
182                                </tr>
183                        </nested:iterate>
184                        <tr>
185                                <td>&nbsp;</td>
186                        </tr>
187                        <tr>
188                                <td>
189                                        <nested:size id="nbParams" property="parametres"/>
190                                        <div id="messages"><bean:message key="data.access.param3"/> (<bean:write name="nbParams"/>) :</div>
191                                </td>
192                        </tr>
193                        <nested:iterate property="parametres" indexId="paramId">
194                                <tr>
195                                        <td>
196                                                <nested:define id="id" property="parametreId"/>
197                                                <html:link page="/DescParametre.do" titleKey="data.access.param4" paramName="id" paramId="idParam">
198                                                        <nested:write property="parametreNom"/> (<nested:write property="parametreCode"/>)
199                                                </html:link>
200                                        </td>
201                                </tr>
202                        </nested:iterate>
203                        <tr>
204                                <td>&nbsp;</td>
205                        </tr>
206                </table>
207                <nested:size id="nbJeux" property="jeux"/>
208                <table>
209                        <tr>
210                                <td>
211                                        <div id="messages"><bean:message key="data.access.jeux2"/> (<bean:write name="nbJeux"/>)&nbsp;:</div>
212                                </td>
213                        </tr>
214                        <nested:iterate property="jeux" indexId="jeuId">
215                                <tr>
216                                        <td>
217                                                <nested:define id="id" property="jeuId"/>
218                                                <html:link page="/MetadataInfo.do" titleKey="data.access.metadata.link" paramName="id" paramId="idJeu">
219                                                        <nested:write property="jeuNom"/>
220                                                </html:link>
221                                                <bean:define id="download" value="download"/>
222                                                <nested:notEqual property="nbFichiers" value="0">
223                            (<a onclick='javascript:neededLogin("/FichiersAccess.do?idJeu=<nested:write property="jeuId"/>")' title='<bean:message key="data.access.download.file"/>'>
224                                <nested:write property="nbFichiers"/>&nbsp;<bean:message key="data.access.metadata.files"/>
225                            </a>)
226                                                </nested:notEqual>
227                                        </td>
228                                </tr>
229                        </nested:iterate>
230                </table>
231
232        <div class="hdp" align="right">
233            <html:link href="#top" titleKey="app.hdp">
234                <html:img page="/resources/images/utils/fleche_haut.gif" width="20px" height="20px"/>
235            </html:link>
236        </div>
237
238        </tiles:put>
239        </nested:root>
240</tiles:insert>
Note: See TracBrowser for help on using the repository browser.