Browse Source

use phpinfo style

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@145 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 15 years ago
parent
commit
cf59070b9f
  1. 11
      admin/xcache.css
  2. 12
      coverager/coverager.css
  3. 4
      coverager/coverager.tpl.php

11
admin/xcache.css

@ -1,10 +1,11 @@
input, table { font-family: monospace; font-size: 11px; }
table.cycles { border: 1px solid black; background: white; margin-top: 5px; margin-bottom: 5px; }
input, table { font-family: sans-serif; font-size: 11px; }
table { border-collapse: collapse; }
table.cycles { border: 1px solid black; 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: 20px; font-family: serif; }
th a { color: white; font-weight: bold; display: block; width: 100%; height: 100%; }
table.cycles th, table.cycles td { border: 1px solid black; font-family: monospace; }
table.cycles th { background-color: #9999cc; color: black; font-weight: bold; height: 20px; line-height: 20px; font-family: serif; }
th a { color: black; font-weight: bold; display: block; width: 100%; height: 100%; }
.button { }
span.sortarrow { color: white; text-decoration: none; }
.freeblocks { float: left; margin-right: 4px;}

12
coverager/coverager.css

@ -1,10 +1,12 @@
h1 { text-align: center; }
input, table { font-family: monospace; font-size: 11px; }
table.cycles { border: 1px solid black; background: white; margin-top: 5px; margin-bottom: 5px; }
h1 { text-align: center; display: block; }
input, table { font-family: sans-serif; font-size: 11px; }
table { border-collapse: collapse; }
table.cycles { border: 1px solid black; margin-top: 5px; margin-bottom: 5px; }
table.cycles .col1 { background-color: #f5f5f5; }
table.cycles .col2 { background-color: #e0e0e0; }
table.cycles th { background-color: #707090; color: white; font-weight: bold; height: 20px; line-height: 18px; font-family: serif; }
th a { color: white; font-weight: bold; display: block; width: 100%; height: 100%; }
table.cycles th, table.cycles td { border: 1px solid black; font-family: monospace; }
table.cycles th { background-color: #9999cc; color: black; font-weight: bold; height: 20px; line-height: 20px; font-family: serif; }
th a { color: black; font-weight: bold; display: block; width: 100%; height: 100%; }
.coverFile {
text-align: left;

4
coverager/coverager.tpl.php

@ -56,7 +56,7 @@ function dir_head()
$l_lns = _T("Lines");
$l_tds = _T("TODO");
return <<<EOS
<table align="center" cellpadding="2" cellspacing="1" border="0" class="cycles">
<table align="center" cellpadding="2" cellspacing="0" border="0" class="cycles">
<tr>
<th>{$l_dir}</th><th>{$l_per}</th><th>{$l_hit}</th><th>{$l_lns}</th><th>{$l_tds}</th>
</tr>
@ -117,7 +117,7 @@ function file_head()
$l_lns = _T("Lines");
return <<<EOS
<br>
<table align="center" cellpadding="2" cellspacing="1" border="0" class="cycles">
<table align="center" cellpadding="2" cellspacing="0" border="0" class="cycles">
<tr>
<th>{$l_fil}</th><th>{$l_per}</th><th>{$l_hit}</th><th>{$l_lns}</th>
</tr>

Loading…
Cancel
Save