[Pkg-octave-commit] rev 144 - in trunk/www: . icons
Rafael Laboissiere
pkg-octave-devel@lists.alioth.debian.org
Wed, 02 Mar 2005 11:10:44 +0100
Author: rafael
Date: 2005-03-02 11:10:43 +0100 (Wed, 02 Mar 2005)
New Revision: 144
Added:
trunk/www/dog.css
trunk/www/icons/right.png
Modified:
trunk/www/Makefile
trunk/www/index.html.in
Log:
Added a navigation bar to the right of the page. CSS definitins are now put
in a separate file.
Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile 2005-03-01 11:29:32 UTC (rev 143)
+++ trunk/www/Makefile 2005-03-02 10:10:43 UTC (rev 144)
@@ -12,8 +12,10 @@
DIR = /org/alioth.debian.org/chroot/home/groups/pkg-octave/htdocs/
GUIDELINES = DOG-Guidelines.txt
ICONS = $(shell ls icons/*.png)
-INSTALLFILES = index.html $(GUIDELINES) $(ICONS)
-SRCFILES = index.html.in $(GUIDELINES) $(ICONS) Makefile
+CSS = dog.css
+COMMONFILES = $(GUIDELINES) $(ICONS) $(CSS)
+INSTALLFILES = index.html $(COMMONFILES)
+SRCFILES = index.html.in $(COMMONFILES) Makefile
TARBALL = tmp.tgz
install: index.html svn-ci
@@ -40,6 +42,7 @@
svn-ci:
svn ci $(SRCFILES)
+ svn up
clean:
rm -f index.html
Added: trunk/www/dog.css
===================================================================
--- trunk/www/dog.css 2005-03-01 11:29:32 UTC (rev 143)
+++ trunk/www/dog.css 2005-03-02 10:10:43 UTC (rev 144)
@@ -0,0 +1,92 @@
+body {
+ color: black;
+ background-color: white;
+ margin-left: 3%;
+ margin-right: 3%
+}
+
+h1 {
+ font-size: 1.5em;
+ border-bottom: solid black 1px;
+ color: #005a9c;
+}
+
+h2 {
+ font-size: 1.1em;
+ font-weight: bold;
+ color: rgb(136,0,0);
+ margin-top: 1em;
+ margin-bottom: 0.5em;
+}
+
+table.pkg {
+ border: 0pt;
+}
+
+table.footer {
+ border-top: solid black 1px;
+ font-size: 0.8em;
+ }
+
+img.icon {
+ border: 0pt;
+ vertical-align: bottom;
+}
+
+#Content {
+ margin: 0 12em 0 0;
+ padding: 5px;
+}
+
+#Menu {
+ overflow: auto;
+ width: 10em;
+ position: fixed;
+ float: right;
+ margin-right: 0em;
+ margin-top: 0.5em;
+ right: 0;
+ left: auto;
+ top: 6em;
+ bottom: 2em;
+ text-indent: 0.5em;
+ padding: 0;
+ background: #eec;
+ color: #000;
+ border: 0px solid #000;
+ line-height: 1.5em;
+}
+
+body>#Menu {
+ right: 3%;
+}
+
+
+#Menu p {
+ margin-top: 0.1em;
+ margin-bottom: 0.1em;
+ padding: 0;
+}
+
+#Menu a {
+ display: block;
+ background: #eec;
+ color: blue;
+ text-decoration: none;
+}
+
+#Menu a:hover { background-color: white; }
+#Menu a:before { content: url('icons/right.png'); }
+#Menu a:visited { color: purple; }
+
+#Menu .navhead {
+ background: #aa7;
+ color: #fff;
+ border: none;
+ width: 100%;
+ font-weight: bold;
+ font-size: medium;
+ text-indent: 0.5em;
+ margin-top: 0.5em;
+ padding: 0.1em 0;
+}
Added: trunk/www/icons/right.png
===================================================================
(Binary files differ)
Property changes on: trunk/www/icons/right.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/www/index.html.in
===================================================================
--- trunk/www/index.html.in 2005-03-01 11:29:32 UTC (rev 143)
+++ trunk/www/index.html.in 2005-03-02 10:10:43 UTC (rev 144)
@@ -5,24 +5,30 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Debian Octave Group</title>
-<style type="text/css">
- body { color: black; background-color: white;
- margin-left: 5%; margin-right: 5% }
- h1 { font-size: 1.5em; border-bottom: solid black 1px;
- color: #005a9c; }
- h2 { font-size: 1.1em; font-weight: bold;
- color: rgb(136,0,0);
- margin-top: 1em; margin-bottom: 0.5em; }
- table.pkg { border: 0pt }
- table.footer { border-top: solid black 1px; font-size: 0.8em; }
- img.icon { border: 0pt; vertical-align: bottom }
-</style>
+<meta name="Keywords" content="debian octave" />
+<link rel="stylesheet" href="dog.css"/>
</head>
<body>
+
+ <div id="Menu">
+ <p class="navhead">Here:</p>
+ <p><a href="#intro">Intro</a></p>
+ <p><a href="#info">Devel info</a></p>
+ <p><a href="#lists">Lists</a></p>
+ <p><a href="#packages">Packages</a></p>
+ <p><a href="#stuff">Other Stuff</a></p>
+ <p class="navhead">Nearby:</p>
+ <p><a href="http://www.debian.org">Debian</a></p>
+ <p><a href="http://www.octave.org">Octave</a></p>
+ <p><a href="http://alioth.debian.org">Alioth</a></p>
+ </div>
+
<h1>Debian Octave Group</h1>
- <h2>Introduction</h2>
+ <div id="Content">
+ <h2 id="intro">Introduction</h2>
+
<p>
The Debian Octave Group is a collaborative effort for maintaining the <a
href="http://www.octave.org">Octave</a>-related <a
@@ -39,7 +45,7 @@
administrators</a> at Alioth.
</p>
- <h2>Information for developers</h2>
+ <h2 id="info">Information for developers</h2>
<p>
Development is coordinated through a <a
@@ -55,7 +61,7 @@
href="http://svn.debian.org/wsvn/pkg-octave/trunk/www/DOG-Guidelines.txt?op=file&rev=0&sc=0">under SVN control</a>.
</p>
- <h2>Mailing lists</h2>
+ <h2 id="lists">Mailing lists</h2>
<p>
There are currently two mailing lists related to the project:
@@ -70,7 +76,7 @@
</li>
</ul>
- <h2>Maintained packages</h2>
+ <h2 id="packages">Maintained packages</h2>
<:
my @packages = (
@@ -86,6 +92,7 @@
"statdataml"
)
:>
+<dl<dt></dt><dd>
<table class="pkg">
<:
for my $pkg (@packages) { _:>
@@ -126,7 +133,7 @@
<:
}
:>
- </table>
+ </table></dd></dl>
<p>
[<img src="icons/home.png" class="icon" alt="[home]"/>: pkg home
page, <img src="icons/bug.png" class="icon" alt="[bts]"/>: BTS, <img
@@ -154,7 +161,7 @@
</li>
</ul>
- <h2>Other interesting Octave stuff</h2>
+ <h2 id="stuff">Other interesting Octave stuff</h2>
<ul>
<li>
@@ -283,17 +290,21 @@
<table class="footer" width="100%">
<tr><td align="left">
$Id$
+ <br/>
<a
href="http://svn.debian.org/wsvn/pkg-octave/trunk/www/index.html.in?op=file&rev=0&sc=0">(show me the source)</a>
</td>
<td align="right">
- <a href="http://validator.w3.org/check/referer">Valid XHTML 1.0!</a>
-
- <a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS!</a>
+ <a href="http://validator.w3.org/check/referer">Valid XHTML
+ 1.0!</a><br/><a
+ href="http://jigsaw.w3.org/css-validator/check/referer">Valid
+ CSS!</a>
</td>
</tr>
</table>
+ </div>
+
</body>
</html>