summaryrefslogtreecommitdiff
path: root/description.xsl
blob: 56c7be835196a36ae6a2fae05b7b00980477af9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<html>
			<head>
				<style type="text/css">
					html,body {
					font-family:Arial;
					margin: 0px;
					}
					td
					{
					font-size:13px;
					}
					.samplename
					{
					font-size:16px;
					color:#ffffff;
					height:26px;
					background-color:#5a78b1;
					}
					.category
					{
					font-size:16px;
					color:#ffffff;
					height:30px;
					background-color:#5a78b1;
					}
					.contents
					{
					padding: 6px 10px 14px 10px;
					}
					table#widgets td
					{
					border: solid 1px #5a78b1;
					border-collapse: collapse;
					}
					.widgetname
					{
					font-weight: bold;
					text-align: center;
					width: 20%;
					word-break:break-all;
					}
					table#references td
					{
					width: 100%;
					border: 0px;
					border-spacing: 0px;
					padding: 5px;
					}
					.refname
					{
					width: 100%;
					font-weight: bold;
					}
				</style>
			</head>
			<body>
				<table width="380px" border="0" cellspacing="0">
					<tr>
						<td class="samplename" align="center">
							<xsl:value-of select="Overview/SampleName" />
							<xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
						</td>
					</tr>
					<tr bgcolor="#FFFFFF">
						<td class="contents">
							<p>
								<xsl:value-of select="Overview/Description" />
							</p>
						</td>
					</tr>
					<tr bgcolor="#FFFFFF">
						<td class="contents">
							<table width="380px" id="references" cellspacing="0">
								<xsl:for-each select="Overview/TechnologyList/Technology">
									<tr bgcolor="#cfcfcf">
										<td class="refname">
											<xsl:value-of select="Name" />
										</td>
									</tr>
									<tr bgcolor="#f3f3f3">
										<td width="100%">
											<pre>
												<xsl:value-of select="Info" />
											</pre>
										</td>
									</tr>
									<tr bgcolor="#f3f3f3">
										<td width="100%">
											<a href="{Url}" target="_blank">
												<xsl:value-of select="Url" />
											</a>
										</td>
									</tr>
								</xsl:for-each>
							</table>
						</td>
					</tr>
					<tr>
						<td align="center" bgcolor="#FFFFFF" height="260px">
							<img>
								<xsl:attribute name="src">
								    <xsl:value-of select="Overview/Preview" />
								</xsl:attribute>
							</img>
						</td>
					</tr>
				</table>
			</body>
		</html>
	</xsl:template>

</xsl:stylesheet>