]> SALOME platform Git repositories - tools/sat.git/blobdiff - src/xsl/hat.xsl
Salome HOME
tab to space in command.xsl hat.xsl
[tools/sat.git] / src / xsl / hat.xsl
index 87931fcd123e99447e8c848734f4e658784fee3a..d2e3d817f68c462aa591165aa5085894fe24eda9 100644 (file)
@@ -2,62 +2,63 @@
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:output method="html" />
 <xsl:template match="/">
-       
+  
 <head>  
-    <title>SAlomeTools log</title>
-    <style type="text/css">
-        table       { 
-                      margin:1px;
-                      padding:1px;
-                      border-collapse:collapse;
-                      empty-cells : show;
-                    }
-        td          { vertical-align : center;}
-        h1          { text-align : center; font-style: italic; }
-        .legend     { font-weight : bold;
-                      text-align : center;
-                    } 
-        .def        { font-family: Arial, Verdana, "Times New Roman", Times, serif;}
-        hr.note     { color: #BFBFBF; }
-        .note       { text-align : right; font-style: italic; font-size: small; }
-        div.release { -moz-column-count: 2;
-                      overflow: auto;
-                      max-height: 250px;
-                    }
-    </style>
+  <title>SAlomeTools log</title>
+  <style type="text/css">
+      table       { 
+                    margin: 1px;
+                    padding: 1px;
+                    border-collapse:collapse;
+                    empty-cells : show;
+                  }
+      td          { vertical-align : center; text-align : left; font-size: 15px; padding: 5px;}
+      th          { vertical-align : center; text-align : left; font-weight : bold; font-size: 18px; padding: 10px;}
+      h1          { text-align : center; font-style: italic; }
+      .legend     { font-weight : bold; text-align : center; } 
+      .def        { font-family: monospace, Arial, Verdana, "Times New Roman", Times, serif;}
+      hr.note     { color: #BFBFBF; }
+      .note       { text-align : right; font-style: italic; font-size: small; }
+      div.release { -moz-column-count: 2; overflow: auto; max-height: 250px; }
+  </style>
 </head>
-       <body class="def" bgcolor="aliceblue">
-               <h1><img src="LOGO-SAT.png"/></h1>
-                       <xsl:choose>
-                         <xsl:when test="not(LOGlist/@application='None')">
-                                 <h1>Logs of application <xsl:value-of select="LOGlist/@application"/></h1>
-                         </xsl:when>
-                         <xsl:otherwise>
-                                 <h1>
-                                         General Logs
-                                 </h1>
-                         </xsl:otherwise>
-                       </xsl:choose>
-                       <table border="1">
-                               <tr>
-                               <td width="100px" bgcolor="Beige">Command</td><td width="100px" bgcolor="Beige">date</td><td width="100px" bgcolor="Beige">time</td><td bgcolor="Beige">application</td><td bgcolor="Beige">full command</td>
-                               </tr>
-                               <xsl:for-each select="LOGlist/LogCommand">
-                                       <xsl:sort select="." order="descending" />
-                                       <tr bgcolor="aliceblue" width="2">
-                                               <td>
-                                                       <a title="log">
-                                                               <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
-                                                               <xsl:value-of select="@cmd"/>
-                                                       </a>
-                                               </td>
-                                               <td><xsl:value-of select="@date"/></td>
-                                               <td><xsl:value-of select="@hour"/></td>
-                                               <td><xsl:value-of select="@application"/></td>
-                                               <td><xsl:value-of select="@full_command"/></td>
-                                       </tr>
-                               </xsl:for-each>
-                       </table>
-       </body>
+
+<body class="def" bgcolor="aliceblue">
+  <h1><img src="LOGO-SAT.png"/></h1>
+    <xsl:choose>
+      <xsl:when test="not(LOGlist/@application='None')">
+        <h1>Logs of application <xsl:value-of select="LOGlist/@application"/></h1>
+      </xsl:when>
+      <xsl:otherwise>
+        <h1>
+          General Logs
+        </h1>
+      </xsl:otherwise>
+    </xsl:choose>
+    <table border="1">
+      <tr>
+        <th bgcolor="Beige">Command</th>
+        <th bgcolor="Beige">date</th>
+        <th bgcolor="Beige">time</th>
+        <th bgcolor="Beige">application</th>
+        <th bgcolor="Beige">full command</th>
+      </tr>
+      <xsl:for-each select="LOGlist/LogCommand">
+        <xsl:sort select="." order="descending" />
+        <tr bgcolor="aliceblue" width="2">
+          <td>
+            <a title="log">
+              <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
+              <xsl:value-of select="@cmd"/>
+            </a>
+          </td>
+          <td><xsl:value-of select="@date"/></td>
+          <td><xsl:value-of select="@hour"/></td>
+          <td><xsl:value-of select="@application"/></td>
+          <td><xsl:value-of select="@full_command"/></td>
+        </tr>
+      </xsl:for-each>
+    </table>
+</body>
 </xsl:template>
 </xsl:stylesheet>