1
0
Fork 0

htdocs/cacher: fix hits graph for IE

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1085 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2012-07-30 06:57:52 +00:00
parent ad0c76f7c9
commit 5782061bc8
3 changed files with 5 additions and 6 deletions

View File

@ -7,13 +7,13 @@ td, th { white-space: pre; }
.blocksgraph { height: 13px; }
.blocksgraph div { float: left; height: 3px; width: 4px; border: 0 solid gray; border-width: 0 0 1px 0; }
.blocksgraph { border: 1px solid gray; border-bottom: 0; }
.percent *, .blocksgraph *, .hitsgraph * { font-size: 1px; font-height: 1px; }
.percent *, .blocksgraph *, .hitsgraph * { font-size: 1px; line-height: 1px; }
.hitsgraph { margin: auto; }
.hitsgraph a { float: left; border: 0 solid gray; }
.hitsgraph a { display: block; float: left; border: 0 solid gray; }
.hitsgraph a * { display: block; }
.hitsgraph a.active { border-top-color: yellow; }
.hitsgraph a:hover { background: gray; }
.hitsgraph a div { float: none; }
dl { overflow: hidden; }
dt { font-weight: bold; clear: both; float: left; width: 100px; text-align: right; margin: 0; }

View File

@ -91,8 +91,8 @@ function bar_hits_percent($v, $percent, $active) // {{{
$valueHeight = $valueHeight ? $valueHeight . "px" : 0;
$paddingHeight = $paddingHeight ? $paddingHeight . "px" : 0;
return '<a title="' . $v . '" href="javascript:;"' . $a . '>'
. ($paddingHeight ? '<div style="height: ' . $paddingHeight . '"></div>' : '')
. ($valueHeight ? '<div style="background: rgb(' . "$r,$g,$b" . '); height: ' . $valueHeight . '"></div>' : '')
. ($paddingHeight ? '<span style="height: ' . $paddingHeight . '"></span>' : '')
. ($valueHeight ? '<span style="background: rgb(' . "$r,$g,$b" . '); height: ' . $valueHeight . '"></span>' : '')
. '</a>';
}
// }}}

View File

@ -1,7 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=6" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['config']['charset']; ?>" />
<meta http-equiv="Content-Language" content="<?php echo $GLOBALS['config']['lang']; ?>" />
<script type="text/javascript" src="tablesort.js"></script>