Changeset 720
- Timestamp:
- 01/17/13 16:56:38 (11 years ago)
- Location:
- ether_iasi/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_iasi/trunk/common/implementation/log4j.xml
r713 r720 10 10 11 11 <appender name="file" class="org.apache.log4j.FileAppender"> 12 <param name="file" value="/home_local/ npipsl/workspaces/log4j_IASI.log"/>12 <param name="file" value="/home_local/workspaces/log4j_IASI.log"/> 13 13 <layout class="org.apache.log4j.PatternLayout"> 14 14 <param name="ConversionPattern" value="LOG4J %p %d{ISO8601} - %c{1} - %m%n"/> -
ether_iasi/trunk/web/project/quicklook.jsp
r719 r720 17 17 <ether:htmlCss cssFile="iasi"/> 18 18 <ether:htmlCss cssFile="select"/> 19 <ether:htmlCss cssFile="calendar/anytime"/> 19 20 20 21 <ether:htmlJs jsFile="library/jquery-1.4.2.min"/> … … 30 31 <ether:htmlJs jsFile="classesForJQuery/DragSlide"/> 31 32 <ether:htmlJs jsFile="classesForJQuery/Select"/> 33 <ether:htmlJs jsFile="calendar/anytime"/> 32 34 33 35 <ether:htmlJsp jspFile="quicklook_script"/> … … 40 42 <div id="title" class="containerTitle"><spring:message code="label.quicklook"/></div> 41 43 42 <div id="containerTools" class="containerTools"></div> 44 <div class="containerTools"> 45 <div id="containerTools"></div> 46 <div class="selectTools"> 47 <spring:message code="label.date"/> :<br/> 48 <input type="text" id="beginDate" size="10"/> 49 </div> 50 </div> 43 51 44 52 <div id="containerQuickLookA" class="containerQuickLooks"><spring:message code="label.MetOpA"/></div> -
ether_iasi/trunk/web/project/quicklook_script.jsp
r717 r720 24 24 { 25 25 this.createSelectSatellites(); 26 this.createSelectLocations(); 26 this.createSelectProjections(); 27 this.createSelectSpecies(); 28 this.createCalendar(); 29 27 30 28 31 var quickLookButton = new Button( {id:"quickLookButton", value:"<spring:message code="label.quicklook.button"/>", parent:this.containerTools, className: "small", onClick:jQuery.proxy( this.onClickButton, this )} ); … … 46 49 }, 47 50 48 createSelect Locations: function()51 createSelectProjections: function() 49 52 { 50 53 var div = $( document.createElement( "div" ) ); 51 div.html( '<spring:message code="label. location"/> :' );54 div.html( '<spring:message code="label.projection"/> :' ); 52 55 div.addClass( "selectTools" ); 53 56 this.containerTools.append( div ); 54 57 55 58 var paramSelect = new Object(); 56 paramSelect.id = "select Localisations";59 paramSelect.id = "selectProjections"; 57 60 paramSelect.parent = div; 58 this.selectLocalisations = new Select( paramSelect ); 59 this.selectLocalisations.add( "PN", '<spring:message code="label.pole.north"/>' ); 60 this.selectLocalisations.add( "PS", '<spring:message code="label.pole.south"/>' ); 61 this.selectLocalisations.selectFirst(); 61 this.selectProjections = new Select( paramSelect ); 62 this.selectProjections.add( "GL", '<spring:message code="label.globe"/>' ); 63 this.selectProjections.add( "EU", '<spring:message code="label.europe"/>' ); 64 this.selectProjections.add( "PN", '<spring:message code="label.pole.north"/>' ); 65 this.selectProjections.add( "PS", '<spring:message code="label.pole.south"/>' ); 66 this.selectProjections.selectFirst(); 67 }, 68 69 createSelectSpecies: function() 70 { 71 var div = $( document.createElement( "div" ) ); 72 div.html( '<spring:message code="label.species"/> :' ); 73 div.addClass( "selectTools" ); 74 this.containerTools.append( div ); 75 76 var paramSelect = new Object(); 77 paramSelect.id = "selectSpecies"; 78 paramSelect.parent = div; 79 this.selectSpecies = new Select( paramSelect ); 80 this.selectSpecies.add( "CO", 'CO' ); 81 this.selectSpecies.add( "H2O",'H2O' ); 82 this.selectSpecies.add( "TS",'Temp. Surf.' ) 83 this.selectSpecies.selectFirst(); 84 }, 85 86 createCalendar: function() 87 { 88 this.calendarFormat = "%Y-%m-%d"; 89 this.calendarConverter = new AnyTime.Converter( { format: this.calendarFormat } ); 90 91 AnyTime.picker( "beginDate", { format: this.calendarFormat, firstDOW: 1, 92 labelTitle: '<spring:message code="label.titlecalendar"/> :' , 93 labelYear: '<spring:message code="label.yearcalendar"/> :' , 94 labelMonth: '<spring:message code="label.monthcalendar"/> :', 95 labelDayOfMonth: '<spring:message code="label.daycalendar"/> :', 96 97 methodToCall: jQuery.proxy( this.onClickBeginDate, this ) 98 } ); 99 100 101 102 // $( "#beginDate" ).val( this.firstDate ); 103 // $( "#endDate" ).val( this.lastDate ); 104 // this.beginDate = this.calendarConverter.parse( $( "#beginDate" ).val() ).getTime(); 105 // this.endDate = this.calendarConverter.parse( $( "#endDate" ).val() ).getTime(); 106 107 // this.clearCalendarButton = new Button( {value:interfaceTexts["visualization.button.clear"], parent:this.containerOptionCalendar, id:"button_clear_calendar", className:"small", onClick:jQuery.proxy( this.onClickClear, this )} ); 108 62 109 }, 63 110 … … 83 130 onClickButton: function() 84 131 { 85 alert( "paf : " + this.selectLocalisations.getValue() + ", " + this.selectSatellites.getValue() ); 132 alert( "paf : " + this.selectProjections.getValue() + ", " + this.selectSatellites.getValue() ); 133 }, 134 135 onClickBeginDate: function() 136 { 137 this.beginDate = this.calendarConverter.parse( $( "#beginDate" ).val() ).getTime(); 86 138 }, 87 139 -
ether_iasi/trunk/web/resources/css/iasi.css
r717 r720 61 61 margin: 15px 20px 0; 62 62 } 63 64 #beginDate { 65 background-image: url("../../resources/icons/calendrier-icone-16x16.png"); 66 background-position: right center; 67 background-repeat: no-repeat; 68 } -
ether_iasi/trunk/web/src/messages_en.properties
r717 r720 10 10 label.quicklook=QUICKLOOKS 11 11 label.either=Either 12 label.globe=Global 13 label.europe=Europe 12 14 label.pole.north=North pole 13 15 label.pole.south=South pole 14 16 label.satellite=Satellite 15 label. location=Location17 label.projection=Projection 16 18 label.species=Species 17 19 label.date=Date 20 label.titlecalendar=Select a date 21 label.yearcalendar=Year 22 label.monthcalendar=Month 23 label.daycalendar=Day 18 24 label.quicklook.button=Get quicklook -
ether_iasi/trunk/web/src/messages_fr.properties
r717 r720 11 11 label.quicklook=VISUALISATIONS 12 12 label.either=Les deux 13 label.globe=Global 14 label.europe=Europe 13 15 label.pole.north=PÎle nord 14 16 label.pole.south=PÎle sud 15 17 label.satellite=Satellite 16 label. location=Localisation18 label.projection=Projection 17 19 label.species=EspÚce 18 20 label.date=Date 21 label.titlecalendar=Choisissez une date 22 label.yearcalendar=Année 23 label.monthcalendar=Mois 24 label.daycalendar=Jour 19 25 label.quicklook.button=Go quicklook
Note: See TracChangeset
for help on using the changeset viewer.