Changeset 238
- Timestamp:
- 11/07/11 18:22:12 (13 years ago)
- Location:
- ether_megapoli/trunk/web
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/web/resources/css/button.css
r130 r238 6 6 7 7 button { 8 -moz-border-radius: 4px 4px 4px 4px; 9 -webkit-border-radius: 4px 4px 4px 4px; 10 8 11 display:block; 9 12 float:left; -
ether_megapoli/trunk/web/resources/css/etherApple.css
r234 r238 29 29 text-decoration: none; 30 30 color: #618EAC; 31 } 32 33 input { 34 -moz-border-radius: 4px 4px 4px 4px; 35 -webkit-border-radius: 4px 4px 4px 4px; 31 36 } 32 37 -
ether_megapoli/trunk/web/resources/css/visu_parameter_by_pf.css
r234 r238 13 13 14 14 .containerPlateform:hover, .containerParameter:hover { 15 -moz-border-radius: 4px 4px 4px 4px; 16 -webkit-border-radius: 4px 4px 4px 4px; 15 17 text-decoration: none; 16 18 background: #70739C; … … 59 61 .plateform_selected, .plateform_selected:hover, 60 62 .parameter_selected, .parameter_selected:hover { 63 -moz-border-radius: 4px 4px 4px 4px; 64 -webkit-border-radius: 4px 4px 4px 4px; 61 65 background: #70739C; 62 66 color: #E1DEF1; … … 97 101 98 102 .imageExamples { 99 margin 103 margin: 10px; 100 104 } 101 105 102 106 .textExamples { 103 107 /*color: #04155D;*/ 104 108 margin-bottom: 10px; 105 109 } -
ether_megapoli/trunk/web/resources/js/classesForJQuery/ComplexButton.js
r234 r238 153 153 { 154 154 var contextEvent = event.data; 155 if( !contextEvent.getDisable() && (undefined == event.detail || 1 == event.detail) && context Button.callbackOnClick )155 if( !contextEvent.getDisable() && (undefined == event.detail || 1 == event.detail) && contextEvent.callbackOnClick ) 156 156 contextEvent.callbackOnClick(); 157 157 } -
ether_megapoli/trunk/web/resources/templates/appleTemplate.jsp
r236 r238 22 22 <ether:htmlCss cssFile="megapoliApple"/> 23 23 24 <ether:htmlJs jsFile="library/jquery-1. 6.2.min"/>24 <ether:htmlJs jsFile="library/jquery-1.4.2.min"/> 25 25 <ether:htmlJs jsFile="library/jquery.class"/> 26 26 <ether:htmlJs jsFile="library/jquery.protify-0.3"/> -
ether_megapoli/trunk/web/visualization/visu_parameter_by_pf-script.jsp
r236 r238 1 <%@ page import="com.ether.EtherPlotServiceImpl" %> 1 2 <script type="text/javascript"> 2 3 var InterfaceVisualization = Class.create( { … … 45 46 this.loadingParameters.display(); 46 47 47 /** *********** WINDOW FOR THE PLOT *********** **/48 // this.plotWindow = new Window( {className: "dialog", zIndex: 100,49 // resizable: true, draggable:true, wiredDrag: true,50 // showEffect:Effect.BlindDown, hideEffect: Effect.SwitchOff } );51 // this.plotWindow.setTitle( interfaceTexts["app.title"] + "-" + interfaceTexts["data.visualization.quicklook"] );52 53 48 this.createOptions(); 54 49 this.displayPlateforms(); … … 88 83 { 89 84 this.visualizeButton = new Button( {value:interfaceTexts["data.visualization.button.visualize"], parent:this.containerButtons, id:"button_visualize", onClick:jQuery.proxy( this.onClickVisualize, this )} ); 90 //this.visualizeButton.disable();85 this.visualizeButton.disable(); 91 86 this.downloadButton = new Button( {value:interfaceTexts["data.visualization.button.download"], parent:this.containerButtons, id:"button_download", onClick:jQuery.proxy( this.onClickDownload, this )} ); 92 87 this.downloadButton.disable(); … … 184 179 displayParameters: function() 185 180 { 186 var objectParameter = new Object(); 187 this.parameters = new ListParameters( this.jsonParameters, objectParameter ); 181 this.parameters = new ListParameters( this.jsonParameters, new Object() ); 188 182 189 183 this.parameters.addOpenListener( jQuery.proxy( this.onSelectParameter, this ) ); … … 240 234 241 235 // Change title 242 $( " textareaTitle" ).html( this.selectedPlateform.getName() + " - " + this.selectedParameter.getName() );236 $( "#textareaTitle" ).html( this.selectedPlateform.getName() + " - " + this.selectedParameter.getName() ); 243 237 244 238 // Update number and list of parameter to display … … 306 300 .dialog( { 307 301 autoOpen: false, 308 title: interfaceTexts["app.title"] + "-" + interfaceTexts["data.visualization.quicklook"] 302 title: interfaceTexts["app.title"] + "-" + interfaceTexts["data.visualization.quicklook"], 303 minHeight: <%=EtherPlotServiceImpl.getMaxHeight()%>, 304 minWidth: <%=EtherPlotServiceImpl.getMaxWidth()%> + 28 309 305 } ); 310 306 } … … 315 311 .dialog( { 316 312 autoOpen: false, 317 title: interfaceTexts["app.title"] + "-" + interfaceTexts["data.visualization.quicklook"] 313 title: interfaceTexts["app.title"] + "-" + interfaceTexts["data.visualization.quicklook"], 314 height: 50, 315 width: 400 318 316 } ); 319 // this.plotWindow.setSize( 400, 50 );320 317 } 321 318 322 319 $dialog.dialog( 'open' ); 323 // prevent the default action, e.g., following a link324 320 return false; 325 321 }, … … 344 340 if( (!this.selectedPlateform || !this.selectedParameter) && 0 == this.numberParameterToDisplay ) 345 341 { 346 //this.visualizeButton.disable();342 this.visualizeButton.disable(); 347 343 this.downloadButton.disable(); 348 344 return; … … 459 455 result.parameters = "dateBegin=" + this.beginDate 460 456 + "&dateEnd=" + this.endDate 461 + "&title=" + encodeURIComponent( $( " textareaTitle" ).value)457 + "&title=" + encodeURIComponent( $( "#textareaTitle" ).val() ) 462 458 + "&pfIdPIdList=" + arrayPIdPId 463 459 + "&axeType=" + this.selectAxes.getValue();
Note: See TracChangeset
for help on using the changeset viewer.