Changeset 172
- Timestamp:
- 08/31/11 16:51:42 (13 years ago)
- Location:
- ether_megapoli/trunk/web
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/web/resources/css/ether.css
r170 r172 4 4 5 5 .pair,.impair { 6 width: 2 34px;6 width: 210px; 7 7 padding-top: 3px; 8 8 padding-bottom: 3px; -
ether_megapoli/trunk/web/resources/css/visu_parameter_by_pf.css
r171 r172 2 2 #containerPlateforms, #containerParameters, #containerCalendar { 3 3 margin-top: 10px; 4 } 5 6 .containerParameter { 7 width: 250px; 4 8 } 5 9 … … 14 18 } 15 19 20 #containerOptionTitle, #containerOptionType, #containerOptionCalendar { 21 margin-bottom: 25px; 22 } 23 16 24 #containerOptionTitle { 17 margin-top: 25px; 18 margin-bottom: 25px; 25 margin-right: 22px; 19 26 } 20 27 21 28 #containerButtons { 22 29 margin-top: 25px; 30 } 31 32 #containerOptionPlotsSelect { 33 margin-bottom: 15px; 34 margin-top: 10px; 23 35 } 24 36 … … 67 79 } 68 80 81 .messages_number_parameters { 82 color: #806159; 83 font-weight: bold; 84 vertical-align: middle; 85 font-size: 80%; 86 margin-top: 2px; 87 } 88 89 .select_plot_option .select_item_middle:hover { 90 background-color: #ffffff; 91 color: #70739C; 92 } 93 69 94 /** ************************************ **/ 70 95 /** ************ CALENDAR ************** **/ -
ether_megapoli/trunk/web/resources/js/Button.js
r89 r172 11 11 //******************************************************** 12 12 13 var Button = Class.create( {13 var Button = Class.create( { 14 14 initialize: function( param ) 15 15 { … … 21 21 this.classNameText = param.classNameText ? param.classNameText : false; 22 22 this.callbackOnClick = param.onClick ? param.onClick : false; 23 this.callbackOnMouseOver = param.onMouseOver ? param.onMouseOver : false; 24 this.callbackOnMouseOut = param.onMouseOut ? param.onMouseOut : false; 23 25 this.boolDisabled = false; 24 26 this.boolSelected = false; … … 26 28 27 29 // Create button elements 28 this.divContainer = $( document.createElement("button"));29 if( this.className)30 30 this.divContainer = $( document.createElement( "button" ) ); 31 if( this.className ) 32 this.divContainer.className = this.className; 31 33 this.divContainer.atMe = this; 32 34 this.divContainer.id = this.id; 33 35 if( this.parent ) 34 this.parent.appendChild( this.divContainer);36 this.parent.appendChild( this.divContainer ); 35 37 36 this.divText = $( document.createElement("div"));37 if( this.classNameText)38 38 this.divText = $( document.createElement( "div" ) ); 39 if( this.classNameText ) 40 this.divText.className = "button_text"; 39 41 this.divText.innerHTML = this.value; 40 this.divContainer.appendChild( this.divText);41 42 this.divContainer.appendChild( this.divText ); 43 42 44 // Define button events 43 Event.observe(this.divContainer, 'click', this.onClick.bindAsEventListener(this)); 44 Event.observe(this.divContainer, 'mouseover', this.onHover.bindAsEventListener(this)); 45 Event.observe( this.divContainer, 'click', this.onClick.bindAsEventListener( this ) ); 46 Event.observe( this.divContainer, 'mouseover', this.onHover.bindAsEventListener( this ) ); 47 Event.observe( this.divContainer, 'mouseout', this.onOut.bindAsEventListener( this ) ); 45 48 }, 46 49 … … 51 54 return this.divContainer; 52 55 }, 53 56 54 57 isDisable : function() 55 58 { 56 59 return this.boolDisabled; 57 60 }, 58 61 59 62 isSelected: function() 60 63 { 61 64 return this.boolSelected; 62 65 }, 63 66 64 67 setValue : function( value ) 65 68 { … … 67 70 this.divText.innerHTML = this.value; 68 71 }, 69 72 70 73 setCallbackOnClick : function( value ) 71 74 { 72 75 this.callbackOnClick = value; 73 76 }, 74 77 75 78 // Actions ******************************************************** 76 79 … … 78 81 { 79 82 this.boolDisabled = true; 80 this.divContainer.addClassName( "disable");83 this.divContainer.addClassName( "disable" ); 81 84 }, 82 85 83 86 enable : function() 84 87 { 85 88 this.boolDisabled = false; 86 this.divContainer.removeClassName( "disable");89 this.divContainer.removeClassName( "disable" ); 87 90 }, 88 91 89 92 select : function( value ) 90 93 { 91 94 this.boolSelected = value; 92 95 if( this.boolSelected ) 93 this.divContainer.addClassName( "selected");96 this.divContainer.addClassName( "selected" ); 94 97 else 95 this.divContainer.removeClassName( "selected");98 this.divContainer.removeClassName( "selected" ); 96 99 }, 97 100 98 101 show : function() 99 102 { … … 117 120 this.callbackOnClick(); 118 121 } 119 Event.stop( event);122 Event.stop( event ); 120 123 }, 121 124 122 125 onHover : function( event ) 123 126 { 124 Event.stop(event); 127 if( !this.isDisable() && this.callbackOnMouseOver ) 128 this.callbackOnMouseOver(); 129 130 Event.stop( event ); 131 }, 132 133 onOut: function() 134 { 135 if( !this.isDisable() && this.callbackOnMouseOut ) 136 this.callbackOnMouseOut(); 125 137 } 126 } );138 } ); -
ether_megapoli/trunk/web/resources/js/Select.js
r131 r172 3 3 // Display a Select 4 4 // 5 // obj objParam: {id, [parent], [specificClass], [maxOptionSize], [isDisable], [isDisplayed] , [arrayData]}5 // obj objParam: {id, [parent], [specificClass], [maxOptionSize], [isDisable], [isDisplayed]} 6 6 // int objParam.id: id of the dom element 7 7 // [dom objParam.parent]: in which dom element to draw the button … … 10 10 // [int objParam.isDisable]: is the Select disable by default? 11 11 // [int objParam.isDisplayed]: is the Select opened by default? 12 // [arr objParam.arrayData]: array of data to display13 12 // 14 13 // Public functions … … 38 37 this.indexOption = 0; 39 38 this.isHover = false; 40 this.arrayData = objectParameter.arrayData ? objectParameter.arrayData : $A();41 39 this.arrayOptions = $A(); 40 this.className = objectParameter.className ? "select_container " + objectParameter.className : "select_container"; 41 this.classNameOption = objectParameter.classNameOption ? "select_choicelist " + objectParameter.classNameOption : "select_choicelist"; 42 42 43 43 // Select div 44 44 this.divSelect = document.createElement( "div" ); 45 45 this.divSelect.id = this.id; 46 this.divSelect.className = "select_container";46 this.divSelect.className = this.className; 47 47 48 48 this.divSelectLeft = document.createElement( "div" ); … … 63 63 this.divOption = document.createElement( "div" ); 64 64 this.divSelect.id = this.id; 65 this.divOption.className = "select_choicelist";65 this.divOption.className = this.classNameOption; 66 66 this.parent.appendChild( this.divOption ); 67 67 … … 90 90 }, 91 91 92 getSize: function() 93 { 94 return this.arrayOptions.size(); 95 }, 96 92 97 // private 93 98 toggleOption:function() … … 139 144 140 145 // public 146 /** 147 * This method indicates if the itemValue is already in the array 148 */ 149 content: function( itemValue ) 150 { 151 var resu = false; 152 this.arrayOptions.each( function( divOption ) 153 { 154 if( divOption.itemValue == itemValue ) 155 { 156 resu = true; 157 throw $break; 158 } 159 }.bind( this ) ); 160 return resu; 161 }, 162 163 // public 141 164 add: function( itemValue, itemName, callback ) 142 165 { 143 144 166 var divOption = document.createElement( "div" ); 145 167 divOption.className = "select_item_middle"; … … 177 199 this.arrayOptions = this.arrayOptions.without( divOption ); 178 200 }.bind( this ) ); 201 }, 202 203 // public 204 /** 205 * This method changes only the content of the divSelect without add the item to the array 206 * @param itemValue 207 * @param itemName 208 * @param callback 209 */ 210 changeSelectMiddle: function( itemValue, itemName, callback ) 211 { 212 this.add( itemValue, itemName, callback ); 213 this.select( itemValue, callback ); 214 this.remove( itemValue ); 179 215 }, 180 216 -
ether_megapoli/trunk/web/resources/js/etherClasses.js
r130 r172 109 109 if( objectParameter.isExpiredTitle ) 110 110 this.isExpiredTitle = objectParameter.isExpiredTitle; 111 this.onMouseOverContainer = objectParameter.onMouseOverContainer ? objectParameter.onMouseOverContainer : false; 112 this.onMouseOutContainer = objectParameter.onMouseOutContainer ? objectParameter.onMouseOutContainer : false; 111 113 } 112 114 }, … … 137 139 }, 138 140 139 on ClickContainer: function( event )141 onHoverContainer: function( event ) 140 142 { 141 143 if( !event || (event.detail == undefined || 1 == event.detail) ) … … 143 145 }, 144 146 147 onClickContainer: function( event ) 148 { 149 if( !event || (event.detail == undefined || 1 == event.detail) ) 150 this.executeListenersFunction(); 151 }, 152 145 153 selectWithParameter: function( classNameValue ) 146 154 { … … 167 175 if( this.divContainer ) 168 176 Event.observe( this.divContainer, 'click', this.onClickContainer.bindAsEventListener( this ) ); 177 if( this.divContainer && this.onMouseOverContainer ) 178 Event.observe( this.divContainer, 'mouseover', this.onMouseOverContainer.bindAsEventListener( this ) ); 179 if( this.divContainer && this.onMouseOutContainer ) 180 Event.observe( this.divContainer, 'mouseout', this.onMouseOutContainer.bindAsEventListener( this ) ); 169 181 }, 170 182 -
ether_megapoli/trunk/web/src/ApplicationResources.properties
r171 r172 428 428 inWork=Page en cours de construction.. 429 429 all.visualization=Visualisation 430 data.visualization.add=Ajouter 430 431 431 432 data.visualization=Des donn\u00E9es … … 448 449 data.visualization.Unvalid_Period=P\u00E9riode non valide ! 449 450 data.visualization.titleChoice=Title 450 data.visualization.axe=Axes 451 data.visualization.type=Type de trac\u00E9 452 data.visualization.graph=Quicklook final : 453 data.visualization.graph.noPlot=Aucun quicklook 451 454 data.visualization.button.clear=Effacer 455 data.visualization.button.init=Initialiser 452 456 data.visualization.button.visualize=Visualisation 453 457 data.visualization.button.download=T\u00E9l\u00E9chargement … … 455 459 data.visualization.loading.data=Chargement des donn\u00E9es 456 460 data.visualization.quicklook=Quicklook 461 data.visualization.parameter=param\u00E8tre(s) 462 data.visualization.parameter.add=Ajouter le param\u00E8tre s\u00E9lectionn\u00E9 au quicklook final 463 data.visualization.parameter.init=Vider la liste des param\u00E8tres 457 464 458 465 data.visualization.axeType.TimeLine=S\u00E9rie temporelle (ligne) -
ether_megapoli/trunk/web/src/ApplicationResources_en.properties
r171 r172 427 427 inWork=Work in progress.. 428 428 all.visualization=Visualization 429 data.visualization.add=Add 429 430 430 431 data.visualization=Datas … … 447 448 data.visualization.Unvalid_Period=Unvalid periode ! 448 449 data.visualization.titleChoice=Titre 449 data.visualization.axe=Axes 450 data.visualization.type=Plot's type 451 data.visualization.graph=Final quicklook : 452 data.visualization.graph.noPlot=No quicklook 450 453 data.visualization.button.clear=Clear 454 data.visualization.button.init=Init 451 455 data.visualization.button.visualize=Visualization 452 456 data.visualization.button.download=Download … … 454 458 data.visualization.loading.data=Data downloading 455 459 data.visualization.quicklook=Quicklook 460 data.visualization.parameter=parameter(s) 461 data.visualization.parameter.add=Add the selected parameter to the final quicklook 462 data.visualization.parameter.init=Remove the parameters list 456 463 457 464 data.visualization.axeType.TimeLine=Time serie (ligne) -
ether_megapoli/trunk/web/src/com/ether/Controller.java
r133 r172 6 6 import com.medias.database.objects.Parametre; 7 7 import com.medias.database.objects.Plateforme; 8 import com.medias.database.objects.TypePlateforme; 8 9 import net.sf.json.JSONObject; 9 10 import org.apache.commons.logging.Log; … … 29 30 /** *********************************************************** **/ 30 31 /** *********************** VIEWS ***************************** **/ 31 /** *********************************************************** **/ 32 /** 33 * ********************************************************** * 34 */ 32 35 // Default view if methodName is unknown 33 36 public ModelAndView home( final HttpServletRequest request, final HttpServletResponse response ) … … 49 52 { 50 53 final List<Plateforme> plateforms = _etherService.getAllPlateforms(); 54 // final List<Plateforme> plateforms = new ArrayList<Plateforme>(); 55 // final TypePlateforme type = new TypePlateforme( 1, "FIXE" ); 56 // final Plateforme pf = new Plateforme(); 57 // pf.setPlateformeId( 1 ); 58 // pf.setPlateformeNom( "LHVP" ); 59 // pf.setTypePlateforme( type ); 60 // plateforms.add( pf ); 61 // final Plateforme pf2 = new Plateforme(); 62 // pf2.setPlateformeId( 2 ); 63 // pf2.setPlateformeNom( "SIRTA" ); 64 // pf2.setTypePlateforme( type ); 65 // plateforms.add( pf2 ); 51 66 52 67 final Map<String, Object> model = new HashMap<String, Object>(); … … 59 74 /** *********************************************************** **/ 60 75 /** *********************** CALLS ***************************** **/ 61 /** *********************************************************** **/ 76 /** 77 * ********************************************************** * 78 */ 62 79 @ControllerMethod(jsonResult = true) 63 80 public JSONObject searchParametersByPlateform( @Mandatory @ParamName(ParameterConstants.PARAMETER_ID) final Integer plateformId ) … … 65 82 { 66 83 final List<Parametre> parametersByPlateform = _etherService.getParametersByPlateformId( plateformId ); 84 // final List<Parametre> parametersByPlateform = new ArrayList<Parametre>( 2 ); 85 // final Parametre p1 = new Parametre(); 86 // p1.setParametreId( 1 ); 87 // p1.setParametreNom( "JNO2" ); 88 // parametersByPlateform.add( p1 ); 89 // final Parametre p2 = new Parametre(); 90 // p2.setParametreId( 2 ); 91 // p2.setParametreNom( "CO2" ); 92 // parametersByPlateform.add( p2 ); 67 93 68 94 final JSONObject result = new JSONObject(); -
ether_megapoli/trunk/web/visualization/visu_parameter_by_pf-script.jsp
r171 r172 18 18 this.beginDate = false; 19 19 this.endDate = false; 20 this.numberParameterToDisplay = 0; 20 21 21 22 /** *********** CONTAINERS *********** **/ … … 24 25 this.containerButtons = $( "containerButtons" ); 25 26 this.containerOptionCalendar = $( "containerOptionCalendar" ); 26 this.containerOptionAxe = $( "containerOptionAxe" ); 27 this.containerOptionType = $( "containerOptionType" ); 28 this.containerOptionPlotsSelect = $( "containerOptionPlotsSelect" ); 29 this.containerOptionPlotsButtons = $( "containerOptionPlotsButtons" ); 27 30 28 31 /** *********** LOADING *********** **/ … … 70 73 } ); 71 74 72 this.clear Button = new Button( {value:interfaceTexts["data.visualization.button.clear"], parent:this.containerOptionCalendar, id:"button_clear", className:"small", onClick:this.onClickClear.bind( this )} );75 this.clearCalendarButton = new Button( {value:interfaceTexts["data.visualization.button.clear"], parent:this.containerOptionCalendar, id:"button_clear_calendar", className:"small", onClick:this.onClickClear.bind( this )} ); 73 76 74 77 // Buttons and axe's types 75 78 this.createButtons(); 76 this.createListAxes(); 79 this.createListTypes(); 80 this.createListPlots(); 77 81 }, 78 82 … … 85 89 }, 86 90 87 createList Axes: function()91 createListTypes: function() 88 92 { 89 93 var paramSelect = new Object(); 90 94 paramSelect.id = "select_axes"; 91 paramSelect.parent = $( "containerOptionAxe" );95 paramSelect.parent = this.containerOptionType; 92 96 this.selectAxes = new Select( paramSelect ); 97 }, 98 99 createListPlots: function() 100 { 101 var paramSelect = new Object(); 102 paramSelect.id = "select_plots"; 103 paramSelect.parent = this.containerOptionPlotsSelect; 104 paramSelect.classNameOption = "select_plot_option"; 105 this.selectPlots = new Select( paramSelect ); 106 this.selectPlots.add( null, interfaceTexts["data.visualization.graph.noPlot"] ); 107 this.selectPlots.selectFirst( false ); 108 109 this.selectPlotsPlateformType = false; 110 111 this.addPlotButton = new Button( {value:interfaceTexts["data.visualization.add"], parent:this.containerOptionPlotsButtons, id:"button_add_plot", className:"small", onClick:this.onClickAddPlot.bind( this ), onMouseOver:this.onMouseOverAddPlot.bind( this ), onMouseOut:this.onMouseOutAddPlot.bind( this )} ); 112 this.addPlotButton.disable(); 113 this.initPlotButton = new Button( {value:interfaceTexts["data.visualization.button.init"], parent:this.containerOptionPlotsButtons, id:"button_init_plot", className:"small", onClick:this.onClickInitPlot.bind( this ), onMouseOver:this.onMouseOverInitPlot.bind( this ), onMouseOut:this.onMouseOutInitPlot.bind( this )} ); 93 114 }, 94 115 … … 130 151 displayParameters: function() 131 152 { 132 this.parameters = new ListParameters( this.jsonParameters, new Object() ); 153 var objectParameter = new Object(); 154 objectParameter.onMouseOverContainer = this.onMouseOverParameter; 155 objectParameter.onMouseOutContainer = this.onMouseOutParameter; 156 this.parameters = new ListParameters( this.jsonParameters, objectParameter ); 133 157 134 158 this.parameters.addOpenListener( this.onSelectParameter.bind( this ) ); … … 156 180 this.selectedParameter = false; 157 181 158 // Change plateformType'sselect182 // Change axe's list select 159 183 this.updateListAxes(); 184 185 this.addPlotButton.disable(); 160 186 161 187 $( "textareaTitle" ).value = this.selectedPlateform.getName(); … … 176 202 this.selectedParameter.select(); 177 203 204 // Change title 178 205 $( "textareaTitle" ).value = this.selectedPlateform.getName() + " - " + this.selectedParameter.getName(); 206 207 // Update number and list of parameter to display 208 this.updateNumberAndListParameterToDisplay( 1 ); 209 210 // Enable/disable addPlot's button 211 if( !this.selectPlotsPlateformType || this.selectPlotsPlateformType == this.selectedPlateform.jsonElement.type ) 212 this.addPlotButton.enable(); 213 else 214 this.addPlotButton.disable(); 215 179 216 this.testAllFields(); 217 }, 218 219 onMouseOverParameter: function() 220 { 221 this.divContainer.innerHTML = this.jsonElement.name + " (" + this.jsonElement.code + ")"; 222 }, 223 224 onMouseOutParameter: function() 225 { 226 this.divContainer.innerHTML = this.jsonElement.name; 180 227 }, 181 228 … … 206 253 }, 207 254 255 onClickInitPlot: function() 256 { 257 this.updateNumberAndListParameterToDisplay( 0 ); 258 }, 259 260 onMouseOverInitPlot: function() 261 { 262 // this.initPlotButton.setValue(interfaceTexts["data.visualization.parameter.init"]); 263 }, 264 265 onMouseOutInitPlot: function() 266 { 267 // this.initPlotButton.setValue(interfaceTexts["data.visualization.button.init"]); 268 }, 269 270 onClickAddPlot: function() 271 { 272 this.updateNumberAndListParameterToDisplay( 2 ); 273 }, 274 275 onMouseOverAddPlot: function() 276 { 277 // this.addPlotButton.setValue(interfaceTexts["data.visualization.parameter.add"]); 278 }, 279 280 onMouseOutAddPlot: function() 281 { 282 // this.addPlotButton.setValue(interfaceTexts["data.visualization.add"]); 283 }, 284 208 285 onClickVisualize: function() 209 286 { 210 287 // this.plotWindow.getContent().innerHTML = '<div class="loadingPlot"><img src="/Megapoli/resources/icons/loading_datas.gif"/></div>'; 211 288 212 var url = "visualization/plotEther?plateformId=" + this.selectedPlateform.getId() 213 + "¶meterId=" + this.selectedParameter.getId() 289 // var url = "visualization/plotEther?plateformId=" + this.selectedPlateform.getId() 290 // + "¶meterId=" + this.selectedParameter.getId() 291 // + "&dateBegin=" + this.beginDate 292 // + "&dateEnd=" + this.endDate 293 // + "&title=" + encodeURIComponent( $( "textareaTitle" ).value ) 294 // + "&axeType=" + this.selectAxes.getValue(); 295 296 var url = "visualization/plotEther?plateformId=14" 297 + "¶meterId=90" 214 298 + "&dateBegin=" + this.beginDate 215 299 + "&dateEnd=" + this.endDate … … 217 301 + "&axeType=" + this.selectAxes.getValue(); 218 302 219 // var url = "visualization/plotEther?plateformId=14"220 // + "¶meterId=90"221 // + "&dateBegin=" + this.beginDate222 // + "&dateEnd=" + this.endDate223 // + "&title=" + encodeURIComponent( $( "textareaTitle" ).value )224 // + "&axeType=" + this.selectAxes.getValue();225 226 303 this.plotWindow.getContent().innerHTML = '<img src=' + url + ' />'; 304 305 // this.plotWindow.getContent().innerHTML = '<applet width="500" height="200" code="AppletPlot.class">Now somewhere in the black moutains...</applet>'; 227 306 this.plotWindow.setSize( <%=EtherPlotServiceImpl.getMaxWidth()%>, <%=EtherPlotServiceImpl.getMaxHeight()%> ); 228 307 this.plotWindow.show(); … … 285 364 286 365 this.selectAxes.selectFirst( false ); 366 }, 367 368 /** 369 * action = 0 --> init list 370 * action = 1 --> select parameter 371 * action = 2 --> add parameter 372 */ 373 updateNumberAndListParameterToDisplay: function( action ) 374 { 375 switch( action ) 376 { 377 case 0: 378 // INIT 379 if( this.selectedPlateform && this.selectedParameter ) 380 { 381 this.selectPlots.clear(); 382 this.selectPlotsPlateformType = false; 383 this.selectPlots.changeSelectMiddle( this.selectedPlateform.getId() + "-" + this.selectedParameter.getId(), this.selectedPlateform.getName() + " - " + this.selectedParameter.getName() ); 384 385 this.numberParameterToDisplay = 1; 386 $( "messages_number_parameters" ).innerHTML = this.numberParameterToDisplay + " " + interfaceTexts["data.visualization.parameter"]; 387 } 388 else 389 { 390 this.selectPlots.clear(); 391 this.selectPlots.add( null, interfaceTexts["data.visualization.graph.noPlot"] ); 392 this.selectPlots.selectFirst( false ); 393 this.selectPlotsPlateformType = false; 394 395 this.numberParameterToDisplay = 0; 396 $( "messages_number_parameters" ).innerHTML = ""; 397 } 398 break; 399 case 1 : 400 // SELECT 401 if( 0 == this.numberParameterToDisplay ) 402 { 403 this.selectPlots.clear(); 404 this.numberParameterToDisplay = 1; 405 } 406 407 this.selectPlots.changeSelectMiddle( this.selectedPlateform.getId() + "-" + this.selectedParameter.getId(), this.selectedPlateform.getName() + " - " + this.selectedParameter.getName() ); 408 $( "messages_number_parameters" ).innerHTML = this.numberParameterToDisplay + " " + interfaceTexts["data.visualization.parameter"]; 409 break; 410 default: 411 // ADD 412 var plotValue = this.selectedPlateform.getId() + "-" + this.selectedParameter.getId(); 413 if( !this.selectPlots.content( plotValue ) ) 414 { 415 this.selectPlots.add( plotValue, this.selectedPlateform.getName() + " - " + this.selectedParameter.getName() ); 416 this.selectPlots.select( plotValue, false ); 417 this.selectPlotsPlateformType = this.selectedPlateform.jsonElement.type; 418 419 this.numberParameterToDisplay = this.selectPlots.getSize(); 420 } 421 422 $( "messages_number_parameters" ).innerHTML = this.numberParameterToDisplay + " " + interfaceTexts["data.visualization.parameter"]; 423 break; 424 } 287 425 } 288 426 289 } ); 427 } ) 428 ; 290 429 291 430 </script> -
ether_megapoli/trunk/web/visualization/visu_parameter_by_pf.jsp
r171 r172 62 62 63 63 <div class="span-25"> 64 <div id="generalContainerPlateforms" class="span- 7colborder">64 <div id="generalContainerPlateforms" class="span-6 colborder"> 65 65 <div id="messages"><bean:message key="data.visualization.selectPf"/></div> 66 66 … … 74 74 </div> 75 75 76 <div id="generalContainerOptions" class="span-1 0last">76 <div id="generalContainerOptions" class="span-11 last"> 77 77 <div id="containerOptionCalendar" class="span-10"> 78 78 <div id="messages" class="messagesHeight"><bean:message … … 82 82 </div> 83 83 84 <div id="containerOptionTitle" class="span- 8">84 <div id="containerOptionTitle" class="span-5"> 85 85 <div id="messages" class="messagesHeight"><bean:message key="data.visualization.titleChoice"/></div> 86 <textarea id="textareaTitle" cols=" 37" rows="2"></textarea>86 <textarea id="textareaTitle" cols="25" rows="1"></textarea> 87 87 </div> 88 88 89 <div id="containerOptionAxe" class="span-8"> 90 <div id="messages" class="messagesHeight"><bean:message key="data.visualization.axe"/></div> 89 <div id="containerOptionType" class="span-5"> 90 <div id="messages" class="messagesHeight"><bean:message key="data.visualization.type"/></div> 91 </div> 92 93 <div id="containerOptionPlots" class="span-10"> 94 <div id="messages" class="messagesHeight span-4"><bean:message key="data.visualization.graph"/></div> 95 <div id="messages_number_parameters" class="messagesHeight messages_number_parameters"></div> 96 <div id="containerOptionPlotsSelect" class="span-10"></div> 97 <div id="containerOptionPlotsButtons" class="span-10"></div> 91 98 </div> 92 99 … … 107 114 interfaceTexts["data.visualization.Unvalid_Period"] = "<bean:message key="data.visualization.Unvalid_Period"/>"; 108 115 interfaceTexts["data.visualization.quicklook"] = "<bean:message key="data.visualization.quicklook"/>"; 109 interfaceTexts["data.visualization.titleChoice"] = "<bean:message key="data.visualization.titleChoice"/>";110 interfaceTexts["data.visualization.axe"] = "<bean:message key="data.visualization.axe"/>";111 116 interfaceTexts["data.visualization.button.today"] = "<bean:message key="data.visualization.button.today"/>"; 112 117 interfaceTexts["data.visualization.button.clear"] = "<bean:message key="data.visualization.button.clear"/>"; … … 119 124 interfaceTexts["data.visualization.selectHour"] = "<bean:message key="data.visualization.selectHour"/>"; 120 125 interfaceTexts["data.visualization.selectMinute"] = "<bean:message key="data.visualization.selectMinute"/>"; 126 127 interfaceTexts["data.visualization.graph.noPlot"] = "<bean:message key="data.visualization.graph.noPlot"/>"; 128 interfaceTexts["data.visualization.add"] = "<bean:message key="data.visualization.add"/>"; 129 interfaceTexts["data.visualization.button.init"] = "<bean:message key="data.visualization.button.init"/>"; 130 interfaceTexts["data.visualization.parameter"] = "<bean:message key="data.visualization.parameter"/>"; 131 interfaceTexts["data.visualization.parameter.add"] = "<bean:message key="data.visualization.parameter.add"/>"; 132 interfaceTexts["data.visualization.parameter.init"] = "<bean:message key="data.visualization.parameter.init"/>"; 133 121 134 122 135 interfaceTexts["<%=AxeTypeForFixedPlateform.TIME_LINE%>"] = "<bean:message key="data.visualization.axeType.TimeLine"/>";
Note: See TracChangeset
for help on using the changeset viewer.