← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5443: Web api, moved table styling from templates to css

 

------------------------------------------------------------
revno: 5443
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-12-15 20:34:24 +0100
message:
  Web api, moved table styling from templates to css
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/attributeType.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/category.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryCombo.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOption.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOptionCombo.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/chart.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElement.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroup.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroupSet.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataSet.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/document.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/html-wrapper.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicator.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroup.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroupSet.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorType.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/list.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/map.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnit.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroup.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroupSet.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/report.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/reportTable.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/resource.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/sqlView.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/user.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRule.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRuleGroup.xsl


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/attributeType.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/attributeType.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/attributeType.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="attributeType">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/category.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/category.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/category.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="category">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -29,7 +29,7 @@
 
   <xsl:template match="d:category" mode="short">
     <h3>Category</h3>
-    <table border="1" class="category">
+    <table class="category">
       <xsl:apply-templates select="." mode="row"/>
     </table>
   </xsl:template>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryCombo.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryCombo.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryCombo.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="categoryCombo">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOption.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOption.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOption.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="categoryOption">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -30,7 +30,7 @@
   <xsl:template match="d:categoryOptions" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>CategoryOptions</h3>
-      <table border="1" class="categoryOptions">
+      <table class="categoryOptions">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOptionCombo.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOptionCombo.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOptionCombo.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="categoryOptionCombo">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -30,7 +30,7 @@
   <xsl:template match="d:categoryOptionCombos" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>CategoryOptionCombos</h3>
-      <table border="1" class="categoryOptionCombos">
+      <table class="categoryOptionCombos">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>
@@ -39,7 +39,7 @@
   <xsl:template match="d:optionCombos" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>OptionCombos</h3>
-      <table border="1" class="optionCombos">
+      <table class="optionCombos">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/chart.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/chart.xsl	2011-12-15 16:24:21 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/chart.xsl	2011-12-15 19:34:24 +0000
@@ -11,7 +11,7 @@
 
       <h3>Details</h3>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id"/> </td>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElement.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElement.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElement.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="dataElement">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -57,7 +57,7 @@
   <xsl:template match="d:dataElements" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>DataElements</h3>
-      <table border="1" class="dataElements">
+      <table class="dataElements">
         <xsl:apply-templates mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroup.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroup.xsl	2011-12-07 16:03:19 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroup.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="dataElementGroup">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -30,7 +30,7 @@
   <xsl:template match="d:dataElementGroups" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>DataElementGroups</h3>
-      <table border="1" class="dataElementGroups">
+      <table class="dataElementGroups">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroupSet.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroupSet.xsl	2011-12-07 16:03:19 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroupSet.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="dataElementGroupSet">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataSet.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataSet.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataSet.xsl	2011-12-15 19:34:24 +0000
@@ -9,7 +9,7 @@
       <h2>
         <xsl:value-of select="@name" />
       </h2>
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -45,7 +45,7 @@
   <xsl:template match="d:dataSets" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>DataSets</h3>
-      <table border="1" class="dataSets">
+      <table class="dataSets">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/document.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/document.xsl	2011-12-14 15:28:36 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/document.xsl	2011-12-15 19:34:24 +0000
@@ -7,7 +7,7 @@
   <xsl:template match="d:document">
     <div class="document">
       <h2> <xsl:value-of select="@name" /> </h2>
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/html-wrapper.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/html-wrapper.xsl	2011-12-14 14:40:02 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/html-wrapper.xsl	2011-12-15 19:34:24 +0000
@@ -10,6 +10,19 @@
     <html>
       <head>
         <title>DHIS Web-API</title>
+		<style type="text/css">
+		html {
+		  font-family: sans-serif;
+		  font-size: 12pt;
+		}
+		table {
+		  border-collapse:collapse;
+		}
+		table,th,td {
+		  border: 1px solid #c0c0c0;
+		  padding: 3px;
+		}
+		</style>
         <!-- stylesheets, javascript etc -->
       </head>
 

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicator.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicator.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicator.xsl	2011-12-15 19:34:24 +0000
@@ -9,7 +9,7 @@
       <h2>
         <xsl:value-of select="@name" />
       </h2>
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -61,7 +61,7 @@
   <xsl:template match="d:indicators" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>Indicators</h3>
-      <table border="1" class="indicators">
+      <table class="indicators">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroup.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroup.xsl	2011-12-07 16:03:19 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroup.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="indicatorGroup">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -30,7 +30,7 @@
   <xsl:template match="d:indicatorGroups" mode="short" >
     <xsl:if test="count(child::*) > 0">
       <h3>Indicator Groups</h3>
-      <table border="1" class="indicatorGroups">
+      <table class="indicatorGroups">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroupSet.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroupSet.xsl	2011-12-07 16:03:19 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroupSet.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="indicatorGroupSet">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorType.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorType.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorType.xsl	2011-12-15 19:34:24 +0000
@@ -9,7 +9,7 @@
       <h2>
         <xsl:value-of select="@name" />
       </h2>
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/list.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/list.xsl	2011-12-15 12:26:12 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/list.xsl	2011-12-15 19:34:24 +0000
@@ -15,7 +15,7 @@
     d:sqlViews|d:validationRules|d:validationRuleGroups|d:users|d:reportTables">
     <h3> <xsl:value-of select="local-name()"/> </h3>
 
