r11047 - /scripts/qa/templates/by_category

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Sun Dec 9 08:43:38 UTC 2007


Author: tincho-guest
Date: Sun Dec  9 08:43:34 2007
New Revision: 11047

URL: http://svn.debian.org/wsvn/?sc=1&rev=11047
Log:
Correct default for format, and prettier

Modified:
    scripts/qa/templates/by_category

Modified: scripts/qa/templates/by_category
URL: http://svn.debian.org/wsvn/scripts/qa/templates/by_category?rev=11047&op=diff
==============================================================================
--- scripts/qa/templates/by_category (original)
+++ scripts/qa/templates/by_category Sun Dec  9 08:43:34 2007
@@ -206,10 +206,9 @@
             border: 1px black dashed;
             margin-bottom: 1em;
         }
+        #options h2 { font-size: 110%; margin: 0; }
         #options div { display: none }
-        #w3org {
-            clear: both;
-        }
+        #w3org { clear: both; }
     </style>
     <script type="text/javascript">
         function toggle_visibility(id)
@@ -275,13 +274,18 @@
 <h2>$shown_packages/$total_packages</h2>
 
 <div id="options">
+<h2>Options</h2>
 [% USE CGI %]
 [% CGI.start_form({ Method => 'GET' }) %]
 [% CGI.p(CGI.checkbox({ Name => 'show_all', Label => "Show all packages" })) %]
-[% CGI.p("Format:", CGI.radio_group({
+[% CGI.p("Order:", CGI.radio_group({
     Name => 'format',
     Values => [ 'list', 'categories' ],
-    Default => 'list',
+    Default => 'categories',
+    Labels => {
+         categories => "by category",
+         list => "by name",
+    }
 }).join("\n")) %]
 [% CGI.p("Refresh:", CGI.radio_group({
     Name => 'refresh',




More information about the Pkg-perl-cvs-commits mailing list