Begin bringing in some stylistic changes from http://www.freebsd.org/~mpcd.

This commit is contained in:
John Fieber 1996-09-24 20:51:06 +00:00
parent 03f4c177e0
commit 0e5565f258
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=547
8 changed files with 18 additions and 14 deletions

View file

@ -1,4 +1,4 @@
# $Id: cgi-style.pl,v 1.1.1.1 1996-09-24 17:45:57 jfieber Exp $
# $Id: cgi-style.pl,v 1.2 1996-09-24 20:50:58 jfieber Exp $
#
# Perl routines to encapsulate various elements of HTML page style.
@ -17,7 +17,7 @@ if ($hsty_author eq "") {
$hsty_author = "<a href=\"$hsty_base/mailto.html\">www\@freebsd.org</a>";
}
$i_daemon = "<img src=\"$hsty_base/gifs/biglogo.gif\" alt=\"\">";
$i_daemon = "<img src=\"$hsty_base/gifs/daemon.gif\" alt=\"\" align=left>";
if ($hsty_home eq "") {
$hsty_home = "<a href=\"$hsty_base/\"><img src=\"$hsty_base/gifs/home.gif\"
@ -28,7 +28,8 @@ sub html_header {
local ($title) = @_;
return &PrintHeader . "<html>\n<title>$title</title>\n</head>\n$t_body\n" .
"<h1>$i_daemon $title</h1><hr noshade>\n";
"<img src=\"$hsty_base/gifs/topbar.gif\" alt=\"\">" .
"$i_daemon <h1 align=right>$title</h1><br clear=all><hr noshade>\n";
}
sub html_footer {

View file

@ -1,5 +1,5 @@
DATA= apache.gif apachepower.gif daemon.gif dir.gif doc.gif
DATA+= freebsd-advert.gif home.gif littlelogo.gif new.gif power-button.gif
DATA+= powerlogo.gif ugu_icon.gif wclogo.gif
DATA+= powerlogo.gif ugu_icon.gif wclogo.gif topbar.gif
.include "../web.mk"

BIN
data/gifs/topbar.gif Normal file

Binary file not shown.

After

(image error) Size: 4.8 KiB

View file

@ -14,7 +14,7 @@
<!ENTITY base CDATA ".">
<!-- Images -->
<!ENTITY i.daemon '<img src="&base/gifs/biglogo.gif" alt="">'>
<!ENTITY i.daemon '<img src="&base/gifs/daemon.gif" alt="" align=left>'>
<!ENTITY i.new '<img src="&base/gifs/new.gif" alt="[New!]">'>
<!-- Components making up the standard headers and footers. -->
@ -30,8 +30,9 @@
<!-- Standard headers and footers -->
<!ENTITY header '<head><title>&title;</title></head>
<body text="#000000" bgcolor="#ffffff"><h1>&i.daemon;
&title;</h1><hr noshade>'>
<body text="#000000" bgcolor="#ffffff">
<img src="&base/gifs/topbar.gif" alt="">
&i.daemon; <h1 align=right>&title;</h1><br clear=all><hr noshade>'>
<!ENTITY footer '<hr noshade>&home;<address>&author;<br>&date;</address>'>
<!-- Short names for various anchor points -->

View file

@ -1,4 +1,4 @@
# $Id: cgi-style.pl,v 1.1.1.1 1996-09-24 17:45:57 jfieber Exp $
# $Id: cgi-style.pl,v 1.2 1996-09-24 20:50:58 jfieber Exp $
#
# Perl routines to encapsulate various elements of HTML page style.
@ -17,7 +17,7 @@ if ($hsty_author eq "") {
$hsty_author = "<a href=\"$hsty_base/mailto.html\">www\@freebsd.org</a>";
}
$i_daemon = "<img src=\"$hsty_base/gifs/biglogo.gif\" alt=\"\">";
$i_daemon = "<img src=\"$hsty_base/gifs/daemon.gif\" alt=\"\" align=left>";
if ($hsty_home eq "") {
$hsty_home = "<a href=\"$hsty_base/\"><img src=\"$hsty_base/gifs/home.gif\"
@ -28,7 +28,8 @@ sub html_header {
local ($title) = @_;
return &PrintHeader . "<html>\n<title>$title</title>\n</head>\n$t_body\n" .
"<h1>$i_daemon $title</h1><hr noshade>\n";
"<img src=\"$hsty_base/gifs/topbar.gif\" alt=\"\">" .
"$i_daemon <h1 align=right>$title</h1><br clear=all><hr noshade>\n";
}
sub html_footer {

View file

@ -1,5 +1,5 @@
DATA= apache.gif apachepower.gif daemon.gif dir.gif doc.gif
DATA+= freebsd-advert.gif home.gif littlelogo.gif new.gif power-button.gif
DATA+= powerlogo.gif ugu_icon.gif wclogo.gif
DATA+= powerlogo.gif ugu_icon.gif wclogo.gif topbar.gif
.include "../web.mk"

BIN
en/gifs/topbar.gif Normal file

Binary file not shown.

After

(image error) Size: 4.8 KiB

View file

@ -14,7 +14,7 @@
<!ENTITY base CDATA ".">
<!-- Images -->
<!ENTITY i.daemon '<img src="&base/gifs/biglogo.gif" alt="">'>
<!ENTITY i.daemon '<img src="&base/gifs/daemon.gif" alt="" align=left>'>
<!ENTITY i.new '<img src="&base/gifs/new.gif" alt="[New!]">'>
<!-- Components making up the standard headers and footers. -->
@ -30,8 +30,9 @@
<!-- Standard headers and footers -->
<!ENTITY header '<head><title>&title;</title></head>
<body text="#000000" bgcolor="#ffffff"><h1>&i.daemon;
&title;</h1><hr noshade>'>
<body text="#000000" bgcolor="#ffffff">
<img src="&base/gifs/topbar.gif" alt="">
&i.daemon; <h1 align=right>&title;</h1><br clear=all><hr noshade>'>
<!ENTITY footer '<hr noshade>&home;<address>&author;<br>&date;</address>'>
<!-- Short names for various anchor points -->