Changeset 754


Ignore:
Timestamp:
01/30/13 19:48:01 (11 years ago)
Author:
cbipsl
Message:

Mise à jour interface quicklook

Location:
ether_iasi/trunk/web
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ether_iasi/trunk/web/project/quicklook.jsp

    r745 r754  
    5151 
    5252    <div id="containerQuickLookA" class="containerQuickLooks"> 
    53         <div id="containerResultA"></div> 
     53        <div id="containerResultA" class="containerResult" ></div> 
    5454 
    5555    </div> 
     
    5757 
    5858    <div id="containerQuickLookB" class="containerQuickLooks"> 
    59         <div id="containerResultB"></div> 
     59        <div id="containerResultB" class="containerResult"></div> 
    6060    </div> 
    6161 
     
    6767        new InterfaceIasi(); 
    6868    </script> 
     69</div> 
    6970 
    7071</BODY> 
  • ether_iasi/trunk/web/project/quicklook_script.jsp

    r753 r754  
    124124            var plotNameC = jQuery.parseJSON( result ).plotNameResultC; 
    125125            var plotNameD = jQuery.parseJSON( result ).plotNameResultD; 
     126            var repDate =  jQuery.parseJSON( result ).plotRepResult; 
    126127 
    127128 
    128129            if( plotNameA && plotNameB ) 
    129130            { 
    130                 this.containerResultA.html( "<center>MetOp-A</center><center><img src='resources/imgiasiA/" + plotNameA + "' width='430px' height='350px' onerror='javascript:displayNoImage()'><img src='resources/img/" + plotNameC + "' width='430px' height='350px'></center>" ); 
    131                 this.containerResultB.html( "<center>MetOp-B</center><center><img src='resources/imgiasiB/" + plotNameB + "' width='430px' height='350px' onerror='javascript:displayNoImageB()'><img src='resources/img/" + plotNameD + "' width='430px' height='350px'></center>" ); 
     131                this.containerResultA.html( "<center>MetOp-A</center><img src='resources/imgiasiA/" + repDate + "/" + plotNameA + "' width='430px' height='350px' onerror='javascript:displayNoImage()'><img src='resources/imgiasiA/" + repDate + "/"  + plotNameC + "' width='430px' height='350px'>" ); 
     132                this.containerResultB.html( "<center>MetOp-B</center><img src='resources/imgiasiB/" + repDate + "/" + plotNameB + "' width='430px' height='350px' onerror='javascript:displayNoImageB()'><img src='resources/imgiasiB/" + repDate + "/" + plotNameD + "' width='430px' height='350px'>" ); 
    132133            } 
    133134            else 
    134135            { 
    135136                if( plotNameA ) 
    136                     this.containerResultA.html( "<center>MetOp-A</center><center><img src='resources/imgiasiA/" + plotNameA + "' width='430px' height='350px' onerror='javascript:displayNoImage()'><img src='resources/img/" + plotNameC + "' width='430px' height='350px'></center>" ); 
     137                    this.containerResultA.html( "<center>MetOp-A</center><img src='resources/imgiasiA/" + repDate + "/" + plotNameA + "' width='430px' height='350px' onerror='javascript:displayNoImage()'><img src='resources/imgiasiA/" + repDate + "/" + plotNameC + "' width='430px' height='350px'>" ); 
    137138 
    138139                if( plotNameB ) 
    139                     this.containerResultA.html( "<center>MetOp-B</center><center><img src='resources/imgiasiB/" + plotNameB + "' width='430px' height='350px' onerror='javascript:displayNoImage()'><img src='resources/img/" + plotNameD + "' width='430px' height='350px'></center>" ); 
     140                    this.containerResultA.html( "<center>MetOp-B</center><img src='resources/imgiasiB/" + repDate + "/" + plotNameB + "' width='430px' height='350px' onerror='javascript:displayNoImage()'><img src='resources/imgiasiB/" + repDate + "/" + plotNameD + "' width='430px' height='350px'>" ); 
    140141 
    141142            } 
  • ether_iasi/trunk/web/resources/css/button.css

    r753 r754  
    5151    width: 16px; 
    5252    height: 16px; 
    53 }                                                      s 
     53} 
    5454 
    5555/* STANDARD */ 
  • ether_iasi/trunk/web/resources/css/iasi.css

    r753 r754  
    4545.containerQuickLooks { 
    4646    float: left; 
    47     margin: 40px 0; 
    48     width: 900px; 
     47    margin: 30px 0; 
     48    width: 950px; 
    4949    text-align: center; 
    5050    color: #000099; 
     
    5353    font-weight: bold; 
    5454} 
     55.containerResult { 
     56    margin: 0 20px; 
     57 
     58} 
     59 
    5560 
    5661.containerDataAccess { 
  • ether_iasi/trunk/web/src/com/ether/Controller.java

    r745 r754  
    7272        final Date date = calendar.getTime(); 
    7373        final String fmtDate = DateHelper.formatDate( date, "yyyyMMdd" ); 
     74        final String repDate = DateHelper.formatDate( date, "yyyy/MM/dd" ); 
    7475        String plotNameA = ""; 
    7576        String plotNameB = ""; 
     
    9192        result.put( "plotNameResultC", plotNameC ); 
    9293        result.put( "plotNameResultD", plotNameD ); 
     94        result.put( "plotRepResult", repDate); 
    9395        return result; 
    9496 
Note: See TracChangeset for help on using the changeset viewer.