Revert "Updated application sources"
[apps/web/sample/Compass.git] / description.xsl
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- 
3     This file provides a functionality to show template's description.xml in the project wizard.
4     Don't delete or move this file.
5  -->
6 <xsl:stylesheet version="1.0"
7  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
8   <xsl:template match="/">
9     <html>
10       <head>
11         <style type="text/css">
12           html,body {
13           font-family:Arial;
14           margin: 0px;
15           }
16           td
17           {
18           font-size:13px;
19           }
20           .samplename
21           {
22           font-size:16px;
23           color:#ffffff;
24           height:26px;
25           background-color:#6d96ac;
26           }
27           .category
28           {
29           font-size:16px;
30           color:#ffffff;
31           height:30px;
32           background-color:#6d96ac;
33           }
34           .contents
35           {
36           padding: 6px 10px 14px 10px;
37           }
38           table#widgets td
39           {
40           border: solid 1px #6d96ac;
41           border-collapse: collapse;
42           }
43           .widgetname
44           {
45           font-weight: bold;
46           text-align: center;
47           width: 20%;
48           word-break:break-all;
49           }
50           table#references td
51           {
52           width: 100%;
53           border: 0px;
54           border-spacing: 0px;
55           padding: 5px;
56           }
57           .refname
58           {
59           width: 100%;
60           font-weight: bold;
61           }
62         </style>
63       </head>
64       <body>
65         <table width="400px" border="0" cellspacing="0">
66           <tr>
67             <td class="samplename" align="center">
68               <xsl:value-of select="Overview/SampleName"/>
69               <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
70                           <!--
71               <xsl:value-of select="Overview/SampleVersion"/>
72                           -->
73             </td>
74           </tr>
75           <tr bgcolor="#FFFFFF">
76             <td class="contents">
77                           <strong>Type</strong>: JavaScript
78                           <p>
79               <xsl:value-of select="Overview/Description"/>
80                           </p>
81             </td>
82           </tr>
83           <tr>
84             <td align="center" bgcolor="#FFFFFF" height="260px">
85               <img>
86                 <xsl:attribute name="src">
87                   <xsl:value-of select="Overview/Preview"/>
88                 </xsl:attribute>
89               </img>
90             </td>
91           </tr>
92         </table>
93       </body>
94     </html>
95   </xsl:template>
96
97 </xsl:stylesheet>