Changeset 239


Ignore:
Timestamp:
11/07/11 18:34:16 (13 years ago)
Author:
vmipsl
Message:

suppression des fichiers apple

Location:
ether_megapoli/trunk/web
Files:
7 deleted
6 edited
2 moved

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/web/index.jsp

    r228 r239  
    77<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 
    88 
    9 <tiles:insert page="/resources/templates/appleTemplate.jsp" flush="true"> 
     9<tiles:insert page="/resources/templates/templateEther.jsp" flush="true"> 
    1010 
    1111    <tiles:put name="insertCss" type="string"></tiles:put> 
  • ether_megapoli/trunk/web/resources/jsp/etherHead.jsp

    r130 r239  
    1 <%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 
     1<%@ page import="com.medias.Context" %> 
    22 
    3 <ether:htmlJs jsFile="library/prototype"/> 
    4 <ether:htmlJs jsFile="Request"/> 
    5 <ether:htmlJs jsFile="DomHelper"/> 
    6 <ether:htmlJs jsFile="etherHelper"/> 
    7 <ether:htmlJs jsFile="etherClasses"/> 
    8 <ether:htmlJs jsFile="Loading"/> 
     3<script type="text/javascript"> 
     4    var InterfaceTemplate = Class.create( { 
    95 
     6        initialize: function() 
     7        { 
     8            /** *********** CONTAINERS *********** **/ 
     9            this.containerTitle = $( "#title" ); 
     10            this.containerTools = $( "#tools" ); 
     11 
     12            /** *********** VARIABLES *********** **/ 
     13            this.isLanguageFr = <%=Context.getLangue(request).equals( "fr" )%>; 
     14            this.path = "<%=request.getContextPath()%>"; 
     15            this.webmaster = "<%=Context.getWebmaster(request)%>"; 
     16            this.relativePageUri = "<%=Context.getRelativePath( request )%>?<%=request.getQueryString()%>"; 
     17            this.jSONUser = <%=Context.getUser( request )%> ? <%=Context.getUser( request )%> : false; 
     18            this.screenWidthLimit = 1336; 
     19 
     20            /** ************ CREATE ************ **/ 
     21            this.createTitleTools(); 
     22            this.createLeftSlides(); 
     23            this.updateLogoEther(); 
     24        }, 
     25 
     26        // CREATES ******************************************************** 
     27        createTitleTools: function() 
     28        { 
     29            this.containerTitle.addClass( "containerTitle" ); 
     30            this.containerTitle.html( templateTexts["app.fulltitle"] ); 
     31 
     32            this.createLogin(); 
     33            var mailButton = new ComplexButton( {value:templateTexts["data.upload.metadata.contact.mail"], parent:this.containerTools, id:"button_mail", onClick:jQuery.proxy( this.onClickMail, this )} ); 
     34 
     35            var valueLanguage = templateTexts["app.fr"]; 
     36            if( this.isLanguageFr ) 
     37                valueLanguage = templateTexts["app.en"]; 
     38 
     39            var languageButton = new ComplexButton( {value:valueLanguage, parent:this.containerTools, id:"button_language", onClick:jQuery.proxy( this.onClickLanguage, this )} ); 
     40            var homeButton = new ComplexButton( {value:templateTexts["app.home"], parent:this.containerTools, id:"button_home", onClick:this.onClickHome} ); 
     41 
     42            var divSmallLogoEther = $( document.createElement( "div" ) ); 
     43            divSmallLogoEther.attr( {id:"smallLogoEther", class:"containerSmallLogoEther"} ); 
     44            divSmallLogoEther.append( '<a href="http://ether.ipsl.jussieu.fr" target="help"><img src="resources/images/logo_Ether.jpg" width="40px" height="40px"/></a>' ); 
     45            this.containerTools.append( divSmallLogoEther ); 
     46        }, 
     47 
     48        createLogin: function() 
     49        { 
     50            var containerLoginButton = $( "#button_login" ); 
     51 
     52            if( this.jSONUser ) 
     53            { 
     54                var textLogin = this.jSONUser.name + " " + this.jSONUser.firstName; 
     55                if( this.jSONUser.role && this.jSONUser.role == "coordinateur" ) 
     56                    textLogin += " (" + templateTexts["app.admin"] + ")"; 
     57 
     58                var loginButton = new ComplexButton( {value:textLogin, parent:this.containerTools, id:"button_login"} ); 
     59 
     60                $( "#button_login #button_middle #button_text" ).addClass( "containerUserLogout" ); 
     61 
     62                var loginMiddle = $( "#button_login #button_middle" ); 
     63                var divImgLogout = $( document.createElement( "div" ) ); 
     64                divImgLogout.addClass( "containerImgLogout" ); 
     65                divImgLogout.append( "<img src='resources/images/utils/logout.png' width='15px' height='15px/>" ); 
     66                divImgLogout.bind( "click", this.onClickLogout ); 
     67                loginMiddle.append( divImgLogout ); 
     68            } 
     69            else 
     70            { 
     71                var loginButton = new ComplexButton( {value:templateTexts["app.connexion"], parent:this.containerTools, id:"button_login"} ); 
     72 
     73                var loginMiddle = $( "#button_login #button_middle" ); 
     74                loginMiddle.empty(); 
     75                loginMiddle.attr( {id:"topnav", class:"topnav complexButton_middle"} ); 
     76                var aLogin = $( document.createElement( "a" ) ); 
     77                aLogin.attr( {href:"login", class:"signin"} ); 
     78                aLogin.html( "<span>" + templateTexts["app.connexion"] + "</span>" ); 
     79                loginMiddle.append( aLogin ); 
     80 
     81                $( document ).ready( function() 
     82                { 
     83                    $( ".signin" ).click( function( e ) 
     84                    { 
     85                        e.preventDefault(); 
     86                        $( "fieldset#signin_menu" ).toggle(); 
     87                        $( ".signin" ).toggleClass( "menu-open" ); 
     88                    } ); 
     89 
     90                    $( "fieldset#signin_menu" ).mouseup( function() 
     91                    { 
     92                        return false 
     93                    } ); 
     94 
     95                    $( document ).mouseup( function( e ) 
     96                    { 
     97                        if( $( e.target ).parent( "a.signin" ).length == 0 ) 
     98                        { 
     99                            $( ".signin" ).removeClass( "menu-open" ); 
     100                            $( "fieldset#signin_menu" ).hide(); 
     101                        } 
     102                    } ); 
     103                } ); 
     104 
     105                $( function() 
     106                { 
     107                    $( '#forgot_username_link' ).tipsy( {gravity: 'w'} ); 
     108                } ); 
     109            } 
     110        }, 
     111 
     112        createLeftSlides: function() 
     113        { 
     114            var divSlideCredits = new Slide( { contentId:"slideContentCredits", buttonId: "slideCredits", parent:$( "#creditSlide" ), isIndexToChange:true, 
     115                contentButton:"<img src='resources/icons/man_credits.gif' width='50px' height='50px'/><br/>" , contentSlide:"CREDDDDIIITS"} ); 
     116 
     117            var divSlideMentions = new Slide( { contentId:"slideContentMentions", buttonId: "slideMentions", parent:$( "#mentionSlide" ),specificButtonClass:"containerSlideButtonMentions", isIndexToChange:true, 
     118                contentButton:"<img src='resources/icons/man_mentions_2.png' width='50px' height='50px'/><br/>", contentSlide:"MENTIIIOOONNSS"} ); 
     119 
     120            var divSlideInfos = new Slide( { contentId:"slideContentInfos", buttonId: "slideInfos", parent:$( "#infoSlide" ), specificButtonClass:"containerSlideButtonInfos", isIndexToChange:true, 
     121                contentButton:"<img src='resources/icons/man_info.gif' width='50px' height='50px'/>", contentSlide:"IINNFFFOOOOSSS"} ); 
     122        }, 
     123 
     124        // EVENTS ******************************************************** 
     125        onClickHome: function() 
     126        { 
     127            document.location.href = "index.jsp"; 
     128        }, 
     129 
     130        onClickLogout: function() 
     131        { 
     132            document.location.href = "Disconnect.do"; 
     133        }, 
     134 
     135        onClickLanguage: function() 
     136        { 
     137            if( this.isLanguageFr ) 
     138                document.location.href = this.path + "/English.do?requestUri=" + this.relativePageUri; 
     139            else 
     140                document.location.href = this.path + "/French.do?requestUri=" + this.relativePageUri; 
     141        }, 
     142 
     143        onClickMail: function() 
     144        { 
     145            document.location.href = "mailto:" + this.webmaster + "?subject=[MEGAPOLI]"; 
     146        }, 
     147 
     148        /** 
     149         * This method display a small Ether logo if the screen is too small to contain the big one 
     150         */ 
     151        updateLogoEther: function() 
     152        { 
     153            if( this.screenWidthLimit > innerWidth ) 
     154            { 
     155                $( "#logoEther" ).hide(); 
     156                $( "#linkLogoEther" ).hide(); 
     157                $( "#smallLogoEther" ).show(); 
     158            } 
     159            else 
     160            { 
     161                $( "#logoEther" ).show(); 
     162                $( "#linkLogoEther" ).show(); 
     163                $( "#smallLogoEther" ).hide(); 
     164            } 
     165        } 
     166    } ); 
     167 
     168</script> 
  • ether_megapoli/trunk/web/resources/templates/templateEther.jsp

    r222 r239  
    1 <!-- /*** ****************** TEMPLATE ETHER ******************** **/ --> 
    21<%@ page language="java" import="com.medias.Context" %> 
    32<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> 
     
    54<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> 
    65<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> 
    7 <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> 
    86<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 
    97 
     
    1816    <link rel="shortcut icon" href="<html:rewrite page='/resources/images/megapoli/favicon.ico'/>"> 
    1917 
    20     <ether:htmlCss cssFile="medias_new"/> 
     18    <ether:htmlCss cssFile="apycom.com-4-steel-blue/menu"/> 
     19    <ether:htmlCss cssFile="complexButton"/> 
     20    <ether:htmlCss cssFile="TwitterLogin/front"/> 
     21    <ether:htmlCss cssFile="ether"/> 
    2122    <ether:htmlCss cssFile="megapoli"/> 
     23 
     24    <ether:htmlJs jsFile="library/jquery-1.4.2.min"/> 
     25    <ether:htmlJs jsFile="library/jquery.class"/> 
     26    <ether:htmlJs jsFile="library/jquery.protify-0.3"/> 
     27    <ether:htmlJs jsFile="classesForJQuery/etherHelper"/> 
     28    <ether:htmlJs jsFile="classesForJQuery/ComplexButton"/> 
     29    <ether:htmlJs jsFile="classesForJQuery/Slide"/> 
     30    <ether:htmlJs jsFile="apycom.com-4-steel-blue/menu"/> 
     31    <ether:htmlJs jsFile="TwitterLogin/javascripts/jquery.tipsy"/> 
     32 
     33    <ether:htmlResourceJsp jspFile="etherHead"/> 
    2234 
    2335    <tiles:insert attribute="insertCss"/> 
    2436    <tiles:insert attribute="insertJsOrJsp"/> 
    25     <ether:htmlJs jsFile="maj"/> 
    26     <ether:htmlJs jsFile="medias/ajax"/> 
    27     <ether:htmlJs jsFile="medias/scw"/> 
    28  
    29     <script type="text/javascript"> 
    30  
    31         <!-- 
    32       var popup; 
    33  
    34       function popupWindow (url, name, configuration) 
    35       { 
    36           popup = window.open (url, name, configuration); 
    37       } 
    38  
    39       function closePopupWindow () 
    40       { 
    41           popup.close (); 
    42       } 
    43       --> 
    44     </script> 
    4537</HEAD> 
    4638 
    4739<BODY> 
    48 <a name="top"></a> 
    4940 
    50 <%-- VARIABLES A NE PAS TOUCHER !!! --%> 
    5141<bean:define type="java.lang.String" id="lastModified" value="<%=Context.getLastModified(request, application)%>"/> 
    52 <bean:define type="java.lang.String" id="lang" value="<%=Context.getLangue(request)%>"/> 
    5342<bean:define type="java.lang.String" id="webmaster" value="<%=Context.getWebmaster(request)%>"/> 
    54 <bean:define type="java.lang.String" id="chemin" value="<%=request.getContextPath()%>"/> 
    55 <bean:define type="java.lang.String" id="relativePageUri"><%=Context.getRelativePath( request )%>?<%=request.getQueryString()%></bean:define> 
    5643 
    57 <div id="container"> 
    58     <div id="pageHeader"> 
    59         <%-- le logo --%> 
     44<bean:define id="upload" value="upload"/> 
     45<bean:define id="access" value="access"/> 
    6046 
    61         <%-- Le titre général du site --%> 
    62         <h2><%--<u>M</u>egacities: <u>E</u>missions, urban, regional and <u>G</u>lobal <u>A</u>tmospheric <u>POL</u>lution and climate effects, and <u>I</u>ntegrated tools for assessment and mitigation--%> 
    63             <bean:message key="app.fulltitle"/> 
    64         </h2> 
     47<%-- ************************************************************************************************************** --%> 
     48<%-- *************************************************** LOGO ETHER *********************************************** --%> 
     49<%-- ************************************************************************************************************** --%> 
     50<div id="linkLogoEther" class="containerLinkLogoEther"></div> 
     51 
     52<div id="logoEther" class="containerLogoEther"> 
     53    <html:link href="http://ether.ipsl.jussieu.fr" target="help"><img src="resources/images/logo_Ether.jpg" width="80px" height="80px"/></html:link> 
     54</div> 
     55 
     56<%-- ************************************************************************************************************** --%> 
     57<%-- **************************************************** WRAPPER ************************************************* --%> 
     58<%-- ************************************************************************************************************** --%> 
     59<div class="pageWrapper"> 
     60 
     61    <%-- ****************** TITLE & TOOLS ****************** --%> 
     62    <div id="title_tools" class="containerMegapoli"> 
     63        <div id="title"></div> 
     64 
     65        <div id="tools" align="right"> 
     66            <fieldset id="signin_menu"> 
     67                <html:form action="/LogonAccess"> 
     68                    <label for="username"><bean:message key="data.authentification.login"/></label> 
     69                    <input id="login" name="login" tabindex="4" type="text"> 
     70 
     71                    <label for="password"><bean:message key="data.authentification.pwd"/></label> 
     72                    <input id="pwd" name="pwd" tabindex="5" type="password"> 
     73 
     74                    <p class="remember"> 
     75                        <input id="signin_submit" value="Sign in" tabindex="6" type="submit"> 
     76                    </p> 
     77 
     78                    <p class="forgot"> 
     79                        <a id="resend_password_link" href="mailto:${webmaster}?subject=[MEGAPOLI] password"><bean:message key="data.authentification.pwdForget"/></a> 
     80                    </p> 
     81 
     82                    <p class="forgot-username"> 
     83                        <a id=forgot_username_link href="mailto:${webmaster}?subject=[MEGAPOLI] login" title='<bean:message key="data.authentification.loginForget.help"/>'><bean:message key="data.authentification.loginForget"/></a> 
     84                    </p> 
     85                </html:form> 
     86            </fieldset> 
     87        </div> 
     88 
    6589    </div> 
    6690 
     91    <%-- ****************** LOGO ****************** --%> 
     92    <div id="logo" class="containerLogo"> 
     93        <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli"> 
     94            <html:img page="/resources/images/logo_Megapoli_white.png" height="110px" width="110px" altKey="app.home"/> 
     95        </html:link> 
     96    </div> 
    6797 
    68     <div id="pageMiddle"> 
    69         <div id="pageMenu"> 
    70             <div id="util"> 
     98    <%-- ****************** NAV ****************** --%> 
     99    <div id="nav" class="containerNav"><tiles:insert attribute="nav"/></div> 
    71100 
    72                 <html:link page="/index.jsp"> 
    73                     <html:img page="/resources/images/utils/home.jpg" titleKey="app.home" altKey="app.home"/> 
     101    <%-- ****************** MENU ****************** --%> 
     102    <div id="menu" class="containerMenu"> 
     103        <ul class="menu"> 
     104            <li> 
     105                <html:link page="/data/access/access.jsp" paramName="access" paramId="source"> 
     106                    <span><bean:message key="data.access"/></span> 
    74107                </html:link> 
    75  
    76                 <html:link href="mailto:${webmaster}?subject=[MEGAPOLI]"> 
    77                     <html:img page="/resources/images/utils/enveloppe.jpg" titleKey="app.webmaster" 
    78                               altKey="app.webmaster"/> 
    79                 </html:link> 
    80  
    81                 <%-- Internationalisation --%> 
    82                 <logic:notEqual name="lang" value="en"> 
    83                     <html:link page="/English.do" paramName="relativePageUri" paramId="requestUri" titleKey="app.en"> 
    84                         <html:img page="/resources/images/utils/gb.png" alt="gb"/> 
    85                     </html:link> 
    86                 </logic:notEqual> 
    87                 <logic:equal name="lang" value="en"> 
    88                     <html:link page="/French.do" paramName="relativePageUri" paramId="requestUri" titleKey="app.fr"> 
    89                         <html:img page="/resources/images/utils/fr.png" alt="fr"/> 
    90                     </html:link> 
    91                 </logic:equal> 
    92  
    93             </div> 
    94  
    95             <div id="plan"> 
    96                 <%-- le menu --%> 
    97                 <div id="menuItem"> 
    98                     <bean:define id="upload" value="upload"/> 
    99                     <bean:define id="access" value="access"/> 
     108                <div> 
    100109                    <ul> 
    101                         <li><html:link page="/data/access/access.jsp" paramName="access" paramId="source"> 
    102                             <bean:message key="data.access"/> 
    103                         </html:link> 
     110                        <li><html:link page="/JeuxAccess.do"><span><bean:message key="data.access.jeux"/></span></html:link></li> 
     111                        <li><html:link page="/ParametresAccess.do"><span><bean:message key="data.access.param"/></span></html:link> 
    104112                        </li> 
    105                         <li>&nbsp;&nbsp;&nbsp;&gt;&nbsp; 
    106                             <html:link page="/JeuxAccess.do"> 
    107                                 <bean:message key="data.access.jeux"/> 
    108                             </html:link> 
     113                        <li><html:link page="/CapteursAccess.do"><span><bean:message key="data.access.capt"/></span></html:link></li> 
     114                        <li><html:link page="/PlateformesAccess.do"><span><bean:message key="data.access.plat"/></span></html:link> 
    109115                        </li> 
    110                         <li>&nbsp;&nbsp;&nbsp;&gt;&nbsp; 
    111                             <html:link page="/ParametresAccess.do"> 
    112                                 <bean:message key="data.access.param"/> 
    113                             </html:link> 
    114                         </li> 
    115                         <li>&nbsp;&nbsp;&nbsp;&gt;&nbsp; 
    116                             <html:link page="/CapteursAccess.do"> 
    117                                 <bean:message key="data.access.capt"/> 
    118                             </html:link> 
    119                         </li> 
    120                         <li>&nbsp;&nbsp;&nbsp;&gt;&nbsp; 
    121                             <html:link page="/PlateformesAccess.do"> 
    122                                 <bean:message key="data.access.plat"/> 
    123                             </html:link> 
    124                         </li> 
    125  
    126                         <li><br/> 
    127                             <logic:notPresent name="SES_USER" scope="session"> 
    128                                 <html:link page="/InitLogonAccess.do" paramName="access" paramId="source"> 
    129                                     <bean:message key="data.access.extract"/> 
    130                                 </html:link> 
    131                             </logic:notPresent> 
    132                             <logic:present name="SES_USER" scope="session"> 
    133                                 <html:link page="/DataAccess.do"> 
    134                                     <bean:message key="data.access.extract"/> 
    135                                 </html:link> 
    136                             </logic:present> 
    137                         </li> 
    138                         <li> 
    139                             <logic:notPresent name="SES_USER" scope="session"> 
    140                                 <html:link page="/InitLogon.do" paramName="upload" paramId="source"> 
    141                                     <bean:message key="data.upload"/> 
    142                                 </html:link> 
    143                             </logic:notPresent> 
    144                             <logic:present name="SES_USER" scope="session"> 
    145                                 <html:link page="/PrepareTree.do"> 
    146                                     <bean:message key="data.upload"/> 
    147                                 </html:link> 
    148                             </logic:present> 
    149                         </li> 
    150  
    151                         <!-- ****************************************************************** --> 
    152                         <!-- ************************ VISUALIZATION *************************** --> 
    153                         <!-- ****************************************************************** --> 
    154                         <li><br/> 
    155                             <html:link page="/visualization?methodName=view"> 
    156                                 <bean:message key="all.visualization"/> 
    157                             </html:link> 
    158                         </li> 
    159                         <li>&nbsp;&nbsp;&nbsp;&gt;&nbsp; 
    160                             <html:link page="/visualization?methodName=viewParametersByPlateform"> 
    161                                 <bean:message key="data.visualization"/> 
    162                             </html:link> 
    163                         </li> 
    164                         <li>&nbsp;&nbsp;&nbsp;&gt;&nbsp; 
    165                             <html:link page="/visualization/inWork.jsp"> 
    166                                 <bean:message key="simulation.visualization"/> 
    167                             </html:link> 
    168                         </li> 
    169                         <!-- ****************************************************************** --> 
    170  
    171116                    </ul> 
    172117                </div> 
    173                 <table width="100%"> 
    174                     <tr> 
    175                         <td align="center"> 
    176                             <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli"> 
    177                                 <html:img page="/resources/images/megapoli/megapoli_small.jpg" height="100px" 
    178                                           width="100px" altKey="app.home"/> 
    179                             </html:link> 
    180                         </td> 
    181                     </tr> 
    182                 </table> 
    183             </div> 
    184             <%-- Recherche : solution mnogosearch --%> 
     118            </li> 
    185119 
    186         </div> 
    187         <%-- 
    188               <div id="recherche"> 
    189                 <form method="get" action="/megapoli/cgi-bin/search.cgi"> 
    190                     <bean:message key="app.search"/> : <INPUT TYPE="text" NAME="q" VALUE="" size="20"> 
    191                 </form> 
    192               </div> 
    193         --%> 
    194         <div id="pageContent"> 
    195             <div id="nav"> 
    196                 <%-- la barre de navigation --%> 
    197                 <div class="texte navStyle" style="float: left;"> 
    198                     <tiles:insert attribute="nav"/> 
     120            <li> 
     121                <html:link page="/data/access/access.jsp" paramName="access" paramId="source"> 
     122                    <span><bean:message key="app.data"/></span> 
     123                </html:link> 
     124                <div> 
     125                    <ul> 
     126                        <logic:notPresent name="SES_USER" scope="session"> 
     127                            <li><html:link page="/InitLogonAccess.do" paramName="access" paramId="source"><span><bean:message key="data.access.extract.short"/></span></html:link> 
     128                            </li> 
     129                            <li><html:link page="/InitLogon.do" paramName="upload" paramId="source"><span><bean:message key="data.upload.short"/></span></html:link></li> 
     130                        </logic:notPresent> 
     131                        <logic:present name="SES_USER" scope="session"> 
     132                            <li><html:link page="/DataAccess.do"><span><bean:message key="data.access.extract.short"/></span></html:link></li> 
     133                            <li><html:link page="/PrepareTree.do"><span><bean:message key="data.upload.short"/></span></html:link></li> 
     134                        </logic:present> 
     135                    </ul> 
    199136                </div> 
    200                 <div style="float: right; font-size: 13px"> 
    201                     <logic:present name="SES_USER" scope="session"> 
    202                         <table> 
    203                             <tr> 
    204                                 <td height="40px" valign="middle" style="font-size: 13px; color: white"> 
    205                                     <bean:write name="SES_USER" property="prenom"/> <bean:write name="SES_USER" 
    206                                                                                                 property="nom"/> 
    207                                     <logic:equal name="SES_USER" property="roles" value="coordinateur"> 
    208                                         (<bean:message key="app.admin"/>) 
    209                                     </logic:equal> 
    210                                 </td> 
    211                                 <td valign="top" width="40px"> 
    212                                     <html:link page="/Disconnect.do"> 
    213                                         <html:img page="/resources/images/utils/logout.gif" titleKey="app.disconnect" 
    214                                                   altKey="app.disconnect" 
    215                                                   onmouseover="this.src='${chemin}/resources/images/utils/logout2.gif'" 
    216                                                   onmouseout="this.src='${chemin}/resources/images/utils/logout.gif'" 
    217                                                   width="20px" height="20px" style="margin-top:7px"/> 
    218                                     </html:link> 
    219                                 </td> 
    220                             </tr> 
    221                         </table> 
    222                     </logic:present> 
     137            </li> 
     138 
     139            <li class="last"> 
     140                <html:link page="/visualization?methodName=view"> 
     141                    <span><bean:message key="all.visualization"/></span> 
     142                </html:link> 
     143                <div> 
     144                    <ul> 
     145                        <li><html:link page="/visualization?methodName=viewParametersByPlateform"><span><bean:message key="data.visualization"/></span></html:link></li> 
     146                        <li><html:link page="/visualization?methodName=viewInWork"><span><bean:message key="simulation.visualization"/></span></html:link></li> 
     147                    </ul> 
    223148                </div> 
    224             </div> 
    225             <div id="corpsPage"> 
    226                 <div id="title"> 
    227                     <%-- le titre de la page --%> 
    228                     <h1><tiles:insert attribute="bodytitle"/></h1> 
    229                 </div> 
    230                 <div id="txt"> 
    231                     <%-- le corps de la page --%> 
    232                     <tiles:insert attribute="body"/> 
    233                 </div> 
    234             </div> 
    235         </div> 
     149            </li> 
     150 
     151        </ul> 
    236152    </div> 
    237153 
     154    <%-- ****************** TITLE CONTENT ****************** --%> 
     155    <div id="titleContent" class="containerTitleContent"><tiles:insert attribute="bodytitle"/> 
     156        <div id="titleContentBorder" class="containerTitleContentBorder"></div> 
     157    </div> 
    238158 
    239     <div id="pageFooter"> 
    240         <table width="100%" style="color:white;font-size: 12px; margin-top:-10px"> 
    241             <tr> 
    242                 <td rowspan="2" align="left">&copy; 2010-2011 <html:link href="http://www.ipsl.fr" target="help" titleKey="app.linkIPSL">IPSL</html:link> / CNRS </td> 
    243                 <td rowspan="2" align="center"><bean:message key="app.infonavig"/></td> 
    244                 <td align="right"><i><bean:message key="app.version"/>&nbsp;1</i></td> 
    245             </tr> 
    246             <tr> 
    247                 <td align="right"><i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i></td> 
    248             </tr> 
    249         </table> 
     159    <%-- ****************** CONTENT ****************** --%> 
     160    <div id="containerCenter" class="containerMegapoli containerCenter"> 
     161        <tiles:insert attribute="body"/> 
    250162    </div> 
     163 
     164    <%-- ****************** BOTTOM ****************** --%> 
     165    <div id="containerBottom" class="containerMegapoli containerBottom" align="right"> 
     166        &copy; 2010-2011 <html:link href="http://ether.ipsl.jussieu.fr" target="help">ETHER&nbsp;</html:link>/ CNRS 
     167        <%--<td align="center"><bean:message key="app.infonavig"/></td>--%> 
     168        <%--<td align="right"><i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i></td>--%> 
     169    </div> 
     170 
     171</div> 
     172 
     173<%-- ************************************************************************************************************** --%> 
     174<%-- **************************************************** SLIDES ************************************************** --%> 
     175<%-- ************************************************************************************************************** --%> 
     176<div id="creditSlide" class="containerSlide"></div> 
     177<div id="mentionSlide" class="containerSlide"></div> 
     178<div id="infoSlide" class="containerSlide"></div> 
     179 
     180<script type="text/javascript"> 
     181    var templateTexts = $A( "" ); 
     182    templateTexts["app.home"] = '<bean:message key="app.home"/>'; 
     183    templateTexts["app.fulltitle"] = '<bean:message key="app.fulltitle"/>'; 
     184    templateTexts["app.en"] = '<bean:message key="app.en"/>'; 
     185    templateTexts["app.fr"] = '<bean:message key="app.fr"/>'; 
     186    templateTexts["app.connexion"] = '<bean:message key="app.connexion"/>'; 
     187    templateTexts["data.upload.metadata.contact.mail"] = '<bean:message key="data.upload.metadata.contact.mail"/>'; 
     188    templateTexts["app.admin"] = '<bean:message key="app.admin"/>'; 
     189 
     190    var interfaceTemplate = new InterfaceTemplate(); 
     191</script> 
     192 
     193<div style="visibility:hidden"><a href="http://apycom.com/">Apycom jQuery Menus</a></div> 
    251194 
    252195</BODY> 
    253196</HTML> 
    254 <!-- /*** ****************** FIN TEMPLATE ETHER ******************** **/ --> 
  • ether_megapoli/trunk/web/visualization/inWork.jsp

    r234 r239  
    44<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 
    55 
    6 <tiles:insert page="/resources/templates/appleTemplate.jsp" flush="true"> 
     6<tiles:insert page="/resources/templates/templateEther.jsp" flush="true"> 
    77 
    88    <tiles:put name="insertCss" type="string"></tiles:put> 
  • ether_megapoli/trunk/web/visualization/visu.jsp

    r228 r239  
    55<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 
    66 
    7 <tiles:insert page="/resources/templates/appleTemplate.jsp" flush="true"> 
     7<tiles:insert page="/resources/templates/templateEther.jsp" flush="true"> 
    88 
    99    <tiles:put name="insertCss" type="string"> 
  • ether_megapoli/trunk/web/visualization/visu_parameter_by_pf.jsp

    r236 r239  
    77<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 
    88 
    9 <tiles:insert page="/resources/templates/appleTemplate.jsp" flush="true"> 
     9<tiles:insert page="/resources/templates/templateEther.jsp" flush="true"> 
    1010 
    1111    <tiles:put name="insertCss" type="string"> 
Note: See TracChangeset for help on using the changeset viewer.