Changeset 269 for ether_megapoli/trunk/web/resources
- Timestamp:
- 11/29/11 17:07:57 (13 years ago)
- Location:
- ether_megapoli/trunk/web/resources
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/web/resources/css/megapoli.css
r263 r269 153 153 154 154 .containerBottom { 155 /*background-image: url("../images/elements/button_middle.png");*/156 155 background-image: url("../images/elements/button_middle_3.png"); 157 156 background-repeat: repeat-x; … … 161 160 position: relative; 162 161 top: -32px; 163 width: 97 5px;162 width: 972px; 164 163 } 165 164 … … 275 274 -moz-border-radius: 4px; 276 275 -webkit-border-radius: 4px; 276 border: 1px solid; 277 width: 100%; 277 278 } 278 279 -
ether_megapoli/trunk/web/resources/js/classesForJQuery/LoginButton.js
r265 r269 17 17 this.urlLogin = param.urlLogin ? param.urlLogin : false; 18 18 this.urlLogout = param.urlLogout ? param.urlLogout : false; 19 this.classNameToAdd = param.classNameToAdd ? param.classNameToAdd : false; 19 20 20 21 // Texts … … 102 103 textLogin += " (" + this.text1 + ")"; 103 104 104 var loginButton = new ComplexButton( {value:textLogin, parent:this.parent, id:"button_login" } );105 var loginButton = new ComplexButton( {value:textLogin, parent:this.parent, id:"button_login", classNameToAdd: this.classNameToAdd} ); 105 106 106 107 $( "#button_login #button_middle #button_text" ).addClass( "containerUserLogout" ); … … 117 118 this.createLoginForm(); 118 119 119 var loginButton = new ComplexButton( {value:this.connexionText, parent:this.parent, id:"button_login" } );120 var loginButton = new ComplexButton( {value:this.connexionText, parent:this.parent, id:"button_login", classNameToAdd: this.classNameToAdd} ); 120 121 121 122 var loginMiddle = $( "#button_login #button_middle" ); 122 123 loginMiddle.empty(); 123 loginMiddle.attr( {id:"topnav", class:"topnav complexButton_middle"} ); 124 // loginMiddle.attr( {id:"topnav", class:"topnav complexButton_middle"} ); 125 loginMiddle.attr( {id:"topnav"} ); 124 126 var aLogin = $( document.createElement( "a" ) ); 125 127 aLogin.attr( {id:"button_login_a", href:"login", class:"signin"} ); … … 162 164 }, 163 165 164 // TODO : vérifier cette méthode165 166 showLogin: function( text ) 166 167 { -
ether_megapoli/trunk/web/resources/jsp/informations_en.jsp
r261 r269 7 7 <div class="title2">Browsers</div> 8 8 This site was created and tested with the following configurations : 9 <table class="roundTable" width="100%"border="1">9 <table class="roundTable" border="1"> 10 10 <tr> 11 11 <th> Operatin System </th> -
ether_megapoli/trunk/web/resources/jsp/informations_fr.jsp
r261 r269 7 7 <div class="title2">Navigateurs</div> 8 8 Ce site web a été conçu et testé sous les navigateurs suivants : 9 <table class="roundTable" width="100%"border="1">9 <table class="roundTable" border="1"> 10 10 <tr> 11 11 <th> SystÚme d'exploitation </th> -
ether_megapoli/trunk/web/resources/jsp/megapoliHead.jsp
r265 r269 151 151 152 152 } ); 153 154 /** *********************************************** **/155 /** ******************** USER ********************* **/156 /** *********************************************** **/157 function getJSONUser()158 {159 alert( getLoginModule().getJSONUser() );160 return getLoginModule().getJSONUser();161 }162 163 function getPath()164 {165 return InterfaceTemplate.path;166 }167 168 function setPath( path )169 {170 InterfaceTemplate.path = path;171 }172 173 function getLoginModule()174 {175 return InterfaceTemplate.loginModule;176 }177 178 function setLoginModule( loginModule )179 {180 InterfaceTemplate.loginModule = loginModule;181 }182 183 function neededLogin( href )184 {185 $( "#signin_menu" ).ready( function()186 {187 if( !getJSONUser() )188 getLoginModule().showLogin( loginTexts["data.authentification.text"] );189 else190 document.location.href = getPath() + href;191 } );192 }193 153 </script> -
ether_megapoli/trunk/web/resources/templates/templateBackoffice.jsp
r265 r269 43 43 44 44 <%-- ************************************************************************************************************** --%> 45 <%-- *************************************************** LOGO ETHER *********************************************** --%> 46 <%-- ************************************************************************************************************** --%> 47 <div id="linkLogoEther" class="containerLinkLogoEther"></div> 48 49 <div id="logoEther" class="containerLogoEther"> 50 <html:link href="http://ether.ipsl.jussieu.fr" target="help"><img src="resources/images/logo_Ether.jpg" width="80px" height="80px"/></html:link> 51 </div> 52 53 54 <%-- ************************************************************************************************************** --%> 45 55 <%-- **************************************************** WRAPPER ************************************************* --%> 46 56 <%-- ************************************************************************************************************** --%> … … 64 74 </div> 65 75 66 <%-- ****************** NAV ****************** --%>67 <div id="nav" class="containerNav"><tiles:insert attribute="nav"/></div>68 69 76 <%-- ****************** MENU ****************** --%> 70 77 <div id="menuBO" class="containerMenu"></div> … … 87 94 </div> 88 95 89 <%-- ************************************************************************************************************** --%>90 <%-- **************************************************** SLIDES ************************************************** --%>91 <%-- ************************************************************************************************************** --%>92 <div id="creditSlide" class="containerSlide"></div>93 <div id="mentionSlide" class="containerSlide"></div>94 <div id="infoSlide" class="containerSlide"></div>95 96 96 <script type="text/javascript"> 97 97 var templateTexts = $A( "" ); … … 102 102 templateTexts["data.upload.metadata.contact.mail"] = '<bean:message key="data.upload.metadata.contact.mail"/>'; 103 103 templateTexts["app.admin"] = '<bean:message key="app.admin"/>'; 104 templateTexts["bo.user"] = '<bean:message key="bo.user"/>'; 104 105 105 106 // Needed texts if you use the library LoginButton.js
Note: See TracChangeset
for help on using the changeset viewer.