Browse Source

htdocs: adds logo

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1073 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
fbf69dfbf5
  1. 9
      htdocs/common/common.css
  2. 8
      htdocs/common/header.tpl.php
  3. BIN
      htdocs/common/xcache.png

9
htdocs/common/common.css

@ -37,10 +37,17 @@ h1, h2, h3, h4, h5, h6 {
}
#header #banner {
font: 32px/51px serif;
padding-left: 10px;
color: white;
font-family: "arial", serif;
}
#header #banner a {
color: white;
}
#header #banner #logo {
display: block;
float: left;
padding-right: 5px;
}
#header #mainnav {
top: 3px;
right: 5px;

8
htdocs/common/header.tpl.php

@ -8,12 +8,16 @@
<link rel="stylesheet" type="text/css" href="../common/common.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['module']; ?>.css" />
<title><?php echo $title = sprintf("XCache %s", $xcache_version = defined('XCACHE_VERSION') ? XCACHE_VERSION : '') . " - " . ucfirst($GLOBALS['module']); ?></title>
<title><?php echo sprintf("XCache %s", $xcache_version = defined('XCACHE_VERSION') ? XCACHE_VERSION : ''); ?> - <?php echo ucfirst($GLOBALS['module']); ?></title>
</head>
<body>
<div id="header">
<div id="banner"><?php echo $title; ?></div>
<div id="banner">
<a href="http://xcache.lighttpd.net/" target="_blank"><img src="../common/xcache.png" id="logo" />
<?php echo $xcache_version; ?> - <?php echo ucfirst($GLOBALS['module']); ?>
</a>
</div>
<div id="nav">
<div id="mainnav">
<?php echo mainnav(); ?>

BIN
htdocs/common/xcache.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Loading…
Cancel
Save