Salome HOME
Change titles for command log stylesheets
[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        
29 </head>
30         <body class="def" bgcolor="aliceblue">
31                 <h1><img src="LOGO-SAT.png"/></h1>
32                 <table border="1">
33                         <tr>
34                                 <xsl:for-each select="SATcommand/Site/@*">
35                                         <td bgcolor="LightBlue">
36                                                 <th><xsl:value-of select="name(.)"/></th>
37                                         </td>
38                                 </xsl:for-each>
39                         </tr>
40                         <tr>
41                                 <xsl:for-each select="SATcommand/Site/@*">      
42                                         <td bgcolor="Beige"><xsl:value-of select="."/></td>
43                                 </xsl:for-each>
44                         </tr>
45                 </table>
46                 
47                 <h1>command's internal traces</h1>
48                 <PRE><xsl:value-of select="SATcommand/Log"/></PRE>
49                 
50                 <h1>output</h1>
51                 <xsl:variable name="txtLog">
52                         <xsl:value-of select="SATcommand/OutLog"/>
53                 </xsl:variable>
54                 <iframe src="{$txtLog}" frameborder="0" class="center" width="100%" height="1500000" scrolling="no"></iframe>
55         </body>
56 </xsl:template>
57 </xsl:stylesheet>