r24 - in trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko: . global style style/images style/images/navigation


Tue Feb 13 04:14:30 CET 2007


Author: 
Date: 2007-02-13 04:14:26 +0100 (Tue, 13 Feb 2007)
New Revision: 24

Added:
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/.htaccess
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/home_img.png
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/bugzilla.png
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/home.png
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/lists.png
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/planet.png
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/projects.png
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/wiki.png
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/openmoko_logo.png
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/style.css
Modified:
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/banner.html.tmpl
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/footer.html.tmpl
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/header.html.tmpl
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/useful-links.html.tmpl
   trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/index.html.tmpl
Log:


Modified: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/banner.html.tmpl
===================================================================
--- trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/banner.html.tmpl	2007-02-13 02:14:14 UTC (rev 23)
+++ trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/banner.html.tmpl	2007-02-13 03:14:26 UTC (rev 24)
@@ -22,13 +22,17 @@
 
 [%# Migration note: this file corresponds to the old Param 'bannerhtml' %]
 
-    <table bgcolor="#000000" width="100%" border="0" cellpadding="0"
-           cellspacing="0">
-      <tr>
-        <td>
-          <font color="#FFFFFF" size="8"><center>
-            Bugzilla Version [% Param("version") %]
-          </center></font>
-        </td>
-      </tr>
-    </table>
+	<div id="header">
+		<a href="[% Param('urlbase') %]" id="site_logo"><img src="template/en/[%skin_name%]/style/images/openmoko_logo.png" alt="openmoko.com" /></a>
+		
+		<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://bugzilla.openmoko.org/" class="nav_bugzilla selected"><span>Bugzilla</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>

Modified: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/footer.html.tmpl
===================================================================
--- trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/footer.html.tmpl	2007-02-13 02:14:14 UTC (rev 23)
+++ trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/footer.html.tmpl	2007-02-13 03:14:26 UTC (rev 24)
@@ -26,35 +26,14 @@
   
 [%# Migration note: this whole file corresponds to the old Param 'footerhtml' %]
   
-<table border="0">
-  <tr>
-    <td bgcolor="#000000" valign="top">
-      <table border="0" cellpadding="10" cellspacing="0" width="100%"
-             bgcolor="lightyellow">
-        <tr>
-          <td>
-          
-[%# Migration note: this section corresponds to the old Param 'blurbhtml' %]
- 
-           This is <b>Bugzilla</b>: the Mozilla bug system.  For more 
-            information about what Bugzilla is and what it can do, see 
-            <a href="http://www.bugzilla.org/">bugzilla.org</a>.
-            
-[%# End section %]
+</div>
 
-            <br>
+<div class="footer">
+	<div class="group">This is <b>Bugzilla</b>: the Mozilla bug system.  For more information about what Bugzilla is and what it can do, see <a href="http://www.bugzilla.org/">bugzilla.org</a>.</div>
+	
+	[% PROCESS "global/useful-links.html.tmpl" %]
+</div>  
 
-[%# Migration note: useful-links.html.tmpl corresponds to %commandmenu% %]
-
-           [% PROCESS "global/useful-links.html.tmpl" %]
-
-          </td>
-        </tr>
-      </table>
-    </td>
-  </tr>
-</table>
-
 </body>
 </html>
 

Modified: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/header.html.tmpl
===================================================================
--- trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/header.html.tmpl	2007-02-13 02:14:14 UTC (rev 23)
+++ trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/header.html.tmpl	2007-02-13 03:14:26 UTC (rev 24)
@@ -36,13 +36,13 @@
   h2 = ""
   bgcolor = "#FFFFFF"
   onload = ""
+  skin_name = "openmoko"
 %]
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title>[% title %]</title>
-    
 [%# Migration note: contents of the old Param 'headerhtml' would go here %]
 
     [% header_html %]
@@ -59,6 +59,8 @@
       </style>
     [% END %]
     
+    <link href="template/en/[%skin_name%]/style/style.css" rel="stylesheet" type="text/css" />
+    
     [% IF style_urls %]
       [% FOREACH style_url = style_urls %]
         <link href="[% style_url %]" rel="stylesheet" type="text/css">
@@ -78,25 +80,14 @@
   #%]
   
 [% INCLUDE global/banner.html.tmpl %]
-    
+
 [% IF h1 || h2 %]
-    <table border="0" cellspacing="0">
-      <tr>
-        <td valign="top" align="left">
-          <table border="0" cellpadding="0" cellspacing="2">
-            <tr>
-              <td valign="top" align="left" nowrap="nowrap">
-                <font size="+1"><b>[% h1 %]</b></font>
-              </td>
-            </tr>
-          </table>
-        </td>
-        <td valign="middle">&nbsp;</td>
-        <td valign="middle" align="left">[% h2 %]</td>
-      </tr>
-    </table>
+	<div class="page_title">
+		<strong>[% h1 %]</strong> [% IF h2 %]- [% h2 %][% END %]
+	</div>
 [% END %]
-
+    
+ <div class="container">
 [% IF message %]
   <table width="100%" cellspacing="0" cellpadding="5" border="1"><tr><td>
     <font color="green">[% message %]</font>

Modified: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/useful-links.html.tmpl
===================================================================
--- trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/useful-links.html.tmpl	2007-02-13 02:14:14 UTC (rev 23)
+++ trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/global/useful-links.html.tmpl	2007-02-13 03:14:26 UTC (rev 24)
@@ -36,51 +36,23 @@
     substitution param in 'footerhtml' %]
 
 <form method="get" action="show_bug.cgi">
-  <table width="100%">
-    <tr>
-      <td>
-        Actions:
-      </td>
-      
-      <td valign="middle" nowrap>
-        <a href="enter_bug.cgi">New</a> | 
-        <a href="query.cgi">Query</a> |
-        
-        <input type="submit" value="Find"> bug # 
-        <input name="id" size="6"> | 
-        
-        <a href="reports.cgi">Reports</a> 
-       
-        [% IF user.login && Param('usevotes') %]
-          | <a href="votes.cgi?action=show_user">My Votes</a>
-        [% END %]      
-      </td>
+	<div class="group">
+		<a href="enter_bug.cgi">New</a> | <a href="query.cgi">Query</a> | <input type="submit" value="Find"> bug # <input name="id" size="6"> | <a href="reports.cgi">Reports</a>[% IF user.login && Param('usevotes') %] | <a href="votes.cgi?action=show_user">My Votes</a>[% END %] 
+	</div>
+	
+[% IF user.login %] 
+	<div class="group">
+        Edit <a href="userprefs.cgi">prefs</a> 
+        [% " | <a href='editparams.cgi'>parameters</a>" IF user.groups.tweakparams %]
+        [% " | <a href='editusers.cgi'>users</a>"     IF user.groups.editusers || (user.blessgroupset > 0) %]
+        [% " | <a href='editproducts.cgi'>products</a>" IF user.groups.editcomponents %]
+        [% " | <a href='editattachstatuses.cgi'> attachment&nbsp;statuses</a>" IF user.groups.editcomponents %]
+        [% " | <a href='editgroups.cgi'>groups</a>" IF user.groups.creategroups %]
+        [% " | <a href='editkeywords.cgi'>keywords</a>" IF user.groups.editkeywords %]
+        [% " | <a href='sanitycheck.cgi'>Sanity&nbsp;check</a>" IF user.groups.tweakparams %]
+        | <a href="relogin.cgi">Log&nbsp;out</a>&nbsp;&nbsp;[% user.login %]
+	</div>
 
-      <td>&nbsp;</td>
-      
-    [% IF user.login %] 
-
-      <td valign="middle">
-        Edit <a href="userprefs.cgi">prefs</a>
-        [% ", <a href='editparams.cgi'>parameters</a>" 
-                                                   IF user.groups.tweakparams %]
-        [% ", <a href='editusers.cgi'>users</a>"     IF user.groups.editusers 
-                                                  || (user.blessgroupset > 0) %]
-        [% ", <a href='editproducts.cgi'>products</a>" 
-                                                IF user.groups.editcomponents %]
-        [% ", <a href='editattachstatuses.cgi'> attachment&nbsp;statuses</a>" 
-                                                IF user.groups.editcomponents %]
-        [% ", <a href='editgroups.cgi'>groups</a>" 
-                                                  IF user.groups.creategroups %]
-        [% ", <a href='editkeywords.cgi'>keywords</a>" 
-                                                  IF user.groups.editkeywords %]
-        [% " | <a href='sanitycheck.cgi'>Sanity&nbsp;check</a>" 
-                                                   IF user.groups.tweakparams %]
-
-        | <a href="relogin.cgi">Log&nbsp;out</a>&nbsp;[% user.login %]
-      </td>
-    </tr> 
-
     [%# Preset queries %]
     
     [% preset_queries = user.showmybugslink %]
@@ -88,14 +60,11 @@
       [% preset_queries = 1 IF q.linkinfooter %]
     [% END %]
       
-    <tr>
-      [% IF preset_queries %]
-        <td>
-          Preset&nbsp;Queries:
-        </td>
-      [% END %]
-      
-      <td colspan="3">
+    <div class="group">
+		[% IF preset_queries %]
+		  Preset&nbsp;Queries:
+		[% END %]
+
         [% IF user.showmybugslink %]
           [% filtered_username = user.login FILTER url_quote %]
           <a href="[% Param('mybugstemplate').replace('%userid%', filtered_username) %]">My&nbsp;Bugs</a>
@@ -109,16 +78,10 @@
             [% print_pipe = 1 %]
           [% END %]        
         [% END %]
-      </td>
-    </tr>
-      
+    </div>
     [% ELSE %]    
-      <td valign="middle" align="right">
-        <a href="createaccount.cgi">New&nbsp;Account</a> | 
-        <a href="query.cgi?GoAheadAndLogIn=1">Log&nbsp;In</a>
-      </td>
-    </tr>
+		<div>
+	        <a href="createaccount.cgi">New&nbsp;Account</a> | <a href="query.cgi?GoAheadAndLogIn=1">Log&nbsp;In</a>
+		</div>
     [% END %]
-    
-  </table>                
-</form>
+</form>
\ No newline at end of file

Modified: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/index.html.tmpl
===================================================================
--- trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/index.html.tmpl	2007-02-13 02:14:14 UTC (rev 23)
+++ trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/index.html.tmpl	2007-02-13 03:14:26 UTC (rev 24)
@@ -79,7 +79,7 @@
   </p>
   </form>
  </td>
- <td align="right"><img src="/bugzilla/ant.jpg" width="329" height="220" border="2" alt="ant.jpg [8.5k]"></td>
+ <td align="right"><img src="template/en/[%skin_name%]/style/images/home_img.png" border="0" alt="openmoko_bugzilla"></td>
 </tr></table>
 
 <script type="text/javascript" language="JavaScript" src="/bugzilla/localconfig.js"></script>

Added: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/.htaccess
===================================================================
--- trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/.htaccess	2007-02-13 02:14:14 UTC (rev 23)
+++ trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/.htaccess	2007-02-13 03:14:26 UTC (rev 24)
@@ -0,0 +1,3 @@
+# nothing in this directory is retrievable unless overriden by an .htaccess
+# in a subdirectory
+allow from all

Added: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/home_img.png
===================================================================
(Binary files differ)


Property changes on: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/home_img.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/bugzilla.png
===================================================================
(Binary files differ)


Property changes on: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/bugzilla.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/home.png
===================================================================
(Binary files differ)


Property changes on: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/home.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/lists.png
===================================================================
(Binary files differ)


Property changes on: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/lists.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/planet.png
===================================================================
(Binary files differ)


Property changes on: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/planet.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/projects.png
===================================================================
(Binary files differ)


Property changes on: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/projects.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/wiki.png
===================================================================
(Binary files differ)


Property changes on: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/navigation/wiki.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/openmoko_logo.png
===================================================================
(Binary files differ)


Property changes on: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/images/openmoko_logo.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/style.css
===================================================================
--- trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/style.css	2007-02-13 02:14:14 UTC (rev 23)
+++ trunk/bugzilla.openmoko.org/var_lib_bugzilla_template_en_openmoko/style/style.css	2007-02-13 03:14:26 UTC (rev 24)
@@ -0,0 +1,226 @@
+html {
+	background: #FFFFFF;
+}
+
+body,html {
+	margin: 0px 0px;
+	padding: 0px;
+	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	color: #333;
+/*	background: #F1F1F1 none repeat scroll 0%;*/
+	font-size: 15px !important;
+}
+
+body {
+	margin: 0px 20px;
+}
+
+pre {
+	font-family:"Lucida Console", "Courier New", Courier, mono;
+	color: #888;
+	font-size: 0.9em;
+}
+
+fieldset {
+	border: 1px solid #ddd;
+}
+
+h1 {
+	font-size: 1.6em !important;
+}
+
+a {
+	color: #ff6600;
+	text-decoration: none;
+}
+
+a:hover {
+	color: #ff6600;
+	text-decoration: underline;
+}
+
+img {
+	border: none;
+}
+
+table {
+/*	border-collapse: collapse;*/
+	border-color: #ddd;
+}
+
+/*.header {
+	margin: 0px 0px 0px 0px;
+	padding: 0px 20px;
+	background:#3f3f3f;
+	text-align: right;
+}
+
+.header .logo {
+	float: left;
+	margin: 15px 0px 0px 0px;
+}
+
+
+
+.header .version {
+	margin: 0px 0px 0px 200px;
+	color: #FFF;
+	padding: 25px 0px 20px 0px;
+	display: block;
+	font-size: 0.7em;
+}*/
+
+
+
+.page_title {
+	clear: both;
+	background: #eee;
+	padding: 7px 10px 7px 53px;
+	font-size: 1em;
+	margin: 0px 0px 10px 0px;
+}
+
+
+
+hr {
+	height: 1px;
+	border: none;
+	background: #eee;
+}
+
+.footer {
+ 	border-top: 1px solid #DDDDDD;
+	background: #FAFAFA;
+	padding: 20px 0px;
+	margin: 20px 0px;
+	text-align: center;
+	font-size: 0.7em;
+	color: #666666;
+}
+
+.footer .group {
+	margin: 0px;
+	padding: 5px 0px;
+}
+
+.container {
+	margin: 0px 20px;
+	font-size: 0.9em !important;
+}
+
+.container table,
+.container p a {
+	font-size: 0.9em !important;
+}
+
+.selected_tab {
+	background: #eee !important;
+	border-width: 1px !important;
+	border-bottom: none !important;
+	border-color: #888 !important;
+}
+
+.unselected_tab {
+	background: #fafafa !important;
+	border-width: 1px !important;
+	border-color: #888 !important;
+	border-top: none !important;
+	border-left: none !important;
+	border-right: none !important;
+}
+
+.spacer {
+	border-width: 1px !important;
+	border-color: #888 !important;
+	border-top: none !important;
+	border-left: none !important;
+	border-right: none !important
+}
+
+/**************/
+/* NAVIGATION */
+/**************/
+
+#header {
+	height: 90px;
+	position: relative;
+}
+
+#site_logo {
+	position: absolute;
+	top: 29px;
+	left: 10px;
+}
+
+#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(images/navigation/home.png);
+	width: 58px;
+}
+
+.nav_wiki {
+	background-image:url(images/navigation/wiki.png);
+	width: 50px;
+}
+
+.nav_bugzilla {
+	background-image:url(images/navigation/bugzilla.png);
+	width: 79px;
+}
+
+.nav_planet {
+	background-image:url(images/navigation/planet.png);
+	width: 68px;
+}
+
+.nav_projects {
+	background-image:url(images/navigation/projects.png);
+	width: 81px;
+}
+
+.nav_lists {
+	background-image:url(images/navigation/lists.png);
+	width: 53px;
+} 
\ No newline at end of file





More information about the webdesign-commitlog mailing list