Browse Source

css update

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@46 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 16 years ago
parent
commit
62ede8c9cf
  1. 1
      admin/xcache.css
  2. 8
      admin/xcache.tpl.php

1
admin/xcache.css

@ -2,6 +2,7 @@ input, table { font-family: monospace; font-size: 11px; }
table.cycles { border: 1px solid black; background: white; margin-top: 5px; margin-bottom: 5px; }
table.cycles .col1 { background-color: #f5f5f5; }
table.cycles .col2 { background-color: #e0e0e0; }
table.cycles th, table.cycles td { border-top: 1px solid white; border-left: 1px solid white; }
table.cycles th { background-color: #707090; color: white; font-weight: bold; height: 20px; line-height: 16px; font-family: serif; }
th a { color: white; font-weight: bold; display: block; width: 100%; height: 100%; }
.button { }

8
admin/xcache.tpl.php

@ -20,7 +20,7 @@ HEAD;
$a = new Cycle('class="col1"', 'class="col2"');
$b = new Cycle('class="col1"', 'class="col2"');
?>
<table cellspacing="1" cellpadding="4" class="cycles">
<table cellspacing="0" cellpadding="4" class="cycles">
<col />
<col align="right" />
<col align="right" />
@ -37,7 +37,7 @@ $b = new Cycle('class="col1"', 'class="col2"');
<col align="right" />
<col />
<tr <?php echo $a->next(); ?>>
<th></th>
<th>-</th>
<th>Slots</th>
<th>Size</th>
<th>Avail</th>
@ -98,7 +98,7 @@ EOS;
<?php
foreach ($cacheinfos as $i => $ci) {
?>
<table cellspacing="1" cellpadding="4" class="cycles freeblocks">
<table cellspacing="0" cellpadding="4" class="cycles freeblocks">
<tr>
<th><?php echo $ci['cache_name']; ?> size<br>offset</th>
<?php
@ -131,7 +131,7 @@ if ($cachelist) {
<caption>{$cachelist['type_name']} $listname</caption>";
?>
<table cellspacing="1" cellpadding="4" class="cycles entrys" width="100%">
<table cellspacing="0" cellpadding="4" class="cycles entrys" width="100%">
<col />
<col />
<col align="right" />

Loading…
Cancel
Save