Changeset c6411ccd880f6b6d51ea508936e29d0f54380a52

Show
Ignore:
Timestamp:
02/13/09 18:23:08 (6 years ago)
Author:
Umar Farooq <umar@omniti.com>
git-committer:
Umar Farooq <umar@omniti.com> 1234549388 +0000
git-parent:

[132eb272d8f884444ebac678f2e32e9535958204]

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

added icons for remove, drag, zoom, still needs to be looked at by someone with a good design eye
refs#91

Files:

Legend:

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

    r132eb27 rc6411cc  
    840840display:none; 
    841841} 
    842  
     842.ws-toolbar .moveGraph { 
     843display:none; 
     844
    843845.ws-toolbar-edit { 
    844846position: relative; 
     
    850852} 
    851853.deleteWorksheetGraph { 
    852 border: 1px solid #DDDDDD; 
    853 margin: 0em 0em 0 0; 
    854 font-weight: bold; 
    855 color:#660000; 
     854margin: 0; 
    856855} 
    857856.zoomGraph { 
    858 border: 1px solid #DDDDDD; 
    859857margin: 0; 
    860 font-weight: bold; 
    861 color:#660000; 
     858
     859.moveGraph { 
     860margin: 0; 
    862861} 
    863862ul#worksheet-graphs li.zoomGraph { 
     
    867866} 
    868867ul#worksheet-graphs li.deleteWorksheetGraph { 
    869  margin: 0em 0em 0 0
     868 margin: 0
    870869 position: absolute; 
    871870 right: 10px; 
     871} 
     872ul#worksheet-graphs li.moveGraph { 
     873 margin: 0; 
     874 position: absolute; 
     875 right: 30px; 
    872876} 
    873877span.rememberGraph { 
  • ui/web/htdocs/worksheet_panel.inc

    r132eb27 rc6411cc  
    7373    var o = $('<div></div>').ReconGraph(g); 
    7474 
    75     zb = $("<li class='zoomGraph' id='Zoom-"+g.graphid+"'>Zoom</li>"); 
     75    zb = $("<li class='zoomGraph' id='Zoom-"+g.graphid+"'><img src='images/zoom_icon.png'></li>"); 
    7676    zb.click(function() { zoom_modal(g.graphid); }); 
    77     rb = $("<li class='deleteWorksheetGraph' id='Remove-"+g.graphid+"'>Remove</li>"); 
     77    mb = $("<li class='moveGraph' id='Move-"+g.graphid+"'><img src='images/drag_icon.png'></li>");     
     78    rb = $("<li class='deleteWorksheetGraph' id='Remove-"+g.graphid+"'><img src='images/remove_icon.png'></li>"); 
    7879    rb.click( function() { 
    7980                  $.getJSON('json/worksheet/deletegraph/' + wsinfo.id + '/' + g.graphid, 
     
    8283               }); 
    8384 
    84     var ws_tbar = $('<div class="ws-toolbar"></div>').append("<ul/>").append(zb).append(rb); 
     85    var ws_tbar = $('<div class="ws-toolbar"></div>').append("<ul/>").append(zb).append(mb).append(rb); 
    8586 
    8687    ws_tbar.attr("style", "display:none;"); 
     
    159160 
    160161  var ul = $("ul#worksheet-graphs"); 
    161   ul.sortable({ handle: '.graphTitle', 
     162  ul.sortable({ handle: '.moveGraph', 
    162163                scroll: true, 
    163164                stop: