[Pkg-debile-commits] [debile-web] 03/04: Make job/source lists slighly less uggly

Jon Severinsson jonno-guest at moszumanska.debian.org
Tue Mar 25 17:08:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

jonno-guest pushed a commit to branch master
in repository debile-web.

commit f801eff39225a50d3f75a5c8ef16af07083dbfe0
Author: Jon Severinsson <jon at severinsson.net>
Date:   Tue Mar 25 17:38:48 2014 +0100

    Make job/source lists slighly less uggly
---
 less/layout.less                    |  6 ++++--
 templates/job_list_fragment.html    | 10 ++++------
 templates/source_list_fragment.html |  8 +++-----
 3 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/less/layout.less b/less/layout.less
index 81e20d3..a5d0141 100644
--- a/less/layout.less
+++ b/less/layout.less
@@ -74,7 +74,8 @@ h3 {
 }
 
 .main {
-    width:                  700px;
+    max-width:              960px;
+    min-width:              736px;
     margin-left:            auto;
     margin-right:           auto;
 }
@@ -101,7 +102,8 @@ table {
     border-collapse:           collapse;
     border:                    1px solid #999999;
     tr {
-        td {
+        td, th {
+            text-align:        start;
             padding:           5px;
         }
         border-bottom:         1px solid #999999;
diff --git a/templates/job_list_fragment.html b/templates/job_list_fragment.html
index 07c3319..f6198ee 100644
--- a/templates/job_list_fragment.html
+++ b/templates/job_list_fragment.html
@@ -2,8 +2,7 @@
         <tr>
             <th>Source</th>
             <th>Job</th>
-            <th>Group</th>
-            <th>Suite</th>
+            <th>Group<br />Suite</th>
             <th>Builder</th>
             <th>Status</th>
         </tr>
@@ -12,9 +11,9 @@
         <tr class='job {{info.status}}'>
             <td>
                 {% if info.source_link %}
-                    <a href='{{info.source_link}}'>{{info.job.source.name}}/{{info.job.source.version}}</a>
+                    <a href='{{info.source_link}}'>{{info.job.source.name}}/&#x200B;{{info.job.source.version}}</a>
                 {% else %}
-                    {{info.job.source.name}}/{{info.job.source.version}}
+                    {{info.job.source.name}}/&#x200B;{{info.job.source.version}}
                 {% endif %}
             </td>
             <td>
@@ -26,8 +25,7 @@
                 {% else %}
                     {{info.job.group.name}}
                 {% endif %}
-            </td>
-            <td>
+                <br />
                 {{info.job.suite.name}}
             </td>
             <td>
diff --git a/templates/source_list_fragment.html b/templates/source_list_fragment.html
index 0d9fdb4..c5cd65e 100644
--- a/templates/source_list_fragment.html
+++ b/templates/source_list_fragment.html
@@ -1,8 +1,7 @@
     <table class = 'zebra'>
         <tr>
             <th>Source</th>
-            <th>Group</th>
-            <th>Suite</th>
+            <th>Group<br />Suite</th>
             <th>Uploader</th>
             <th>Status</th>
         </tr>
@@ -10,7 +9,7 @@
 {% for info in sources_info %}
         <tr>
             <td>
-                <a href='{{info.source_link}}'>{{info.source.name}}/{{info.source.version}}</a>
+                <a href='{{info.source_link}}'>{{info.source.name}}/​{{info.source.version}}</a>
             </td>
             <td>
                 {% if info.group_link %}
@@ -18,8 +17,7 @@
                 {% else %}
                     {{info.source.group.name}}
                 {% endif %}
-            </td>
-            <td>
+                <br />
                 {{info.source.suite.name}}
             </td>
             <td>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-web.git



More information about the Pkg-debile-commits mailing list