extras-buildsys/www/template head.psp,1.1,1.2
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Fri Jul 22 05:39:22 UTC 2005
Author: dcbw
Update of /cvs/fedora/extras-buildsys/www/template
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1981/www/template
Modified Files:
head.psp
Log Message:
2005-07-22 Dan Williams <dcbw at redhat.com>
* Web front-end cleanup
- Use Diana Fong's new design. Delicious!
Index: head.psp
===================================================================
RCS file: /cvs/fedora/extras-buildsys/www/template/head.psp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- head.psp 21 Jul 2005 04:07:55 -0000 1.1
+++ head.psp 22 Jul 2005 05:39:20 -0000 1.2
@@ -9,17 +9,15 @@
email_url = '?email=' + user_email
# endif
-active_color = 'bgcolor="#0000cc"'
-
-main_color = '#cc0000'
+main_active = ''
if curpage == 'main':
- main_color = active_color
-builders_color = '#cc0000'
+ main_active = '-active'
+builders_active = ''
if curpage == 'builders':
- builders_color = active_color
-indiv_color = '#cc0000'
+ builders_active = '-active'
+indiv_active = ''
if curpage == 'individual':
- indiv_color = active_color
+ indiv_active = '-active'
#endif
%>
@@ -36,19 +34,24 @@
<td width="100%">
<table class="top" cellpadding="0" cellspacing="0">
<tr>
- <td align="left" class="top"><font class="header-text"><%=config_opts['system_name']%> <%=str(email_string)%></font></td>
- <td align="right" class="top"><font class="header-date">Today is: <%=str(time.strftime("%A %B %d, %Y"))%></font></td>
+ <td align="left" class="top"><font class="header-system-name"><%=config_opts['system_name']%></font></td>
+ <td align="right" class="top">
+ <table cellspacing="0" cellpadding="0">
+ <tr><td align="right"><font class="header-date"><%=str(email_string)%></font></td></tr>
+ <tr><td align="right"><font class="header-date">Today is: <%=str(time.strftime("%A %B %d, %Y"))%></font></td></tr>
+ </table>
+ </td>
</tr>
+ </table>
+
+ <!-- Navigation Links -->
+ <table class="nav" cellspacing="0" cellpadding="0">
<tr>
- <td colspan="2" class="navtable-parent">
- <table class="navtable" cellspacing="0" cellpadding="0">
- <tr>
- <td class="navtable-button-left" <%=main_color%>><a href="index.psp<%=email_url%>" class="navtable-button">Main</a></td>
- <td class="navtable-button" <%=builders_color%>><a href="builders.psp<%=email_url%>" class="navtable-button">Builders</a></td>
- <td class="navtable-button" <%=indiv_color%>><a href="indiv.psp<%=email_url%>" class="navtable-button">Individual View</a></td>
- </tr>
- </table>
- </td>
+ <td align="left"><a class="nav-link<%=main_active%>" href="index.psp<%=email_url%>">Main</a></td>
+ <td align="center" class="nav-link-sep"><font class="nav-link-sep">l</font></td>
+ <td align="left"><a class="nav-link<%=builders_active%>" href="builders.psp<%=email_url%>">Builder Status</a></td>
+ <td align="center" class="nav-link-sep"><font class="nav-link-sep">l</font></td>
+ <td align="left"><a class="nav-link<%=indiv_active%>" href="indiv.psp<%=email_url%>">My Packages</a></td>
</tr>
</table>
More information about the fedora-extras-commits
mailing list