Changeset 238


Ignore:
Timestamp:
11/07/11 18:22:12 (13 years ago)
Author:
vmipsl
Message:

jQuery

  • calendrier ok
  • window ok
Location:
ether_megapoli/trunk/web
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/web/resources/css/button.css

    r130 r238  
    66 
    77button { 
     8    -moz-border-radius: 4px 4px 4px 4px; 
     9    -webkit-border-radius: 4px 4px 4px 4px; 
     10 
    811    display:block; 
    912    float:left; 
  • ether_megapoli/trunk/web/resources/css/etherApple.css

    r234 r238  
    2929    text-decoration: none; 
    3030    color: #618EAC; 
     31} 
     32 
     33input { 
     34    -moz-border-radius: 4px 4px 4px 4px; 
     35    -webkit-border-radius: 4px 4px 4px 4px; 
    3136} 
    3237 
  • ether_megapoli/trunk/web/resources/css/visu_parameter_by_pf.css

    r234 r238  
    1313 
    1414.containerPlateform:hover, .containerParameter:hover { 
     15    -moz-border-radius: 4px 4px 4px 4px; 
     16    -webkit-border-radius: 4px 4px 4px 4px; 
    1517    text-decoration: none; 
    1618    background: #70739C; 
     
    5961.plateform_selected, .plateform_selected:hover, 
    6062.parameter_selected, .parameter_selected:hover { 
     63    -moz-border-radius: 4px 4px 4px 4px; 
     64    -webkit-border-radius: 4px 4px 4px 4px; 
    6165    background: #70739C; 
    6266    color: #E1DEF1; 
     
    97101 
    98102.imageExamples { 
    99     margin : 10px; 
     103    margin: 10px; 
    100104} 
    101105 
    102106.textExamples { 
    103     /*color: #04155D;*/ 
     107/*color: #04155D;*/ 
    104108    margin-bottom: 10px; 
    105109} 
  • ether_megapoli/trunk/web/resources/js/classesForJQuery/ComplexButton.js

    r234 r238  
    153153    { 
    154154        var contextEvent = event.data; 
    155         if( !contextEvent.getDisable() && (undefined == event.detail || 1 == event.detail) && contextButton.callbackOnClick ) 
     155        if( !contextEvent.getDisable() && (undefined == event.detail || 1 == event.detail) && contextEvent.callbackOnClick ) 
    156156            contextEvent.callbackOnClick(); 
    157157    } 
  • ether_megapoli/trunk/web/resources/templates/appleTemplate.jsp

    r236 r238  
    2222    <ether:htmlCss cssFile="megapoliApple"/> 
    2323 
    24     <ether:htmlJs jsFile="library/jquery-1.6.2.min"/> 
     24    <ether:htmlJs jsFile="library/jquery-1.4.2.min"/> 
    2525    <ether:htmlJs jsFile="library/jquery.class"/> 
    2626    <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" %> 
    12<script type="text/javascript"> 
    23var InterfaceVisualization = Class.create( { 
     
    4546        this.loadingParameters.display(); 
    4647 
    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  
    5348        this.createOptions(); 
    5449        this.displayPlateforms(); 
     
    8883    { 
    8984        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(); 
    9186        this.downloadButton = new Button( {value:interfaceTexts["data.visualization.button.download"], parent:this.containerButtons, id:"button_download", onClick:jQuery.proxy( this.onClickDownload, this )} ); 
    9287        this.downloadButton.disable(); 
     
    184179    displayParameters: function() 
    185180    { 
    186         var objectParameter = new Object(); 
    187         this.parameters = new ListParameters( this.jsonParameters, objectParameter ); 
     181        this.parameters = new ListParameters( this.jsonParameters,  new Object() ); 
    188182 
    189183        this.parameters.addOpenListener( jQuery.proxy( this.onSelectParameter, this ) ); 
     
    240234 
    241235        // Change title 
    242         $( "textareaTitle" ).html( this.selectedPlateform.getName() + " - " + this.selectedParameter.getName() ); 
     236        $( "#textareaTitle" ).html( this.selectedPlateform.getName() + " - " + this.selectedParameter.getName() ); 
    243237 
    244238        // Update number and list of parameter to display 
     
    306300                    .dialog( { 
    307301                                 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 
    309305                             } ); 
    310306        } 
     
    315311                    .dialog( { 
    316312                                 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 
    318316                             } ); 
    319 //            this.plotWindow.setSize( 400, 50 ); 
    320317        } 
    321318 
    322319        $dialog.dialog( 'open' ); 
    323 //                prevent the default action, e.g., following a link 
    324320        return false; 
    325321    }, 
     
    344340        if( (!this.selectedPlateform || !this.selectedParameter) && 0 == this.numberParameterToDisplay ) 
    345341        { 
    346 //            this.visualizeButton.disable(); 
     342            this.visualizeButton.disable(); 
    347343            this.downloadButton.disable(); 
    348344            return; 
     
    459455        result.parameters = "dateBegin=" + this.beginDate 
    460456                + "&dateEnd=" + this.endDate 
    461                 + "&title=" + encodeURIComponent( $( "textareaTitle" ).value ) 
     457                + "&title=" + encodeURIComponent( $( "#textareaTitle" ).val() ) 
    462458                + "&pfIdPIdList=" + arrayPIdPId 
    463459                + "&axeType=" + this.selectAxes.getValue(); 
Note: See TracChangeset for help on using the changeset viewer.