-    <table border="1">
+    <table>
       <xsl:apply-templates select="child::*" mode="row"/>
     </table>
   </xsl:template>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/map.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/map.xsl	2011-12-07 14:04:35 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/map.xsl	2011-12-15 19:34:24 +0000
@@ -9,7 +9,7 @@
 
       <h3>Details</h3>
 
-      <table border="1">
+      <table>
         <xsl:for-each select="attribute::*">
           <tr><td><xsl:value-of select="local-name()"/></td><td><xsl:value-of select="."/></td></tr>
         </xsl:for-each>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnit.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnit.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnit.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="organisationUnit">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -56,7 +56,7 @@
   <xsl:template match="d:organisationUnits" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>OrganisationUnits</h3>
-      <table border="1">
+      <table>
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>
@@ -64,7 +64,7 @@
   
   <xsl:template match="d:parent" mode="short">
     <h3>Parent OrganisationUnit</h3>
-    <table border="1">
+    <table>
       <xsl:apply-templates select="." mode="row"/>
     </table>
   </xsl:template>
@@ -72,7 +72,7 @@
   <xsl:template match="d:dataSets">
     <xsl:if test="count(child::*) > 0">
       <h3>DataSets</h3>
-      <table border="1" class="dataSets">
+      <table class="dataSets">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroup.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroup.xsl	2011-12-07 16:03:19 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroup.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="organisationUnitGroup">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -30,7 +30,7 @@
   <xsl:template match="d:organisationUnitGroups" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>OrganisationUnit Groups</h3>
-      <table border="1" class="organisationUnitGroups">
+      <table class="organisationUnitGroups">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroupSet.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroupSet.xsl	2011-12-07 16:03:19 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroupSet.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
     <div class="organisationUnitGroupSet">
       <h2> <xsl:value-of select="@name" /> </h2>
 
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/report.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/report.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/report.xsl	2011-12-15 19:34:24 +0000
@@ -9,7 +9,7 @@
       <h2>
         <xsl:value-of select="@name" />
       </h2>
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/reportTable.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/reportTable.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/reportTable.xsl	2011-12-15 19:34:24 +0000
@@ -9,7 +9,7 @@
       <h2>
         <xsl:value-of select="@name" />
       </h2>
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -54,7 +54,7 @@
 
   <xsl:template match="d:reportParams" mode="short">
     <h3>ReportParams</h3>
-    <table border="1" class="reportParams">
+    <table class="reportParams">
       <tr>
         <td>ParamGrandParentOrganisationUnit</td>
         <td> <xsl:value-of select="d:paramGrandParentOrganisationUnit" /> </td>
@@ -77,7 +77,7 @@
   <xsl:template match="d:reportTables" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>ReportTables</h3>
-      <table border="1" class="reportTables">
+      <table class="reportTables">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/resource.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/resource.xsl	2011-12-15 12:26:12 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/resource.xsl	2011-12-15 19:34:24 +0000
@@ -7,7 +7,7 @@
   <xsl:template match="d:resources" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>Resources</h3>
-      <table border="1">
+      <table>
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/sqlView.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/sqlView.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/sqlView.xsl	2011-12-15 19:34:24 +0000
@@ -9,7 +9,7 @@
       <h2>
         <xsl:value-of select="@name" />
       </h2>
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/user.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/user.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/user.xsl	2011-12-15 19:34:24 +0000
@@ -8,7 +8,7 @@
       <h2>
         <xsl:value-of select="@name" />
       </h2>
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -46,7 +46,7 @@
   <xsl:template match="d:users" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>Users</h3>
-      <table border="1" class="users">
+      <table class="users">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRule.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRule.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRule.xsl	2011-12-15 19:34:24 +0000
@@ -9,7 +9,7 @@
       <h2>
         <xsl:value-of select="@name" />
       </h2>
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -42,7 +42,7 @@
 
   <xsl:template match="d:leftSide" mode="short">
     <h3>LeftSide Expression</h3>
-    <table border="1" class="expression">
+    <table class="expression">
       <tr>
         <td>Description</td>
         <td> <xsl:value-of select="d:description" /> </td>
@@ -56,7 +56,7 @@
 
   <xsl:template match="d:rightSide" mode="short">
     <h3>RightSide Expression</h3>
-    <table border="1" class="expression">
+    <table class="expression">
       <tr>
         <td>Description</td>
         <td> <xsl:value-of select="d:description" /> </td>
@@ -71,7 +71,7 @@
   <xsl:template match="d:validationRules" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>ValidationRules</h3>
-      <table border="1" class="validationRules">
+      <table class="validationRules">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRuleGroup.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRuleGroup.xsl	2011-12-14 10:03:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRuleGroup.xsl	2011-12-15 19:34:24 +0000
@@ -9,7 +9,7 @@
       <h2>
         <xsl:value-of select="@name" />
       </h2>
-      <table border="1">
+      <table>
         <tr>
           <td>ID</td>
           <td> <xsl:value-of select="@id" /> </td>
@@ -35,7 +35,7 @@
   <xsl:template match="d:validationRuleGroups" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>ValidationRuleGroups</h3>
-      <table border="1" class="validationRuleGroups">
+      <table class="validationRuleGroups">
         <xsl:apply-templates select="child::*" mode="row"/>
       </table>
     </xsl:if>