status-report-scripts/review-templates bymonth.html, 1.2, 1.3 plain.html, 1.1, 1.2

Jason ティビツ tibbs at fedoraproject.org
Fri Jan 8 06:10:53 UTC 2010


Author: tibbs

Update of /cvs/fedora/status-report-scripts/review-templates
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10096

Modified Files:
	bymonth.html plain.html 
Log Message:
Prettify and Fedora-ify the bug lists significantly.



Index: bymonth.html
===================================================================
RCS file: /cvs/fedora/status-report-scripts/review-templates/bymonth.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bymonth.html	15 Oct 2009 18:47:56 -0000	1.2
+++ bymonth.html	8 Jan 2010 06:10:52 -0000	1.3
@@ -3,56 +3,88 @@
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <html xmlns="http://www.w3.org/1999/xhtml"
-    xmlns:py="http://genshi.edgewall.org/"
-    xmlns:xi="http://www.w3.org/2001/XInclude">
-    <head>
-        <META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-        <base href="https://bugzilla.redhat.com/bugzilla/"/>
-        <title>$title</title>
-        <style type="text/css" media="screen">
-            <!--
-            @import url("https://bugzilla.redhat.com/bugzilla/skins/standard/global.css");
-            -->
-            .UNASSIGNED {background-color: #99f}
-            .bz_state_NEEDSPONSOR {background-color: #afa};
-        </style>
-
-        <link href="skins/standard/buglist.css" rel="stylesheet" type="text/css"/>
-    </head>
-
-    <body>
-        <h1 style='background-color: #99f;'>$description<br/>
-            Last Update: $update (v$version)<br/>
-            There are $count tickets in this category</h1>
-
-        <table class="buglist" cellspacing="0" cellpadding="4" width="100%">
-            <thead>
-                <tr align="left">
-                    <th>ID</th>
-                    <th>Alias</th>
-                    <th>Assignee</th>
-                    <th>Status</th>
-                    <th>Last Change</th>
-                    <th>Summary</th>
-                </tr>
-            </thead>
-
-            <py:for each="month in months">
-            <tr><td colspan="5"><b>${month['month']}</b></td></tr>
-            <py:for each="bug in month['bugs']">
-            <tr class="${bug['class']}">
-                <td>
-                    <a href="show_bug.cgi?id=${bug['id']}">${bug['id']}</a>
-                </td>
-                <td>${bug['alias']} </td>
-                <td>${bug['assignee']}</td>
-                <td>${bug['status']}</td>
-                <td>${bug['lastchange']}</td>
-                <td>${bug['summary']}</td>
-            </tr>
-            </py:for>
-            </py:for>
-        </table>
-    </body>
-</html>
+ xmlns:py="http://genshi.edgewall.org/"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+<head>
+  <META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+  <base href="https://bugzilla.redhat.com/bugzilla/"/>
+  <title>$title</title>
+  <style type="text/css" media="screen">
+    .bz_state_NEEDSPONSOR {background-color: #AAFFAA}
+    .bz_row_even {background-color: #FFFFFF}
+    .bz_row_odd {background-color: #EEEEEE}
+
+    #content
+    {
+      margin-left: 0ex!important;
+    }
+
+    td, th
+    {
+      border: none!important;
+      padding: 0.5ex 2ex!important;
+    }
+  </style>
+
+  <link rel="stylesheet" type="text/css" media="all"
+        href="http://fedoraproject.org/static/css/fedora.css" />
+</head>
 
+<body>
+  <div id="wrapper">
+    <div id="head">
+      <h1><a href="http://fedoraproject.org/index.html">Fedora</a></h1>
+    </div>
+    <div id="content">
+<h2>$description<br/>
+Last Update: $update (v$version)<br/>
+There are $count tickets in this category</h2>
+
+<table class="buglist" cellspacing="0" cellpadding="4" width="100%">
+   <thead>
+     <tr align="left">
+       <th>ID</th>
+       <th>Alias</th>
+       <th>Assignee</th>
+       <th>Status</th>
+       <th>Last Change</th>
+       <th>Summary</th>
+     </tr>
+   </thead>
+
+   <py:for each="month in months">
+     <tr><td colspan="5"><b>${month['month']}</b></td></tr>
+     <py:for each="bug in month['bugs']">
+        <tr class="${bug['class']}">
+          <td>
+            <a href="show_bug.cgi?id=${bug['id']}">${bug['id']}</a>
+          </td>
+          <td>${bug['alias']} </td>
+          <td>${bug['assignee']}</td>
+          <td>${bug['status']}</td>
+          <td>${bug['lastchange']}</td>
+          <td>${bug['summary']}</td>
+         </tr>
+       </py:for>
+     </py:for>
+</table>
+    </div>
+  </div>
+  <div id="bottom">
+    <div id="footer">
+      <p class="copy">
+      © 2009 Red Hat, Inc. and others.
+      Please send any comments or corrections to the <a href="mailto:webmaster at fedoraproject.org">websites team</a>.
+      </p>
+      <p class="disclaimer">
+      The Fedora Project is maintained and driven by the community and sponsored by Red Hat.  This is a community maintained site.  Red Hat is not responsible for content.
+      </p>
+
+      <ul>
+        <li class="first"><a href="http://fedoraproject.org/wiki/Legal:Main">Legal</a></li>
+        <li><a href="http://fedoraproject.org/wiki/Legal:Trademark_guidelines">Trademark Guidelines</a></li>
+      </ul>
+    </div>
+  </div>
+</body>
+</html>


Index: plain.html
===================================================================
RCS file: /cvs/fedora/status-report-scripts/review-templates/plain.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plain.html	3 Oct 2009 17:14:45 -0000	1.1
+++ plain.html	8 Jan 2010 06:10:52 -0000	1.2
@@ -3,53 +3,85 @@
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <html xmlns="http://www.w3.org/1999/xhtml"
-    xmlns:py="http://genshi.edgewall.org/"
-    xmlns:xi="http://www.w3.org/2001/XInclude">
-    <head>
-        <META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-        <base href="https://bugzilla.redhat.com/bugzilla/"/>
-        <title>$title</title>
-        <style type="text/css" media="screen">
-            <!--
-            @import url("https://bugzilla.redhat.com/bugzilla/skins/standard/global.css");
-            -->
-            .UNASSIGNED {background-color: #99f}
-            .bz_state_NEEDSPONSOR {background-color: #afa};
-        </style>
-
-        <link href="skins/standard/buglist.css" rel="stylesheet" type="text/css"/>
-    </head>
-
-    <body>
-        <h1 style='background-color: #99f;'>$description<br/>
-            Last Update: $update (v$version)<br/>
-            There are $count tickets in this category</h1>
-
-        <table class="buglist" cellspacing="0" cellpadding="4" width="100%">
-            <thead>
-                <tr align="left">
-                    <th>ID</th>
-                    <th>Alias</th>
-                    <th>Assignee</th>
-                    <th>Status</th>
-                    <th>Last Change</th>
-                    <th>Summary</th>
-                </tr>
-            </thead>
-
-            <py:for each="bug in bugs">
-            <tr class="${bug['class']}">
-                <td>
-                    <a href="show_bug.cgi?id=${bug['id']}">${bug['id']}</a>
-                </td>
-                <td>${bug['alias']} </td>
-                <td>${bug['assignee']}</td>
-                <td>${bug['status']}</td>
-                <td>${bug['lastchange']}</td>
-                <td>${bug['summary']}</td>
-            </tr>
-            </py:for>
-        </table>
-    </body>
-</html>
+ xmlns:py="http://genshi.edgewall.org/"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+<head>
+  <META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+  <base href="https://bugzilla.redhat.com/bugzilla/"/>
+  <title>$title</title>
+    <style type="text/css" media="screen">
+      .bz_state_NEEDSPONSOR {background-color: #AAFFAA}
+      .bz_row_even {background-color: #FFFFFF}
+      .bz_row_odd {background-color: #EEEEEE}
+
+      #content
+      {
+          margin-left: 0ex!important;
+      }
+
+      td, th
+      {
+          border: none!important;
+          padding: 0.5ex 2ex!important;
+      }
+    </style>
+
+  <link rel="stylesheet" type="text/css" media="all"
+        href="http://fedoraproject.org/static/css/fedora.css" />
+</head>
 
+<body>
+  <div id="wrapper">
+    <div id="head">
+      <h1><a href="http://fedoraproject.org/index.html">Fedora</a></h1>
+    </div>
+  <div id="content">
+<h2>$description<br/>
+Last Update: $update (v$version)<br/>
+There are $count tickets in this category.</h2>
+
+<table class="buglist" cellspacing="0" cellpadding="4" width="100%">
+  <thead>
+    <tr align="left">
+      <th>ID</th>
+      <th>Alias</th>
+      <th>Assignee</th>
+      <th>Status</th>
+      <th>Last Change</th>
+      <th>Summary</th>
+    </tr>
+  </thead>
+
+  <py:for each="bug in bugs">
+    <tr class="${bug['class']}">
+      <td>
+        <a href="show_bug.cgi?id=${bug['id']}">${bug['id']}</a>
+      </td>
+      <td>${bug['alias']} </td>
+      <td>${bug['assignee']}</td>
+      <td>${bug['status']}</td>
+      <td>${bug['lastchange']}</td>
+      <td>${bug['summary']}</td>
+    </tr>
+  </py:for>
+</table>
+    </div>
+  </div>
+  <div id="bottom">
+    <div id="footer">
+      <p class="copy">
+      © 2009 Red Hat, Inc. and others.
+      Please send any comments or corrections to the <a href="mailto:webmaster at fedoraproject.org">websites team</a>.
+      </p>
+      <p class="disclaimer">
+      The Fedora Project is maintained and driven by the community and sponsored by Red Hat.  This is a community maintained site.  Red Hat is not responsible for content.
+      </p>
+
+      <ul>
+        <li class="first"><a href="http://fedoraproject.org/wiki/Legal:Main">Legal</a></li>
+        <li><a href="http://fedoraproject.org/wiki/Legal:Trademark_guidelines">Trademark Guidelines</a></li>
+      </ul>
+    </div>
+  </div>
+</body>
+</html>




More information about the fedora-extras-commits mailing list