Changeset 527


Ignore:
Timestamp:
2008-02-18T14:43:17+01:00 (6 years ago)
Author:
moo
Message:

added legends

Location:
trunk/admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/common-zh-simplified-utf-8.lang.php

    r526 r527  
    7979        'GC' 
    8080        => 'GC', 
     81        'Legends:' 
     82        => '图例:', 
     83        'Used Blocks' 
     84        => '已用块', 
     85        'Free Blocks' 
     86        => '未用块', 
    8187        'Total' 
    8288        => '总共', 
  • trunk/admin/common-zh-traditional-utf-8.lang.php

    r526 r527  
    7979        'GC' 
    8080        => 'GC', 
     81        'Legends:' 
     82        => '图例:', 
     83        'Used Blocks' 
     84        => '已用块', 
     85        'Free Blocks' 
     86        => '未用块', 
    8187        'Total' 
    8288        => '总共', 
  • trunk/admin/xcache.css

    r526 r527  
    2222.percent { height: 3px; margin-bottom: 1px; background: gray; border: 1px solid gray; } 
    2323.percent div { float: left; height: 100%; } 
    24 .percent .pvalue { background: limegreen; } 
     24.pvalue { background: limegreen; } 
    2525 
    2626.blocksgraph { height: 16px; } 
     
    4040dt { font-weight: bold; clear: both; float: left; width: 100px; text-align: right; margin: 0; } 
    4141dd { margin: 0; } 
     42.blockarea { overflow: hidden; _width: 1px; } 
     43div.legend { float: left; border: 1px solid gray; font: 12px/12px monospace; } 
     44div.legendtitle { float: left; padding: 2px; padding-right: 10px; font: 12px/12px monospace; } 
  • trunk/admin/xcache.tpl.php

    r526 r527  
    131131    <?php } ?> 
    132132</table> 
    133 <div style="clear: both">&nbsp;</div> 
     133<div class="blockarea legends"> 
     134    <div class="legendtitle"><?php echo _T('Legends:'); ?></div> 
     135    <div class="legend pvalue">&nbsp;&nbsp;</div> 
     136    <div class="legendtitle"><?php echo _T(isset($free_graph_width) ? '% Free' : '% Used'); ?></div> 
     137    <div class="legend" style="background: rgb(0,0,255)">&nbsp;&nbsp;</div> 
     138    <div class="legendtitle"><?php echo _T(isset($free_graph_width) ? 'Free Blocks' : 'Used Blocks'); ?></div> 
     139    <div class="legend" style="background: rgb(255,0,0)">&nbsp;&nbsp;</div> 
     140    <div class="legendtitle"><?php echo _T('Hits'); ?></div> 
     141<div> 
     142</div> 
    134143<?php 
    135144 
Note: See TracChangeset for help on using the changeset viewer.