Commits

Shlomi Fish committed e229f0c

Added the navigation bar.

Comments (0)

Files changed (3)

site/wml/Makefile

 
 D = /var/www/html/ip-noise
+#D = /home/httpd/html/ip-noise
 
 IMAGES = $(D)/style.css                                       \
          $(D)/docs/Arbitrator_Architecture.txt                \
 	fi
 	
 
-$(HTMLS) :: /var/www/html/ip-noise/% : %.wml .wmlrc
+$(HTMLS) :: $(D)/% : %.wml .wmlrc template.wml
 	wml $< > $@
 
-$(IMAGES) :: /var/www/html/ip-noise/% : %
+$(IMAGES) :: $(D)/% : %
 	cp -f $< $@

site/wml/index.html.wml

 <p>
 This page describes the 
 <a href="http://comnet.technion.ac.il/">Computer Networks Lab</a>'s
-project of creating a simulator of IP noise for the Linux kernel. This site
-will be filled with more material as we progress into the project.
+project of creating a simulator of IP noise for the Linux kernel. 
 </p>
 
 <h2>Project Takers</h2>

site/wml/template.wml

+#use wml::des::navbar
+
+<navbar:define name=test urlbase="$(ROOT)" 
+    txtcol_normal="blue" txtcol_select="red">
+           <navbar:header>
+             <table bgcolor="bisque" cellspacing="1" cellpadding="2" border="0">
+             <tr>
+             <td>
+             &nbsp;
+             </td>
+             <table>
+           </navbar:header>
+ 
+           <navbar:prolog> 
+                <tr> 
+                <td> 
+           </navbar:prolog>
+ 
+           <navbar:button id=root txt="Main Page" url="." hint="Main Page">
+           <navbar:button id=download txt="Downloads" 
+                          url="download/" hint="Downloads"
+           >
+           <navbar:button id=docs txt="Docs" url="docs/" hint="Docs">
+           <navbar:button id=links txt="Links" url="links.html" hint="Links">
+           <navbar:button id=mail_list txt="Mailing List" 
+                          url="mailing-list/" hint="Our Mailing List"
+           >
+ 
+           <navbar:epilog> 
+                </td> 
+                </tr>
+           </navbar:epilog>
+ 
+           <navbar:footer>
+            </table>
+            </td>
+            <td>
+            &nbsp;
+            </td>
+            </tr>            
+            </table>
+           </navbar:footer>
+</navbar:define>
+
+
+# The Definition of the page itself
 <html>
 <head>
 <title>{#SUBJECT_LOC#}</title>
 </head>
 <body>
 
+<table cellspacing="1" cellpadding="2">
+<tr>
+<td align="left" valign="top">
+<navbar:render name=test>
+</td>
+
+<td align="left" valign="top">
+
 <h1>{#SUBJECT_LOC#}</h1>
 {#BODY#}
 
+</td>
+</tr>
+</table>
+
 </body>
 </html>