Salome HOME
76c3c489002673ae9b36d88ac3b5ee1fdebceac3
[tools/sat.git] / src / xsl / command.xsl
1 <?xml version="1.0" encoding="utf-8"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <xsl:output method="html" /> <!-- encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>-->
4 <xsl:template match="/">
5         
6 <head>  
7     <title>SAlomeTools log</title>
8     <style type="text/css">
9         table       { width : 100%;
10                       margin:1px;
11                       padding:1px;
12                       border-collapse:collapse;
13                       empty-cells : show;
14                     }
15         td          { vertical-align : center; padding: 15px; }
16         h1          { text-align : center; }
17         .legend     { font-weight : bold;
18                       text-align : center;
19                     } 
20         .def        { font-family: Arial, Verdana, "Times New Roman", Times, serif;}
21         hr.note     { color: #BFBFBF; }
22         .note       { text-align : right; font-style: italic; font-size: small; }
23         div.release { -moz-column-count: 2;
24                       overflow: auto;
25                       max-height: 250px;
26                     }
27     </style>
28 </head>
29         <body class="def" bgcolor="aliceblue">
30                 <h1><img src="LOGO-SAT.png"/></h1>
31                 <table border="1">
32                         <tr>
33                                 <xsl:for-each select="SATcommand/Site/@*">
34                                         <td bgcolor="LightBlue">
35                                                 <th><xsl:value-of select="name(.)"/></th>
36                                         </td>
37                                 </xsl:for-each>
38                         </tr>
39                         <tr>
40                                 <xsl:for-each select="SATcommand/Site/@*">      
41                                         <td bgcolor="Beige"><xsl:value-of select="."/></td>
42                                 </xsl:for-each>
43                         </tr>
44                 </table>
45                 <h1>command's traces :</h1>
46                 <PRE><xsl:value-of select="SATcommand/Log"/></PRE>
47         </body>
48 </xsl:template>
49 </xsl:stylesheet>