[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#708838: developers.php: Hide or sort differently co-maintained packages



Hi,

I did some more cosmetic polishing (I hope I managed to stop before it
became bikeshedding).

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

From 8ed2924fc45f34e0345769f2ea6e431bd59ffb83 Mon Sep 17 00:00:00 2001
From: Joachim Breitner <mail@joachim-breitner.de>
Date: Sun, 19 May 2013 21:07:35 +0200
Subject: [PATCH 5/8] Prevent wrapping of the option descriptions in narrow
 screens

---
 wml/developer.css | 4 ++++
 wml/developer.wml | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/wml/developer.css b/wml/developer.css
index 16c8ea6..0989b12 100644
--- a/wml/developer.css
+++ b/wml/developer.css
@@ -47,3 +47,7 @@ h3 { margin-left:10px; margin-bottom: 0.5em; }
 	text-align: center;
 	vertical-align: middle;
 }
+
+table.settings td {
+	white-space: nowrap;
+}
diff --git a/wml/developer.wml b/wml/developer.wml
index 0681356..a4e14a9 100644
--- a/wml/developer.wml
+++ b/wml/developer.wml
@@ -262,7 +262,7 @@ function print_help() {
 
     $display_table_tr = html_tr($display_table_tds, "left");
 
-    $display_data .= html_table(html_tr($display_table_th), array($display_table_tr), "", "small") . html_br();
+    $display_data .= html_table(html_tr($display_table_th), array($display_table_tr), "", "small settings") . html_br();
     $display_data .= "Additionally show packages: ". html_input_text("packages", isdisplayed('packages'));
     $display_data .= " uploaders: ". html_input_text("uploader", isdisplayed('uploader')) . html_br();
     $display_data .= "Mirror: ". html_input_text("mirror", isdisplayed('mirror')) . html_br();
-- 
1.8.3.rc2

From 9de89903934eaf25b83bb8892f6bf0158cce153f Mon Sep 17 00:00:00 2001
From: Joachim Breitner <mail@joachim-breitner.de>
Date: Sun, 19 May 2013 21:08:45 +0200
Subject: [PATCH 6/8] Nicer dashes

---
 wml/developer.wml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wml/developer.wml b/wml/developer.wml
index a4e14a9..7bd4b1a 100644
--- a/wml/developer.wml
+++ b/wml/developer.wml
@@ -192,12 +192,12 @@ function print_header_entries_body($login, $name)
     } else {
         $maintainer_data = "Maintainer and Co-Maintainer:";
     }
-    $maintainer_data = $maintainer_data . " <b>$name &lt;$login&gt;</b> -- Bugs: " .
+    $maintainer_data = $maintainer_data . " <b>$name &lt;$login&gt;</b> &mdash; Bugs: " .
         html_a("open", "http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=maint&amp;data=$ulogin&amp;archive=no&amp;raw=yes&amp;bug-rev=yes&amp;pend-exc=fixed&amp;pend-exc=done";) . " - " .
         html_a("RC", "http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=maint&amp;data=$ulogin&amp;archive=no&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious";) . " - " .
         html_a("all", "http://bugs.debian.org/cgi-bin/pkgreport.cgi?maint=$ulogin";) . " - " .
         html_a("submitted", "http://bugs.debian.org/cgi-bin/pkgreport.cgi?submitter=$ulogin";) . " - " .
-        html_a("WNPP", "wnpp.php?login=$ulogin") . " -- ";
+        html_a("WNPP", "wnpp.php?login=$ulogin") . " &mdash; ";
 
     $initial = substr($login, 0, 1);
     $maintainer_data .= "Reports: " .
-- 
1.8.3.rc2

From 7ccf24f4e9f46533339662537e5b4e2082be3a98 Mon Sep 17 00:00:00 2001
From: Joachim Breitner <mail@joachim-breitner.de>
Date: Sun, 19 May 2013 21:09:55 +0200
Subject: [PATCH 7/8] Left-align table heads with tables

looks better to me...
---
 wml/developer.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wml/developer.css b/wml/developer.css
index 0989b12..8ff0eb5 100644
--- a/wml/developer.css
+++ b/wml/developer.css
@@ -4,7 +4,7 @@ a.dash:link,a.dash:visited,a.dash:active {text-decoration: none;}
 	cursor:pointer;
 	border-bottom-style:dashed;
 	border-width:thin}
-h3 { margin-left:10px; margin-bottom: 0.5em; }
+h3 { margin-bottom: 0.5em; }
 .small { font-size:small }
 .uploader { color:blue }
 
-- 
1.8.3.rc2

From 8cc093f8624b5105714a5d522d208d8429021ccf Mon Sep 17 00:00:00 2001
From: Joachim Breitner <mail@joachim-breitner.de>
Date: Sun, 19 May 2013 21:15:50 +0200
Subject: [PATCH 8/8] Explain some somewhat non-obvious abbreviations

---
 wml/developer.wml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/wml/developer.wml b/wml/developer.wml
index 7bd4b1a..5507fbd 100644
--- a/wml/developer.wml
+++ b/wml/developer.wml
@@ -982,21 +982,21 @@ function print_package_entry($package, $uploader, $back_tr_color, $skip_seen)
         {
             $stable_dep = "-";
         }else{
-            $stable_dep = html_a("St", "http://qa.debian.org/debcheck.php?dist=stable&amp;package=$urlpackage";);
+            $stable_dep = html_a("St", "http://qa.debian.org/debcheck.php?dist=stable&amp;package=$urlpackage";, "", "Stable");
         }
 
         if(strcmp($version['testing'], "-")== 0 || !debcheckavailable('testing', $package))
         {
             $testing_dep = "-";
         }else{
-            $testing_dep = html_a("Te", "http://qa.debian.org/debcheck.php?dist=testing&amp;package=$urlpackage";);
+            $testing_dep = html_a("Te", "http://qa.debian.org/debcheck.php?dist=testing&amp;package=$urlpackage";, "", "Testing");
         }
 
         if(strcmp($version['unstable'], "-")== 0 || !debcheckavailable('unstable', $package))
         {
             $sid_dep = "-";
         }else{
-            $sid_dep = html_a("Un", "http://qa.debian.org/debcheck.php?dist=unstable&amp;package=$urlpackage";);
+            $sid_dep = html_a("Un", "http://qa.debian.org/debcheck.php?dist=unstable&amp;package=$urlpackage";, "", "Unstable");
         }
         $line .= html_td($stable_dep) . html_td($testing_dep) . html_td($sid_dep);
     }
@@ -1170,9 +1170,9 @@ function print_package_entries($branch, $packages, $skip_seen)
     }
     if(isdisplayed('problems'))
     {
-        $ths .= html_th("St");
-        $ths .= html_th("Te");
-        $ths .= html_th("Un");
+        $ths .= html_th(html_span("St", "", "", "title=\"Stable\""));
+        $ths .= html_th(html_span("Te", "", "", "title=\"Testing\""));
+        $ths .= html_th(html_span("Un", "", "", "title=\"Unstable\""));
     }
     if(isdisplayed('lintian'))
     {
-- 
1.8.3.rc2

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: