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" />
4 <!-- encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>-->
5 <xsl:template match="/">
8 <title>SAlomeTools log</title>
9 <style type="text/css">
13 border-collapse:collapse;
16 td { vertical-align : center; padding: 10px; }
17 h1 { text-align : center; font-style: italic; font-size: 20px; }
18 .legend { font-weight : bold; text-align : center; }
19 .def { font-family: monospace, Arial, Verdana, "Times New Roman", Times, serif;}
20 hr.note { color: #BFBFBF; }
21 .note { text-align : right; font-style: italic; font-size: small; }
22 div.release { -moz-column-count: 2; overflow: auto; max-height: 250px; }
23 .OK2 { color:#00AA00; }
24 .KO2 { color:#FF0000; }
26 <script language="JavaScript"><![CDATA[
28 var element = document.getElementById(id);
30 if ( element.style.display == "none" )
31 element.style.display = "block";
33 element.style.display = "none";
39 <body class="def" bgcolor="aliceblue">
40 <h1><img src="LOGO-SAT.png"/></h1>
43 <xsl:for-each select="SATcommand/Site/@*">
44 <td bgcolor="LightBlue">
45 <b><xsl:value-of select="name(.)"/></b>
50 <xsl:for-each select="SATcommand/Site/@*">
51 <td bgcolor="Beige"><xsl:value-of select="."/></td>
56 <h1>command's internal traces
58 <xsl:attribute name="onclick">javascript:Toggle('log')</xsl:attribute>
59 <xsl:attribute name="title">Click to expand or collapse the command log</xsl:attribute>
64 <div style="display:none"><xsl:attribute name="id">log</xsl:attribute>
65 <PRE><xsl:value-of select="SATcommand/Log"/></PRE>
70 <xsl:for-each select="SATcommand/Links/link">
73 <xsl:if test="@passed='0'">
75 <xsl:attribute name="title">Click for more information</xsl:attribute>
76 <xsl:attribute name="class">OK2</xsl:attribute>
77 <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
78 <xsl:value-of select="@command"/>
81 <xsl:if test="@passed!='0'">
83 <xsl:attribute name="title">Click for more information</xsl:attribute>
84 <xsl:attribute name="class">KO2</xsl:attribute>
85 <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
86 <xsl:value-of select="@command"/>
90 <td bgcolor="LightBlue">
91 <xsl:value-of select="@launchedCommand"/>
100 <xsl:attribute name="title">Click to open in an editor</xsl:attribute>
101 <xsl:attribute name="href"><xsl:value-of select="SATcommand/OutLog"/></xsl:attribute>
102 <xsl:attribute name="download"><xsl:value-of select="SATcommand/OutLog"/></xsl:attribute>
106 <xsl:variable name="txtLog">
107 <xsl:value-of select="SATcommand/OutLog"/>
109 <iframe src="{$txtLog}" frameborder="0" class="center" width="98%" height="600" scrolling="yes"></iframe>
110 <!--<iframe src="{$txtLog}" frameborder="0" class="center" width="98%" height="600" scrolling="yes"></iframe>-->