[Blends-commit] [SCM] website branch, master, updated. fe9181d1f0391c34bd2cf8bf2b2451d20cac4025

Andreas Tille tille at debian.org
Wed Jul 10 13:52:01 UTC 2013


The following commit has been merged in the master branch:
commit 7e5ec899992ad0b94792502ed335f44065b10189
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jul 10 15:49:39 2013 +0200

    Color legend imitating data table

diff --git a/webtools/templates/thermometer.xhtml b/webtools/templates/thermometer.xhtml
index d0cc4e8..7b07d89 100644
--- a/webtools/templates/thermometer.xhtml
+++ b/webtools/templates/thermometer.xhtml
@@ -24,17 +24,16 @@
   <td class="left">
     <span class="section">$summary</span>
     <div class="section">
-      <div class="sectionTop"></div>
+      <div class="sectionTop"/>
       <div class="row">${idxsummary}</div>
     </div>
     <span class="section">Color legend</span>
     <div class="section">
-      <div class="sectionTop">
-        <table border="1">
+      <div class="sectionTop"/>
+      <div class="row">
+        <table class='pkg'>
           <py:for each="leg in legend">
-            <tr><td><table class='pkg'><tr class='${leg[0]}'><td></td></tr></table></td>
-                <td><small>${leg[1]}</small></td>
-            </tr>
+            <tr class='${leg[0]}'><td>${leg[1]}</td></tr>
           </py:for>
         </table>
       </div>
diff --git a/webtools/templates/uthermometer.xhtml b/webtools/templates/uthermometer.xhtml
index 9db281b..3bd0020 100644
--- a/webtools/templates/uthermometer.xhtml
+++ b/webtools/templates/uthermometer.xhtml
@@ -24,17 +24,16 @@
   <td class="left">
     <span class="section">$summary</span>
     <div class="section">
-      <div class="sectionTop"></div>
+      <div class="sectionTop"/>
       <div class="row">${idxsummary}</div>
     </div>
     <span class="section">Color legend</span>
     <div class="section">
-      <div class="sectionTop">
-        <table border="1">
+      <div class="sectionTop"/>
+      <div class="row">
+        <table class='pkg'>
           <py:for each="leg in legend">
-            <tr><td><table class='pkg'><tr class='${leg[0]}'><td></td></tr></table></td>
-                <td><small>${leg[1]}</small></td>
-            </tr>
+            <tr class='${leg[0]}'><td>${leg[1]}</td></tr>
           </py:for>
         </table>
       </div>

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list