The following commit has been merged in the master branch:
commit 7e5ec899992ad0b94792502ed335f44065b10189
Author: Andreas Tille <[email protected]>
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

_______________________________________________
Blends-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/blends-commit

Reply via email to