Changeset 41084bbae99e8a58d8b91f24d116e38ac3f7dd2a

Show
Ignore:
Timestamp:
06/29/09 18:52:18 (5 years ago)
Author:
Umar Farooq <umar@omniti.com>
git-committer:
Umar Farooq <umar@omniti.com> 1246301538 +0000
git-parent:

[e4063fff92cb13883113b8c83778545ed130b1f6]

git-author:
Umar Farooq <umar@omniti.com> 1246301538 +0000
Message:

styling so the graph titles look correct, fixes #146

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ui/web/htdocs/css/style.css

    re4063ff r41084bb  
    731731font-size:10px; 
    732732} 
     733#stream-header { 
     734width: 100%; 
     735overflow: hidden; 
     736} 
     737#stream-modal-header { 
     738width: 100%; 
     739overflow: auto; 
     740} 
     741.graphTitle { 
     742text-align: center; 
     743} 
     744#maingraph .graphTitle { 
     745display: none; 
     746} 
    733747div.plot-area { 
    734748height:180px; 
     
    764778margin-top: 50px;              
    765779} 
     780#drawing_board .graphTitle { 
     781font-size:28px; 
     782font-weight:normal; 
     783text-align: center; 
     784padding-bottom: 10px; 
     785padding-top: 10px; 
     786} 
    766787#drawing_board div.plot-area { 
    767788height:400px; 
    768789width:780px; 
    769 margin-top: 50px; 
     790margin-top: 20px; 
    770791} 
    771792#drawing_board ul#worksheet-graphs div.plot-area { 
     
    790811} 
    791812#StreamingModalContainer .graphTitle{ 
     813font-size:28px; 
     814font-weight:normal; 
    792815text-align: center; 
     816padding-bottom: 10px; 
     817padding-top: 10px; 
    793818} 
    794819#maingraph div.plot-area div.centered { 
     
    10151040.moveGraph { 
    10161041margin: 0; 
     1042} 
     1043ul#worksheet-graphs .graphTitle { 
     1044font-size:12px; 
     1045font-weight:bold; 
     1046text-align: center; 
     1047padding-bottom: 10px; 
     1048padding-top: 10px; 
    10171049} 
    10181050ul#worksheet-graphs li.zoomGraph { 
  • ui/web/htdocs/graph_panel.inc

    re4063ff r41084bb  
    106106 
    107107function set_current_graph_id(id) { 
    108   streaming = false; //precautionary 
     108  stop_streaming_graph(); 
    109109  $(".rememberGraph").fadeOut('fast'); 
    110110  if(id!='')  { 
     
    118118    unlock_forms();     
    119119    $(".editGraph").html('Editing!').fadeIn('slow'); 
    120     stop_streaming_graph(); 
    121120  } 
    122121  current_graph_id = id; 
  • ui/web/htdocs/js/recon.js

    re4063ff r41084bb  
    206206          if(!this.graphinfo.cnt) this.graphinfo.cnt = this.graphinfo.width / 2; 
    207207          if(!this.attr("id")) this.attr("id", this.graphinfo.graphid); 
    208           this.append($('<h3/>').addClass("graphTitle") 
     208          this.append($('<div/>').addClass("graphTitle") 
    209209                               .html(this.graphinfo.title || '')) 
    210210              .append($('<div></div>').addClass("plot-area") 
     
    223223          this.graphinfo.graphid = ''; 
    224224          if(this.flot_plot) { 
    225             this.find("h3.graphTitle").html(''); 
     225            this.find(".graphTitle").html(''); 
    226226            this.find("div.plot-legend").html(''); 
    227227            this.flot_plot.setData({}); 
     
    378378        function (r, redraw) { 
    379379          var title = this.ReconGraphMacro(r.title, r.data); 
    380           this.find("h3.graphTitle").html(title); 
     380          this.find(".graphTitle").html(title); 
    381381          var placeholder = this.find("> div.plot-area"); 
    382382          placeholder.bind("plotselected", (function (o) {