diff options
-rw-r--r-- | www/foot.t | 1 | ||||
-rw-r--r-- | www/head.t | 45 | ||||
-rw-r--r-- | www/main.t | 21 | ||||
-rw-r--r-- | www/style.css | 51 |
4 files changed, 92 insertions, 26 deletions
diff --git a/www/foot.t b/www/foot.t index 459aa2d339..101f9a29c4 100644 --- a/www/foot.t +++ b/www/foot.t | |||
@@ -1,4 +1,5 @@ | |||
1 | <hr size=1 align="left" width="10%"> | 1 | <hr size=1 align="left" width="10%"> |
2 | <small><i>Page was last modified __DATE__</i> <a href=mailto:bjorn@haxx.se>Björn Stenberg</a></small> | 2 | <small><i>Page was last modified __DATE__</i> <a href=mailto:bjorn@haxx.se>Björn Stenberg</a></small> |
3 | </td></tr></table> | ||
3 | </body> | 4 | </body> |
4 | </html> | 5 | </html> |
diff --git a/www/head.t b/www/head.t index a0fab05043..9a0e1a23f8 100644 --- a/www/head.t +++ b/www/head.t | |||
@@ -1,9 +1,11 @@ | |||
1 | #define BGCOLOR "#99ccff" | 1 | #define BGCOLOR "#b6c6e5" |
2 | #define MENUBG "#6887bb" | ||
2 | #define TITLE(_x) <h1>_x</h1> | 3 | #define TITLE(_x) <h1>_x</h1> |
3 | 4 | ||
4 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | 5 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
5 | <html> | 6 | <html> |
6 | <head> | 7 | <head> |
8 | <link rel="STYLESHEET" type="text/css" href="/rockbox/style.css"> | ||
7 | #ifdef _PAGE_ | 9 | #ifdef _PAGE_ |
8 | <title>Rockbox - _PAGE_</title> | 10 | <title>Rockbox - _PAGE_</title> |
9 | #else | 11 | #else |
@@ -14,12 +16,43 @@ | |||
14 | <meta name="keywords" content="bjorn,stenberg,computer,programming,mtb,stockholm,software,sms,byta,bostad"> | 16 | <meta name="keywords" content="bjorn,stenberg,computer,programming,mtb,stockholm,software,sms,byta,bostad"> |
15 | #endif | 17 | #endif |
16 | </head> | 18 | </head> |
17 | <body bgcolor=BGCOLOR text="black" link="blue" vlink="purple" alink="red"> | 19 | <body bgcolor=BGCOLOR text="black" link="blue" vlink="purple" alink="red" |
20 | topmargin=0 leftmargin=0 marginwidth=0 marginheight=0> | ||
21 | |||
22 | <table border=0 cellpadding=7 cellspacing=0 height="100%"> | ||
23 | <tr valign="top"> | ||
24 | <td bgcolor=MENUBG valign="top"> | ||
25 | <br> | ||
26 | <img src="/rockbox/rockbox100.png" width=99 height=30> <br> | ||
27 | |||
28 | <p align="right"> | ||
29 | <a class="menulink" href="/rockbox/">Main page</a><br> | ||
30 | <a class="menulink" href="/rockbox/docs/FAQ">FAQ</a><br> | ||
31 | <a class="menulink" href="/rockbox/notes.html">research notes</a><br> | ||
32 | <a class="menulink" href="/rockbox/docs/">data sheets</a><br> | ||
33 | <a class="menulink" href="/rockbox/schematics/">schematics</a><br> | ||
34 | <a class="menulink" href="/rockbox/mods/">hardware mods</a><br> | ||
35 | <a class="menulink" href="http://bjorn.haxx.se/rockbox/mail.cgi">mail list archive</a><br> | ||
36 | <a class="menulink" href="/rockbox/irc/">IRC</a><br> | ||
37 | <a class="menulink" href="/rockbox/tools.html">tools</a><br> | ||
38 | <a class="menulink" href="/rockbox/internals/">photos</a><br> | ||
39 | <a class="menulink" href="/cvs.html">CVS</a><br> | ||
40 | <a class="menulink" href="http://sourceforge.net/projects/rockbox/">sourceforge</a><br> | ||
41 | <a class="menulink" href="/isd200/">linux driver</a> | ||
42 | |||
43 | <div align="right"> | ||
44 | <form action="http://www.google.com/search"> | ||
45 | <input name=as_q size=12><br> | ||
46 | <input value="Search" type=submit> | ||
47 | <input type=hidden name=as_oq value=rockbox> | ||
48 | <input type=hidden name=as_sitesearch value="bjorn.haxx.se"> | ||
49 | </form></div> | ||
50 | |||
51 | </td> | ||
52 | <td> | ||
53 | |||
18 | #ifdef _LOGO_ | 54 | #ifdef _LOGO_ |
19 | _LOGO_ | 55 | <div align="center">_LOGO_</div> |
20 | #else | 56 | #else |
21 | <a href="/rockbox/"><img align="right" src="/rockbox/rockbox100.png" width=99 height=30></a> | ||
22 | |||
23 | TITLE(_PAGE_) | 57 | TITLE(_PAGE_) |
24 | #endif | 58 | #endif |
25 | |||
diff --git a/www/main.t b/www/main.t index 02c86111ca..cf543efaa5 100644 --- a/www/main.t +++ b/www/main.t | |||
@@ -1,27 +1,8 @@ | |||
1 | #define _LOGO_ <img src="rockbox400.png" align=center width=400 height=123> | 1 | #define _LOGO_ <img src="rockbox400.png" align=center width=400 height=123> |
2 | #define _PAGE_ Open Source Jukebox Firmware | 2 | #define _PAGE_ Open Source Jukebox Firmware |
3 | #define MAIN_PAGE | ||
3 | #include "head.t" | 4 | #include "head.t" |
4 | 5 | ||
5 | <p><small><a href="docs/FAQ">FAQ</a> · | ||
6 | <a href="notes.html">research notes</a> · | ||
7 | <a href="docs/">data sheets</a> · | ||
8 | <a href="schematics/">schematics</a> · | ||
9 | <a href="mods/">hardware mods</a> · | ||
10 | <a href="http://bjorn.haxx.se/rockbox/mail.cgi">mail list archive</a> · | ||
11 | <a href="irc/">IRC</a> · | ||
12 | <a href="tools.html">tools</a> · | ||
13 | <a href="internals/">photos</a> · | ||
14 | <a href="http://sourceforge.net/projects/rockbox/">sourceforge project</a> · | ||
15 | <a href="cvs.html">CVS</a> · | ||
16 | <a href="/isd200/">linux driver</a> | ||
17 | </small> | ||
18 | |||
19 | <form action="http://www.google.com/search"> | ||
20 | <input name=as_q> <input value="Search" type=submit> | ||
21 | <input type=hidden name=as_oq value=rockbox> | ||
22 | <input type=hidden name=as_sitesearch value="bjorn.haxx.se"> | ||
23 | </form> | ||
24 | |||
25 | <h2>Purpose</h2> | 6 | <h2>Purpose</h2> |
26 | 7 | ||
27 | <p>The purpose of this project is to write an Open Source replacement | 8 | <p>The purpose of this project is to write an Open Source replacement |
diff --git a/www/style.css b/www/style.css new file mode 100644 index 0000000000..df69226bf2 --- /dev/null +++ b/www/style.css | |||
@@ -0,0 +1,51 @@ | |||
1 | BODY { | ||
2 | background-color: #b6c6e5; | ||
3 | color: black; | ||
4 | margin: 0px; | ||
5 | } | ||
6 | |||
7 | H1 { | ||
8 | text-decoration: none; | ||
9 | font-family: Verdana,Arial,Helvetica,sans-serif; | ||
10 | font-style: normal; | ||
11 | font-weight: bold; | ||
12 | font-size: 20pt; | ||
13 | } | ||
14 | |||
15 | H2 { | ||
16 | text-decoration: none; | ||
17 | font-family: Verdana,Arial,Helvetica,sans-serif; | ||
18 | font-style: normal; | ||
19 | font-weight: bold; | ||
20 | font-size: 12pt; | ||
21 | } | ||
22 | |||
23 | H3 { | ||
24 | text-decoration: none; | ||
25 | font-family: Verdana,Arial,Helvetica,sans-serif; | ||
26 | font-style: normal; | ||
27 | font-weight: bold; | ||
28 | font-size: 10pt; | ||
29 | } | ||
30 | |||
31 | BODY, P, DIV, TD, TH, TR, FORM, OL, UL, LI, INPUT, TEXTAREA, SELECT, A | ||
32 | { | ||
33 | text-decoration: none; | ||
34 | font-family: Verdana,Arial,Helvetica,sans-serif; | ||
35 | font-style: normal; | ||
36 | font-size: 10pt; | ||
37 | } | ||
38 | |||
39 | A { | ||
40 | text-decoration: underline; | ||
41 | } | ||
42 | |||
43 | .bgbox { | ||
44 | left-border-width: 1px; | ||
45 | border-color: black; | ||
46 | } | ||
47 | |||
48 | .menulink { | ||
49 | color: #f0f0f0; | ||
50 | # text-decoration: none; | ||
51 | } | ||