r207 - in trunk: admin-trac.openmoko.org/space_trac_admin-trac/htdocs admin-trac.openmoko.org/space_trac_admin-trac/templates docs.openmoko.org/space_trac_docs-trac/htdocs docs.openmoko.org/space_trac_docs-trac/htdocs/navigation docs.openmoko.org/space_trac_docs-trac/templates
roh at daksha.openmoko.org
roh at daksha.openmoko.org
Mon Apr 7 10:26:02 CEST 2008
Author: roh
Date: 2008-04-07 08:26:02 +0000 (Mon, 07 Apr 2008)
New Revision: 207
Removed:
trunk/admin-trac.openmoko.org/space_trac_admin-trac/htdocs/openmoko-logo.png
trunk/docs.openmoko.org/space_trac_docs-trac/htdocs/navigation/bugzilla.png
Modified:
trunk/admin-trac.openmoko.org/space_trac_admin-trac/htdocs/style.css
trunk/admin-trac.openmoko.org/space_trac_admin-trac/templates/site.html
trunk/docs.openmoko.org/space_trac_docs-trac/htdocs/style.css
trunk/docs.openmoko.org/space_trac_docs-trac/templates/site.html
Log:
- add generic navbar to admin trac, remove bugzilla, clean up
Deleted: trunk/admin-trac.openmoko.org/space_trac_admin-trac/htdocs/openmoko-logo.png
===================================================================
(Binary files differ)
Modified: trunk/admin-trac.openmoko.org/space_trac_admin-trac/htdocs/style.css
===================================================================
--- trunk/admin-trac.openmoko.org/space_trac_admin-trac/htdocs/style.css 2008-04-07 08:14:42 UTC (rev 206)
+++ trunk/admin-trac.openmoko.org/space_trac_admin-trac/htdocs/style.css 2008-04-07 08:26:02 UTC (rev 207)
@@ -1,3 +1,85 @@
+ #restfnord {
+ padding: 0px 0px 0px 0px;
+ margin: 0px auto;
+ }
+
+
+ #main_navigation {
+ float: right;
+ position: absolute;
+ top: 38px;
+ right: 5px;
+ }
+
+ #main_navigation ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ }
+
+ #main_navigation ul li {
+ display: inline;
+ margin: 0;
+ padding: 0;
+ background: none;
+ }
+
+
+ #main_navigation a {
+ float: left;
+ display: block;
+ height: 11px;
+ background-position: 50% 0%;
+ background-repeat:no-repeat;
+ }
+
+ #main_navigation a:hover {
+ background-position: 50% 100%;
+ }
+
+ #main_navigation a span{
+ display: none;
+ }
+
+ #main_navigation .selected {
+ background-position: 50% 100%;
+ }
+
+ .nav_home {
+ background-image:url(navigation/home.png);
+ width: 58px;
+ }
+
+ .nav_wiki {
+ background-image:url(navigation/wiki.png);
+ width: 50px;
+ }
+
+ .nav_docs {
+ background-image:url(navigation/docs.png);
+ width: 50px;
+ }
+
+ .nav_bugzilla {
+ background-image:url(navigation/bugzilla.png);
+ width: 79px;
+ }
+
+ .nav_planet {
+ background-image:url(navigation/planet.png);
+ width: 68px;
+ }
+
+ .nav_projects {
+ background-image:url(navigation/projects.png);
+ width: 81px;
+ }
+
+ .nav_lists {
+ background-image:url(navigation/lists.png);
+ width: 53px;
+ }
+
:link, :visited {
text-decoration: none;
color: #F87F00;
Modified: trunk/admin-trac.openmoko.org/space_trac_admin-trac/templates/site.html
===================================================================
--- trunk/admin-trac.openmoko.org/space_trac_admin-trac/templates/site.html 2008-04-07 08:14:42 UTC (rev 206)
+++ trunk/admin-trac.openmoko.org/space_trac_admin-trac/templates/site.html 2008-04-07 08:26:02 UTC (rev 207)
@@ -8,15 +8,28 @@
<body py:match="body" py:attrs="select('@*')">
<!--! Add site-specific header -->
- <!-- <div id="siteheader">-->
+ <div id="siteheader">
<!--! Place your header content here... -->
-<!-- </div> -->
+
+ <div id="main_navigation">
+ <ul>
+ <li><a href="http://www.openmoko.org/" class="nav_home"><span>Home</span></a></li>
+ <li><a href="http://wiki.openmoko.org/" class="nav_wiki"><span>Wiki</span></a></li>
+ <li><a href="http://docs.openmoko.org/" class="nav_docs"><span>Docs</span></a></li>
+ <li><a href="http://planet.openmoko.org/" class="nav_planet"><span>Planet</span></a></li>
+ <li><a href="http://projects.openmoko.org/" class="nav_projects"><span>Projects</span></a></li>
+ <li><a href="http://lists.openmoko.org/" class="nav_lists"><span>Lists</span></a></li>
+ </ul>
+ </div>
+
+ </div>
+<div id="restfnord">
${select('*|text()')}
-
+</div>
<!--! Add site-specific footer -->
-<!-- <div id="sitefooter">-->
+ <div id="sitefooter">
<!--! Place your footer content here... -->
-<!-- </div>-->
+ </div>
</body>
</html>
Deleted: trunk/docs.openmoko.org/space_trac_docs-trac/htdocs/navigation/bugzilla.png
===================================================================
(Binary files differ)
Modified: trunk/docs.openmoko.org/space_trac_docs-trac/htdocs/style.css
===================================================================
--- trunk/docs.openmoko.org/space_trac_docs-trac/htdocs/style.css 2008-04-07 08:14:42 UTC (rev 206)
+++ trunk/docs.openmoko.org/space_trac_docs-trac/htdocs/style.css 2008-04-07 08:26:02 UTC (rev 207)
@@ -79,6 +79,7 @@
background-image:url(navigation/lists.png);
width: 53px;
}
+
:link, :visited {
text-decoration: none;
color: #F87F00;
Modified: trunk/docs.openmoko.org/space_trac_docs-trac/templates/site.html
===================================================================
--- trunk/docs.openmoko.org/space_trac_docs-trac/templates/site.html 2008-04-07 08:14:42 UTC (rev 206)
+++ trunk/docs.openmoko.org/space_trac_docs-trac/templates/site.html 2008-04-07 08:26:02 UTC (rev 207)
@@ -1,6 +1,5 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/" py:strip="">
- <!-- Custom match templates go here -->
<head py:match="head" py:attrs="select('@*')">
${select('*')}
<link rel="stylesheet" type="text/css"
@@ -17,8 +16,7 @@
<ul>
<li><a href="http://www.openmoko.org/" class="nav_home"><span>Home</span></a></li>
<li><a href="http://wiki.openmoko.org/" class="nav_wiki"><span>Wiki</span></a></li>
- <li><a href="http://docs.openmoko.org/" class="nav_docs selected"><span>Docs</span></a></li>
- <li><a href="http://bugzilla.openmoko.org/" class="nav_bugzilla"><span>Bugzilla</span></a></li>
+ <li><a href="http://docs.openmoko.org/" class="nav_docs selected"><span>Docs</span></a></li>
<li><a href="http://planet.openmoko.org/" class="nav_planet"><span>Planet</span></a></li>
<li><a href="http://projects.openmoko.org/" class="nav_projects"><span>Projects</span></a></li>
<li><a href="http://lists.openmoko.org/" class="nav_lists"><span>Lists</span></a></li>
@@ -28,10 +26,10 @@
</div>
<div id="restfnord">
${select('*|text()')}
-</div>
+</div>
<!--! Add site-specific footer -->
<div id="sitefooter">
<!--! Place your footer content here... -->
</div>
- </body>
+ </body>
</html>
More information about the webdesign-commitlog
mailing list