[Gnucash-changes] r13913 - htdocs/trunk/www/externals -
header/footer/style cleanups:
Joshua Sled
jsled at cvs.gnucash.org
Tue May 2 22:32:11 EDT 2006
Author: jsled
Date: 2006-05-02 22:32:11 -0400 (Tue, 02 May 2006)
New Revision: 13913
Trac: http://svn.gnucash.org/trac/changeset/13913
Modified:
htdocs/trunk/www/externals/footer.phtml
htdocs/trunk/www/externals/gnucash.css
htdocs/trunk/www/externals/header.phtml
Log:
header/footer/style cleanups:
- Clean up header and footer php/html.
- Add <img @{width,height} />.
- Move ad-hoc/inline styles into gnucash.css.
- Widen #content width, narrow nav and #content margin
Modified: htdocs/trunk/www/externals/footer.phtml
===================================================================
--- htdocs/trunk/www/externals/footer.phtml 2006-05-03 02:28:18 UTC (rev 13912)
+++ htdocs/trunk/www/externals/footer.phtml 2006-05-03 02:32:11 UTC (rev 13913)
@@ -1,13 +1,10 @@
-<div style="clear:both;float:none;"> </div>
<div id="tail">
-<p style="float:right;padding-right:1em;"><a href="http://validator.w3.org/check/referer">
-<img src="images/valid-html40.png" alt="valid HTML"></a> </p>
-<p style="float:left;"><a href="<?php echo "$home";?>/rss-feed.phtml">
-<img src="images/rss.gif" alt="rss logo"></a></p>
+<p id="validation"><a href="http://validator.w3.org/check/referer">
+<img src="images/valid-html40.png" alt="valid HTML" width="88" height="31" /></a> </p>
+<p id="rss"><a href="<?php echo "$home";?>/rss-feed.phtml"><img src="images/rss.gif" alt="rss logo" width="36" height="14" /></a></p>
<p style="text-align:center;"><b>Copyright © 2001-2006 The GnuCash Project</b></p>
<p style="text-align:center;">Server & email outage reports to
-<a href="mailto:linas at linas.org"><b>linas at linas.org</b></a>
-</p>
+ <a href="mailto:gnucash-devel at gnucash.org"><b>gnucash-devel at gnucash.org</b></a></p>
</div>
</body>
</html>
Modified: htdocs/trunk/www/externals/gnucash.css
===================================================================
--- htdocs/trunk/www/externals/gnucash.css 2006-05-03 02:28:18 UTC (rev 13912)
+++ htdocs/trunk/www/externals/gnucash.css 2006-05-03 02:32:11 UTC (rev 13913)
@@ -67,7 +67,7 @@
padding-bottom: 0.5em;
}
-#head A
+#head A, #tail A
{
background-color: #666699;
color: white;
@@ -81,7 +81,9 @@
color: white;
margin-left: 0;
margin-right: 0;
+ min-height: 60px;
}
+
.tblborder {
border-style: ridge;
border-color: silver;
@@ -123,6 +125,12 @@
float: left;
width: 20%;
}
+
+#news LI
+{
+ list-style-image: url(../images/webding.png);
+}
+
.highlight {
background-color: #cacaf7;
color: black;
@@ -141,11 +149,10 @@
}
#content {
float: left;
- width: 65%;
+ width: 75%;
margin-right: 1em;
padding-right: 1em;
- margin-left: 2em;
- text-align: justify;
+ margin-left: 1%;
}
#location {
padding-left: 0.3em;
@@ -162,7 +169,19 @@
margin-bottom: 2em;
}
+#tail P#validation
+{
+ float: right;
+ margin-right: 1em;
+}
+
+#tail P#rss
+{
+ float: left;
+ margin-left: 1em;
+}
+
H1
{
border-bottom: solid thin #666699;
-}
\ No newline at end of file
+}
Modified: htdocs/trunk/www/externals/header.phtml
===================================================================
--- htdocs/trunk/www/externals/header.phtml 2006-05-03 02:28:18 UTC (rev 13912)
+++ htdocs/trunk/www/externals/header.phtml 2006-05-03 02:32:11 UTC (rev 13913)
@@ -1,17 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
-<?php echo "<link rel=\"stylesheet\" href=\"externals/gnucash.css\"";
-echo" type=\"text/css\">\n";
-echo "<link rel=\"icon\" href=\"/favicon.ico\" type=\"image/x-icon\">\n";
-echo "<link rel=\"shortcut icon\" href=\"/favicon.ico\" type=\"image/x-icon\">\n";
-echo $mimeline;
+<?php
+ echo "<link rel=\"stylesheet\" href=\"externals/gnucash.css\" type=\"text/css\">\n";
+ echo "<link rel=\"icon\" href=\"/favicon.ico\" type=\"image/x-icon\">\n";
+ echo "<link rel=\"shortcut icon\" href=\"/favicon.ico\" type=\"image/x-icon\">\n";
+ echo $mimeline;
?>
-<style type="text/css">
-#news LI {
-list-style-image:url(images/webding.png);
-}
-</style>
<?php if (isset($homepage)) { ?>
<!-- the RSS only appears on the home page, not on all pages. -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.gnucash.org/en/rss-feed.phtml">
@@ -21,8 +16,7 @@
<body>
<div id="head">
-<?php echo "<img src=\"images/gnucash_logo1.png\" ";
-echo "alt=\"GnuCash Logo\" id=\"gnclogo\">\n"; ?>
+<?php echo "<img src=\"images/gnucash_logo1.png\" alt=\"GnuCash Logo\" id=\"gnclogo\" width=\"179\" height=\"45\">\n"; ?>
<br/>
<span id="language">
Language:
More information about the gnucash-changes
mailing list