status-report-scripts/review-templates index.html,1.1,1.2

Jason ティビツ tibbs at fedoraproject.org
Thu Oct 22 03:59:09 UTC 2009


Author: tibbs

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

Modified Files:
	index.html 
Log Message:
Add nice index page.
Refactor some code.
Bump version to 2.1.



Index: index.html
===================================================================
RCS file: /cvs/fedora/status-report-scripts/review-templates/index.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- index.html	3 Oct 2009 17:14:45 -0000	1.1
+++ index.html	22 Oct 2009 03:59:09 -0000	1.2
@@ -1,54 +1,81 @@
-<!DOCTYPE html
-PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/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>
-        <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>
+    <META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+    <link rel="stylesheet" type="text/css" media="all"
+href="http://fedoraproject.org/static/css/fedora.css" />
+    <style type="text/css">
+        #content
+        {
+            margin-left: 2ex!important;
+        }
+
+        td, th
+        {
+            border: none!important;
+            padding: 0.5ex 2ex!important;
+        }
 
-        <link href="skins/standard/buglist.css" rel="stylesheet" type="text/css"/>
-    </head>
+    </style>
 
+    <title>Cached Package Review Tracker</title>
+    </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>
+    <div id="wrapper">
+      <div id="head">
+        <h1><a href="http://fedoraproject.org/index.html">Fedora</a></h1>
+      </div>
+      <div id="content">
+<h2>Cached Package Review Tracker</h2>
+These pages contain periodically generated reports with information on the
+current state of all Fedora package review tickets.  The following reports are
+available:
+
+<table>
+<tr><td><a href="NEW.html">New tickets</a> ($new)</td>
+    <td>All non-merge review tickets without an assigned reviewer.</td></tr>
+<tr><td><a href="NEEDSPONSOR.html">Needsponsor tickets</a> ($needsponsor)</td>
+    <td>All review tickets where a sponsor is required. Please see <a href="https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group#Sponsorship_model">this page</a> for more information on sponsorship.</td></tr>
+<tr><td><a href="MERGE.html">Merge review tickets</a> ($merge)</td>
+    <td>All merge review tickets.  Please see <a href="https://fedoraproject.org/wiki/Merge_Reviews">this page</a> for more information on merge reviews.</td></tr>
+<tr><td><a href="HIDDEN.html">Hidden tickets</a> ($hidden)</td>
+    <td>Tickets which have been hidden for some reason.  These tickets either depend on other review tickets which have not yet been closed, or are unreviewable for some reason.  See <a href="https://fedoraproject.org/wiki/Package_Review_Process#Special_blocker_tickets">this page</a> for more information on the various states a review ticket can have.</td></tr>
+</table>
+<br/>
+    <h2>Quick Review Search</h2>
+    <form name="queryform" action="http://bugzilla.redhat.com/buglist.cgi" method="get"
+          onsubmit="if (this.short_desc.value == '')
+                    { alert('Please enter a search term.');
+                      return false; } return true;">
+    <div>
+      <p>Enter a source package name to search for any relevant review tickets</p>
+      <input type="text" id="short_desc" name="short_desc"/>
+      <input type="hidden" id="short_desc_type" name="short_desc_type" value="allwordssubstr"/>
+      <input type="hidden" id="component" name="component" multiple="multiple" value="Package Review"/>
+      <input id="Search" type="submit" value="Search"/>
+      <input type="hidden" id="query_format" name="query_format" value="advanced"/>
+    </div>
+    </form>
+  </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