Changeset 254 for ether_megapoli


Ignore:
Timestamp:
11/16/11 20:01:00 (13 years ago)
Author:
vmipsl
Message:

extract

Location:
ether_megapoli/trunk/web
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/web/data/access/extract.jsp

    r249 r254  
    1 <%@ page import="com.medias.Context" contentType="text/html; charset=UTF-8"%> 
     1<%@ page language="java" contentType="text/html; charset=UTF-8"%> 
    22<%@ page import="com.medias.Calcul"%> 
    3 <%@ page import="java.util.ArrayList"%> 
    4 <%@ page language="java" contentType="text/html; charset=UTF-8"%> 
    53<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%> 
    64<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%> 
     
    86<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%> 
    97<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested"%> 
    10                              extract.jsp 
    11 <tiles:insert page="/resources/templates/template.jsp" flush="true"> 
    12  
    13         <bean:define type="java.lang.String" id="relativePath" value="<%=Context.getRelativePath(request)%>"/> 
    14         <bean:define type="java.lang.String" id="contextPath" value="<%=request.getContextPath()%>"/> 
    15         <tiles:put name="nav" value='<%=relativePath+"/navDatas.jsp"%>'/> 
    16  
    17         <tiles:put name="title" type="string"> 
    18                 <bean:message key="app.title"/> - <bean:message key="data.access.extract"/> 
    19         </tiles:put> 
    20  
    21         <tiles:put name="bodytitle" type="string"> 
    22                 <bean:message key="data.access.extract"/> 
    23         </tiles:put> 
     8<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 
     9 
     10<tiles:insert page="/resources/templates/templateMegapoli.jsp" flush="true"> 
     11 
     12    <tiles:put name="insertCss" type="string"> 
     13        <%--<ether:htmlCss cssFile="medias_new"/>--%> 
     14    </tiles:put> 
     15 
     16    <tiles:put name="insertJsOrJsp" type="string"> 
     17        <ether:htmlJs jsFile="maj"/> 
     18        <ether:htmlJs jsFile="medias/ajax"/> 
     19        <ether:htmlJs jsFile="medias/scw"/> 
     20 
     21        <script type="text/javascript"> 
     22            <!-- 
     23          var popup; 
     24 
     25          function popupWindow (url, name, configuration) 
     26          { 
     27              popup = window.open (url, name, configuration); 
     28          } 
     29 
     30          function closePopupWindow () 
     31          { 
     32              popup.close (); 
     33          } 
     34          --> 
     35        </script> 
     36    </tiles:put> 
     37 
     38    <tiles:put name="title" type="string"><bean:message key="app.title"/> - <bean:message key="data.access.extract"/></tiles:put> 
     39    <tiles:put name="nav" type="string"> 
     40        <html:link page="/index.jsp"><bean:message key="app.home"/></html:link>&nbsp;&gt; 
     41        <html:link page="/data?methodName=viewDataResume"><bean:message key="app.data"/></html:link>&nbsp;&gt; 
     42        <html:link page="/DataAccess.do"><bean:message key="data.access.extract"/></html:link> 
     43    </tiles:put> 
     44 
     45    <%--****************** CONTENT ****************** --%> 
     46        <tiles:put name="bodytitle" type="string"><bean:message key="data.access.extract"/></tiles:put> 
    2447 
    2548        <tiles:put name="body" type="string"> 
    26                 <%--bean:message key="errors.access.failed.sel"/><br/--%> 
    2749                <span class="legende" style="font-size: 12px"><bean:message key="app.mandatory2"/></span><br/> 
    28                 <div id="errors" style="font-size: 12px"> 
    29                         <div><html:errors property="latMax"/></div> 
    30                         <div><html:errors property="lonMax"/></div> 
    31                         <div><html:errors property="dateFin"/></div> 
    32                 </div> 
    33                 <div id="messages"> 
     50        <logic:present name="<%=org.apache.struts.Globals.ERROR_KEY%>"> 
     51            <div id="errors"> 
     52                <div><html:errors property="latMax"/></div> 
     53                <div><html:errors property="lonMax"/></div> 
     54                <div><html:errors property="dateFin"/></div> 
     55            </div> 
     56        </logic:present> 
     57 
     58        <div id="messages"> 
    3459                        <html:messages id="mess" property="<%=org.apache.struts.action.ActionMessages.GLOBAL_MESSAGE%>" message="true"> 
    3560                                <bean:write name="mess"/> 
    3661                        </html:messages> 
    3762                </div> 
     63        <br/> 
    3864 
    3965                <html:form action="/DataSubmit"> 
    4066 
    4167                <nested:root name="datasForm"> 
    42                 <table border="2" width="750px"> 
    43                         <tr><td width="250px" rowspan="2" valign="top"> 
    44                                 <table bgcolor="#E6E6FA" width="100%"> 
     68                <table class="roundTable" border="1" width="100%"> 
     69                        <tr> 
     70 
     71                <td width="250px" rowspan="2" valign="top"> 
     72                <%--************************************************ --%> 
     73                <%--****************** PLATEFORMS ****************** --%> 
     74                <%--************************************************ --%> 
     75                                <table bgcolor="#E8EFF3" width="100%"> 
    4576                                        <tr> 
    4677                                                <th class="titleBox"> 
     
    4980                                                </th> 
    5081                                        </tr> 
    51                                         <%--tr> 
    52                                                 <th width="30px"><bean:message key="data.access.metadata.plat.type2"/></th> 
    53                                                 <td><input type="checkbox" name="selTypePlat" onclick="selectTypePlat('${contextPath}',this.value,this.checked)" value="fix"><bean:message key="data.access.plat.fixe2"/>&nbsp;&nbsp; 
    54                                                 <input type="checkbox" name="selTypePlat" onclick="selectTypePlat('${contextPath}',this.value,this.checked)" value="mob"><bean:message key="data.access.plat.mobile2"/></td> 
    55                                         </tr--%> 
    56                                         <tr> 
    57                                                 <%--th width="30px" valign="top"><bean:message key="data.upload.metadata.plat.nom"/></th--%> 
     82                                        <tr> 
    5883                                                <td> 
    59                                                         <%--html:select name="datasForm" property="selectPlats" multiple="true" size="3"> 
    60                                                                 <nested:iterate property="plateformes" indexId="platId"> 
    61                                                                         <nested:define id="idP" property="plateformeId"/> 
    62                                                                         <option value="${idP}" id="plat_${platId}"><nested:write property="plateformeNom"/></option> 
    63                                                                 </nested:iterate> 
    64                                                         </html:select--%> 
    6584                                                        <div style="height: 150px; overflow: auto" id="listPlateformes"> 
    6685                                                        <bean:define id="nomTypePlatPrec" value=""/> 
     
    89108                                                                                <td nowrap style="font-size: 11px"> 
    90109                                                                                        <html:multibox property="selectPlats" value="${idP}" onchange="selectElem(this.checked,'nbPlatsTxt')"/> 
    91                                                                                         <html:link page="/DescPlateforme.do" titleKey="data.access.plat4" paramName="idP" paramId="idPlat"> 
     110                                                                                        <html:link page="/DescPlateforme.do" titleKey="data.access.plat4" paramName="idP" paramId="idPlat" styleClass="elementExtract"> 
    92111                                                                                                <nested:write property="plateformeNom"/> 
    93112                                                                                        </html:link> 
     
    100119                                        </tr> 
    101120                                </table> 
    102                         </td><td width="250px" rowspan="2" valign="top"> 
    103                                 <table bgcolor="#E6E6FA" width="100%"> 
     121                            </td> 
     122 
     123                <td width="250px" rowspan="2" valign="top"> 
     124                <%--************************************************ --%> 
     125                <%--****************** DATA SETS ******************* --%> 
     126                <%--************************************************ --%> 
     127                                <table bgcolor="#E8EFF3" width="100%"> 
    104128                                        <tr> 
    105129                                                <th class="titleBox"> 
     
    150174                                        </tr> 
    151175                                </table> 
    152                         </td><td width="250px" valign="top"> 
     176                        </td> 
     177 
     178                <td width="250px" valign="top"> 
     179                <%--************************************************ --%> 
     180                <%--******************** PERIOD ******************** --%> 
     181                <%--************************************************ --%> 
    153182                                <table width="100%"> 
    154183                                        <tr> 
     
    172201                                        </tr> 
    173202                                </table> 
    174                         </td></tr> 
    175                         <tr><td valign="top"> 
     203                            </td> 
     204            </tr> 
     205 
     206            <tr> 
     207                <td valign="top"> 
     208                <%--************************************************ --%> 
     209                <%--******************* ZONE... ******************** --%> 
     210                <%--************************************************ --%> 
    176211                                <table width="100%"> 
    177212                                        <tr> 
     
    187222                                        </tr> 
    188223                                </table> 
    189                         </td></tr> 
    190                         <tr><td width="500px" colspan="2" valign="top"> 
    191                                 <table bgcolor="#E6E6FA" width="100%"> 
     224                            </td> 
     225            </tr> 
     226 
     227            <%--*************************************************************************************************** --%> 
     228 
     229                        <tr> 
     230                <td width="500px" colspan="2" valign="top"> 
     231                <%--************************************************ --%> 
     232                <%--****************** PARAMETERS ****************** --%> 
     233                <%--************************************************ --%> 
     234                                <table bgcolor="#E8EFF3" width="100%"> 
    192235                                        <tr> 
    193236                                                <th class="titleBox"> 
     
    353396                                        </tr> 
    354397                                </table> 
    355                         </td><td width="250px" valign="top"> 
    356                                 <table bgcolor="#E6E6FA" width="100%"> 
     398                            </td> 
     399 
     400                <td width="250px" valign="top"> 
     401                <%--************************************************ --%> 
     402                <%--******************** SENSORS ******************* --%> 
     403                <%--************************************************ --%> 
     404                                <table bgcolor="#E8EFF3" width="100%"> 
    357405                                        <tr> 
    358406                                                <th class="titleBox"> 
     
    405453                                        </tr> 
    406454                                </table> 
    407                         </td></tr> 
     455                            </td> 
     456            </tr> 
    408457                </table> 
    409                 <table width="750px"> 
    410                         <tr><td class="legende" align="left" style="font-size: 10px"> 
    411                                 * <bean:message key="app.mandatory"/> 
    412                         </td><td align="right"> 
    413                                 <%--html:cancel><bean:message key="app.cancel"/></html:cancel--%> 
    414                                 <html:reset onclick="resetExtractForm()"><bean:message key="app.reset"/></html:reset> 
    415                                 <html:submit><bean:message key="app.submit"/></html:submit> 
    416                         </td></tr> 
    417                 </table> 
    418                 <%--div class="hdp" align="right"> 
    419                         <html:link page="/data/access/extract.jsp" anchor="top" titleKey="app.hdp"> 
    420                                 <html:img page="/resources/images/utils/hdp1.png"/> 
    421                         </html:link> 
    422                 </div--%> 
    423                 </nested:root> 
     458 
     459        <%--************************************************ --%> 
     460        <%--******************* BUTTONS ******************** --%> 
     461        <%--************************************************ --%> 
     462        <table width="100%"> 
     463            <tr> 
     464                <td class="legende" align="left" style="font-size: 10px">* <bean:message key="app.mandatory"/></td> 
     465                <td align="right"> 
     466                    <html:reset onclick="resetExtractForm()"><bean:message key="app.reset"/></html:reset> 
     467                    <html:submit><bean:message key="app.submit"/></html:submit> 
     468                </td> 
     469            </tr> 
     470        </table> 
     471 
     472        </nested:root> 
    424473                </html:form> 
    425474        </tiles:put> 
  • ether_megapoli/trunk/web/data/desc_parameter.jsp

    r253 r254  
    2222         
    2323        <tiles:put name="bodytitle" type="string"> 
    24         <a name="top"></a> 
    2524                <nested:nest property="parametre"> 
    2625                        <bean:message key="data.access.param1"/> : <nested:write property="parametreNom"/> 
  • ether_megapoli/trunk/web/data/desc_plateform.jsp

    r253 r254  
    2323         
    2424        <tiles:put name="bodytitle" type="string"> 
    25         <a name="top"></a> 
    2625                <nested:nest property="plateforme"> 
    2726                        <bean:message key="data.access.plat1"/> : <nested:write property="plateformeNom"/> 
  • ether_megapoli/trunk/web/data/desc_sensor.jsp

    r253 r254  
    2323         
    2424        <tiles:put name="bodytitle" type="string"> 
    25         <a name="top"></a> 
    2625                <nested:nest property="capteur"> 
    2726                        <bean:message key="data.access.capt1"/> : 
  • ether_megapoli/trunk/web/data/jeux.jsp

    r253 r254  
    2121 
    2222    <%--****************** CONTENT ****************** --%> 
    23     <tiles:put name="bodytitle" type="string"><a name="top"></a><bean:message key="data.access.jeux"/></tiles:put> 
     23    <tiles:put name="bodytitle" type="string"><bean:message key="data.access.jeux"/></tiles:put> 
    2424 
    2525    <tiles:put name="body" type="string"> 
  • ether_megapoli/trunk/web/data/metadataInfo.jsp

    r253 r254  
    2424 
    2525    <tiles:put name="bodytitle" type="string"> 
    26         <a name="top"></a> 
    2726        <nested:nest property="metadata"> 
    2827            <nested:nest property="pres"> 
  • ether_megapoli/trunk/web/data/parameter.jsp

    r253 r254  
    2121 
    2222    <%--****************** CONTENT ****************** --%> 
    23         <tiles:put name="bodytitle" type="string"><a name="top"></a><bean:message key="data.access.param"/></tiles:put> 
     23        <tiles:put name="bodytitle" type="string"><bean:message key="data.access.param"/></tiles:put> 
    2424 
    2525        <tiles:put name="body" type="string"> 
  • ether_megapoli/trunk/web/data/plateform.jsp

    r253 r254  
    2121 
    2222    <%--****************** CONTENT ****************** --%> 
    23         <tiles:put name="bodytitle" type="string"><a name="top"></a><bean:message key="data.access.plat"/></tiles:put> 
     23        <tiles:put name="bodytitle" type="string"><bean:message key="data.access.plat"/></tiles:put> 
    2424 
    2525        <tiles:put name="body" type="string"> 
  • ether_megapoli/trunk/web/data/sensor.jsp

    r253 r254  
    2222 
    2323    <%--****************** CONTENT ****************** --%> 
    24         <tiles:put name="bodytitle" type="string"><a name="top"></a><bean:message key="data.access.capt"/></tiles:put> 
     24        <tiles:put name="bodytitle" type="string"><bean:message key="data.access.capt"/></tiles:put> 
    2525 
    2626        <tiles:put name="body" type="string"> 
  • ether_megapoli/trunk/web/resources/css/ether.css

    r239 r254  
    5555.pair, .impair { 
    5656    width: 210px; 
    57     padding-top: 3px; 
    58     padding-bottom: 3px; 
     57    /*padding-top: 3px;*/ 
     58    /*padding-bottom: 3px;*/ 
    5959} 
    6060 
  • ether_megapoli/trunk/web/resources/css/megapoli.css

    r251 r254  
    149149} 
    150150 
    151 .containerErrors { 
     151.containerErrors, #errors { 
    152152    background: url("images/ui-bg_glass_95_fef1ec_1x400.png") repeat-x scroll 50% 50% #FEF1EC; 
    153153    -moz-border-radius: 4px 4px 4px 4px; 
     
    157157    padding: 10px; 
    158158    margin: 10px; 
     159} 
     160 
     161.containerErrors { 
    159162    display: none; 
    160163} 
     
    269272    padding: 0.5em; 
    270273} 
     274 
     275.elementExtract { 
     276    position: relative; 
     277    top: -2px; 
     278 
     279} 
  • ether_megapoli/trunk/web/resources/templates/templateMegapoli.jsp

    r253 r254  
    4040 
    4141<BODY> 
     42<a name="top"></a> 
    4243 
    4344<bean:define type="java.lang.String" id="lastModified" value="<%=Context.getLastModified(request, application)%>"/> 
  • ether_megapoli/trunk/web/visualization/visu_parameter_by_pf.jsp

    r251 r254  
    2727    </tiles:put> 
    2828 
    29     <tiles:put name="title" type="string"><bean:message key="app.title"/> - <bean:message 
    30             key="data.visualization.title"/></tiles:put> 
     29    <tiles:put name="title" type="string"><bean:message key="app.title"/> - <bean:message key="data.visualization.title"/></tiles:put> 
    3130    <tiles:put name="nav" type="string"> 
    3231        <html:link page="/index.jsp"><bean:message key="app.home"/></html:link>&nbsp;&gt; 
    3332        <html:link page="/visualization?methodName=view"><bean:message key="all.visualization"/></html:link>&nbsp;&gt; 
    34         <html:link page="/visualization?methodName=viewParametersByPlateform"><bean:message 
    35                 key="data.visualization"/></html:link> 
     33        <html:link page="/visualization?methodName=viewParametersByPlateform"><bean:message key="data.visualization"/></html:link> 
    3634    </tiles:put> 
    3735 
     
    7573                <div id="containerOptionPlotsSelect" class="span-10"></div> 
    7674                <div id="containerOptionPlotsButtons" class="span-10"> 
    77                     <img src="/megapoli/resources/icons/help.gif" id="toolTipPlots" height="19px" width="17px" 
    78                          class="toolTipPlots" onclick="javascript:onClickHelp();"> 
     75                    <img src="/megapoli/resources/icons/help.gif" id="toolTipPlots" height="19px" width="17px" class="toolTipPlots" onclick="javascript:onClickHelp();"> 
    7976                </div> 
    8077            </div> 
Note: See TracChangeset for help on using the changeset viewer.