Changeset 230


Ignore:
Timestamp:
10/24/11 12:33:31 (13 years ago)
Author:
vmipsl
Message:

look apple

Location:
ether_megapoli/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/common/Common.iml

    r228 r230  
    1010      <sourceFolder url="file://$MODULE_DIR$/interface" isTestSource="false" /> 
    1111    </content> 
    12     <orderEntry type="jdk" jdkName="1.6" jdkType="JavaSDK" /> 
     12    <orderEntry type="inheritedJdk" /> 
    1313    <orderEntry type="sourceFolder" forTests="false" /> 
    1414    <orderEntry type="library" name="lib_ether" level="project" /> 
  • ether_megapoli/trunk/web/resources/css/megapoliApple.css

    r228 r230  
    3939/** ********************** CONTAINER ******************** **/ 
    4040/** ***************************************************** **/ 
     41.containerLinkLogoEther { 
     42    position: absolute; 
     43    top: 0; 
     44    left: 127px; 
     45    width: 10px; 
     46    height: 99px; 
     47    background-image: url("../images/link_logo_Ether.png"); 
     48    background-repeat: repeat-y; 
     49} 
     50 
     51.containerLogoEther { 
     52    position: absolute; 
     53    top: 100px; 
     54    left: 50px; 
     55    -moz-border-radius: 4px 4px 4px 4px; 
     56    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); 
     57    -webkit-border-radius: 4px 4px 4px 4px; 
     58    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); 
     59    width: 80px; 
     60    height: 80px; 
     61    padding: 15px; 
     62} 
     63 
    4164.containerMegapoli { 
    4265    -moz-border-radius: 4px 4px 4px 4px; 
    4366    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); 
     67    -webkit-border-radius: 4px 4px 4px 4px; 
     68    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); 
    4469    width: 980px; 
    4570    float: left; 
     
    5984.containerLogo { 
    6085    -moz-border-radius: 4px 4px 4px 4px; /*-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);*/ 
     86    -webkit-border-radius: 4px 4px 4px 4px; 
    6187    float: left; 
    6288    margin-bottom: 10px; 
     
    82108    -moz-border-radius: 4px 4px 4px 4px; 
    83109    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); 
    84     float: left; 
    85     position: relative; 
    86     width: 340px; 
     110    -webkit-border-radius: 4px 4px 4px 4px; 
     111    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); 
     112    float: left; 
     113    position: relative; 
     114    width: 334px; 
    87115    height: 31px; 
    88116    color: #04155D; 
    89117    top: 4px; 
    90     margin-bottom: 20px; 
    91     margin-right: 15px; 
     118    margin-bottom: 20px; /*margin-right: 15px;*/ 
    92119    padding-top: 6px; 
    93120    padding-left: 10px; 
     121    font-size: 11px; 
    94122} 
    95123 
     
    111139    -moz-border-radius: 4px 4px 0 0; 
    112140    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 
     141    -webkit-border-radius: 4px 4px 0 0; 
     142    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 
    113143    background-image: url("../images/fond_bleu2.png"); 
    114144    background-repeat: repeat-x; 
     
    125155.containerCenter { 
    126156    -moz-border-radius-topright: 0; 
     157    -webkit-border-radius: 0; /*#E8EFF3*//* #618EAC*/ 
     158    background: -moz-linear-gradient(white, #E8EFF3); 
    127159    min-height: 400px; 
    128160    text-align: justify; 
     
    149181} 
    150182 
    151 .containerButtonSlideLeft { 
     183/** ***************************************************** **/ 
     184/** ************************ SLIDES ********************** **/ 
     185/** ***************************************************** **/ 
     186.containerLeftSlides { 
    152187    position: absolute; 
    153     top: 10px; 
    154 } 
    155  
    156 .containerSlideLeft { 
    157     position: absolute; 
    158     top: 50px; 
    159 } 
     188    top: 300px; 
     189} 
     190 
     191#slideCredits, #slideMentions, #slideInfos { 
     192    -moz-border-radius: 4px 4px 0 0; 
     193    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 
     194    -webkit-border-radius: 4px 4px 0 0; 
     195    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 
     196} 
     197 
     198.containerSlideContent { 
     199    float: left; 
     200    min-height: 200px; 
     201    -moz-border-radius: 4px 4px 0 0; 
     202    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 
     203    -webkit-border-radius: 4px 4px 0 0; 
     204    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 
     205    padding: 10px; 
     206    display: none; 
     207} 
     208 
     209.containerSlides { 
     210    float: left; 
     211    position: relative; 
     212    top: 20px; 
     213    margin-left: 1px; 
     214} 
     215 
     216#buttonSlideCredits { 
     217    background-image: url("../icons/man_credits.gif"); 
     218    width: 10px; 
     219    height: 10px; 
     220} 
     221 
     222/*#buttonSlideMentions {*/ 
     223/*background-image: url("../images/elements/button_middle_3.png");*/ 
     224/*}*/ 
     225 
     226/*#buttonSlideHelp {*/ 
     227/*background-image: url("../images/elements/button_middle_3.png");*/ 
     228/*}*/ 
    160229 
    161230/** ***************************************************** **/ 
     
    178247.roundTable { 
    179248    -moz-border-radius: 4px; 
     249    -webkit-border-radius: 4px; 
    180250} 
    181251 
  • ether_megapoli/trunk/web/resources/jsp/apple_etherHead.jsp

    r228 r230  
    99            this.containerTitle = $( "#title" ); 
    1010            this.containerTools = $( "#tools" ); 
     11            this.containerSlides = $( "#slides" ); 
     12            this.containerSlide = $( "#slideContent" ); 
    1113 
    1214            /** *********** VARIABLES *********** **/ 
     
    1618            this.relativePageUri = "<%=Context.getRelativePath( request )%>?<%=request.getQueryString()%>"; 
    1719            this.jSONUser = <%=Context.getUser( request )%> ? <%=Context.getUser( request )%> : false; 
     20            this.isContainerSlideDisplayed = this.containerSlide.attr( "style" ) ? (this.containerSlide.attr( "style" ) == "display: block;" ) : false; 
    1821 
    1922            /** ************ CREATE ************ **/ 
     
    5659                var divImgLogout = $( document.createElement( "div" ) ); 
    5760                divImgLogout.addClass( "containerImgLogout" ); 
    58                 divImgLogout.append( "<img src='resources/images/utils/logout.png' width='15px' height='15px" ); 
     61                divImgLogout.append( "<img src='resources/images/utils/logout.png' width='15px' height='15px/>" ); 
    5962                divImgLogout.bind( "click", this.onClickLogout ); 
    6063                loginMiddle.append( divImgLogout ); 
     
    105108        createLeftSlides: function() 
    106109        { 
    107             $( "#buttonSlideLeft" ).click( function() 
    108             { 
    109                 $( "#slideLeft" ).animate( {width:"toggle"}, 500 ); 
    110             } ) 
     110            var divSlideCredits = $( document.createElement( "div" ) ); 
     111            divSlideCredits.attr( {id:"slideCredits"} ); 
     112            divSlideCredits.append( "<img src='resources/icons/man_credits.gif' width='50px' height='50px'/><br/>" ); 
     113            divSlideCredits.bind( "click", jQuery.proxy( this.onClickSlideCredits, this ) ); 
     114            this.containerSlides.append( divSlideCredits ); 
     115 
     116            var divSlideMentions = $( document.createElement( "div" ) ); 
     117            divSlideMentions.attr( {id:"slideMentions"} ); 
     118            divSlideMentions.append( "<img src='resources/icons/man_mentions_2.png' width='50px' height='50px'/><br/>" ); 
     119            divSlideMentions.bind( "click", jQuery.proxy( this.onClickSlideMentions, this ) ); 
     120            this.containerSlides.append( divSlideMentions ); 
     121 
     122            var divSlideInfos = $( document.createElement( "div" ) ); 
     123            divSlideInfos.attr( {id:"slideInfos"} ); 
     124            divSlideInfos.append( "<img src='resources/icons/man_info.gif' width='50px' height='50px'/>" ); 
     125            divSlideInfos.bind( "click", jQuery.proxy( this.onClickSlideInfos, this ) ); 
     126            this.containerSlides.append( divSlideInfos ); 
    111127        }, 
    112128 
     
    133149        { 
    134150            document.location.href = "mailto:" + this.webmaster + "?subject=[MEGAPOLI]"; 
     151        }, 
     152 
     153        onClickSlideCredits: function() 
     154        { 
     155            this.onClickSlide( $( "#slideMentions" ), $( "#slideInfos" ), "CREDITS" ); 
     156        }, 
     157 
     158        onClickSlideMentions: function() 
     159        { 
     160            this.onClickSlide( $( "#slideCredits" ), $( "#slideInfos" ), "MENTIONS LEGALES" ); 
     161        }, 
     162 
     163        onClickSlideInfos: function() 
     164        { 
     165            this.onClickSlide( $( "#slideCredits" ), $( "#slideMentions" ), "INFOS" ); 
     166        }, 
     167 
     168        onClickSlide: function( unClickedSlide1, unClickedSlide2, slideContent ) 
     169        { 
     170            this.isContainerSlideDisplayed = ("display: block;" == this.containerSlide.attr( "style" ) ); 
     171            if( this.isContainerSlideDisplayed ) 
     172            { 
     173                this.containerSlide.animate( {width:"toggle"}, 500 ); 
     174                unClickedSlide1.delay( 500 ).animate( {width:"toggle"}, 500 ); 
     175                unClickedSlide2.delay( 500 ).animate( {width:"toggle"}, 500 ); 
     176            } 
     177            else 
     178            { 
     179                unClickedSlide1.animate( {width:"toggle"}, 500 ); 
     180                unClickedSlide2.animate( {width:"toggle"}, 500 ); 
     181                this.containerSlide.delay( 500 ).animate( {width:"toggle"}, 500 ); 
     182                $( "#slideContent" ).html( slideContent ); 
     183            } 
    135184        } 
    136185    } ); 
  • ether_megapoli/trunk/web/resources/templates/appleTemplate.jsp

    r228 r230  
    4545<bean:define id="access" value="access"/> 
    4646 
     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 
    4756 
    4857<%-- ************************************************************************************************************** --%> 
     
    6978 
    7079                    <p class="forgot"> 
    71                         <a id="resend_password_link" 
    72                            href="mailto:${webmaster}?subject=[MEGAPOLI] password"><bean:message key="data.authentification.pwdForget"/></a> 
     80                        <a id="resend_password_link" href="mailto:${webmaster}?subject=[MEGAPOLI] password"><bean:message key="data.authentification.pwdForget"/></a> 
    7381                    </p> 
    7482 
     
    118126                    <ul> 
    119127                        <logic:notPresent name="SES_USER" scope="session"> 
    120                             <li><html:link page="/InitLogonAccess.do" paramName="access" paramId="source"><span><bean:message key="data.access.extract.short"/></span></html:link></li> 
     128                            <li><html:link page="/InitLogonAccess.do" paramName="access" paramId="source"><span><bean:message key="data.access.extract.short"/></span></html:link> 
     129                            </li> 
    121130                            <li><html:link page="/InitLogon.do" paramName="upload" paramId="source"><span><bean:message key="data.upload.short"/></span></html:link></li> 
    122131                        </logic:notPresent> 
     
    166175<%-- **************************************************** SLIDES ************************************************** --%> 
    167176<%-- ************************************************************************************************************** --%> 
    168 <div id="leftSlides"> 
    169  
    170  
    171     <div id="buttonSlideLeft" class="containerButtonSlideLeft" style="background-color:blue"> 
    172         button !!!! 
    173     </div> 
    174     <br/> 
    175     <br/> 
    176  
    177     <div id="slideLeft" class="containerSlideLeft" style="background-color:blue"> 
    178         kljfsdkljfsldfjsdklfj s 
    179         qsdqdqsd 
    180     </div> 
    181  
     177<div id="leftSlides" class="containerLeftSlides"> 
     178    <div id="slideContent" class="containerSlideContent"></div> 
     179    <div id="slides" class="containerSlides"></div> 
    182180</div> 
    183181 
Note: See TracChangeset for help on using the changeset viewer.