Changeset 230
- Timestamp:
- 10/24/11 12:33:31 (13 years ago)
- Location:
- ether_megapoli/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/common/Common.iml
r228 r230 10 10 <sourceFolder url="file://$MODULE_DIR$/interface" isTestSource="false" /> 11 11 </content> 12 <orderEntry type=" jdk" jdkName="1.6" jdkType="JavaSDK" />12 <orderEntry type="inheritedJdk" /> 13 13 <orderEntry type="sourceFolder" forTests="false" /> 14 14 <orderEntry type="library" name="lib_ether" level="project" /> -
ether_megapoli/trunk/web/resources/css/megapoliApple.css
r228 r230 39 39 /** ********************** CONTAINER ******************** **/ 40 40 /** ***************************************************** **/ 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 41 64 .containerMegapoli { 42 65 -moz-border-radius: 4px 4px 4px 4px; 43 66 -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); 44 69 width: 980px; 45 70 float: left; … … 59 84 .containerLogo { 60 85 -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; 61 87 float: left; 62 88 margin-bottom: 10px; … … 82 108 -moz-border-radius: 4px 4px 4px 4px; 83 109 -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; 87 115 height: 31px; 88 116 color: #04155D; 89 117 top: 4px; 90 margin-bottom: 20px; 91 margin-right: 15px; 118 margin-bottom: 20px; /*margin-right: 15px;*/ 92 119 padding-top: 6px; 93 120 padding-left: 10px; 121 font-size: 11px; 94 122 } 95 123 … … 111 139 -moz-border-radius: 4px 4px 0 0; 112 140 -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); 113 143 background-image: url("../images/fond_bleu2.png"); 114 144 background-repeat: repeat-x; … … 125 155 .containerCenter { 126 156 -moz-border-radius-topright: 0; 157 -webkit-border-radius: 0; /*#E8EFF3*//* #618EAC*/ 158 background: -moz-linear-gradient(white, #E8EFF3); 127 159 min-height: 400px; 128 160 text-align: justify; … … 149 181 } 150 182 151 .containerButtonSlideLeft { 183 /** ***************************************************** **/ 184 /** ************************ SLIDES ********************** **/ 185 /** ***************************************************** **/ 186 .containerLeftSlides { 152 187 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 /*}*/ 160 229 161 230 /** ***************************************************** **/ … … 178 247 .roundTable { 179 248 -moz-border-radius: 4px; 249 -webkit-border-radius: 4px; 180 250 } 181 251 -
ether_megapoli/trunk/web/resources/jsp/apple_etherHead.jsp
r228 r230 9 9 this.containerTitle = $( "#title" ); 10 10 this.containerTools = $( "#tools" ); 11 this.containerSlides = $( "#slides" ); 12 this.containerSlide = $( "#slideContent" ); 11 13 12 14 /** *********** VARIABLES *********** **/ … … 16 18 this.relativePageUri = "<%=Context.getRelativePath( request )%>?<%=request.getQueryString()%>"; 17 19 this.jSONUser = <%=Context.getUser( request )%> ? <%=Context.getUser( request )%> : false; 20 this.isContainerSlideDisplayed = this.containerSlide.attr( "style" ) ? (this.containerSlide.attr( "style" ) == "display: block;" ) : false; 18 21 19 22 /** ************ CREATE ************ **/ … … 56 59 var divImgLogout = $( document.createElement( "div" ) ); 57 60 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/>" ); 59 62 divImgLogout.bind( "click", this.onClickLogout ); 60 63 loginMiddle.append( divImgLogout ); … … 105 108 createLeftSlides: function() 106 109 { 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 ); 111 127 }, 112 128 … … 133 149 { 134 150 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 } 135 184 } 136 185 } ); -
ether_megapoli/trunk/web/resources/templates/appleTemplate.jsp
r228 r230 45 45 <bean:define id="access" value="access"/> 46 46 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 47 56 48 57 <%-- ************************************************************************************************************** --%> … … 69 78 70 79 <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> 73 81 </p> 74 82 … … 118 126 <ul> 119 127 <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> 121 130 <li><html:link page="/InitLogon.do" paramName="upload" paramId="source"><span><bean:message key="data.upload.short"/></span></html:link></li> 122 131 </logic:notPresent> … … 166 175 <%-- **************************************************** SLIDES ************************************************** --%> 167 176 <%-- ************************************************************************************************************** --%> 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> 182 180 </div> 183 181
Note: See TracChangeset
for help on using the changeset viewer.