Homepage: https://theme.roundabout-host.com

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 themes.xsl

View raw Download
text/xml • 6.27 kiB
XML 1.0 document, ASCII text
        
            
1
<?xml version="1.0" encoding="utf-8"?>
2
<xsl:stylesheet
3
version="3.1"
4
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5
xmlns:t="https://theme.roundabout-host.com/"
6
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7
xsi:schemaLocation="https://theme.roundabout-host.com/ https://theme.roundabout-host.com/themes.xsd"
8
>
9
10
<xsl:output method="html" version="5" encoding="UTF-8" indent="yes"/>
11
12
<xsl:template match="/">
13
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
14
<head>
15
<title>Themes List</title>
16
<link rel="stylesheet" href="required.css" />
17
<link rel="stylesheet" href="style.css" defer="defer" />
18
<link rel="stylesheet" href="breadcrumbs.css" defer="defer" />
19
<link rel="stylesheet" href="code.css" defer="defer" />
20
<link rel="stylesheet" href="fonts.css" defer="defer" />
21
<link rel="stylesheet" href="themes.css" defer="defer" />
22
<meta charset="UTF-8" />
23
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
24
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
25
<link rel="icon" href="favicon.ico" />
26
</head>
27
<body>
28
<nav aria-label="breadcrumbs">
29
<ol>
30
<li><a href="index.html">index</a></li>
31
<li><a href="submit.html" aria-current="location">Theme List</a></li>
32
</ol>
33
</nav>
34
<h1>Theme List</h1>
35
<ul id="ThemeList">
36
<xsl:for-each select="t:themes/t:theme">
37
<li>
38
<aside popover="auto" class="theme-list-popover">
39
<xsl:attribute name="id">
40
<xsl:value-of select="t:author"/>-<xsl:value-of select="t:uri"/>
41
</xsl:attribute>
42
<header>
43
<strong>More details on <xsl:value-of select="t:title"/></strong>
44
<button>
45
<xsl:attribute name="popovertarget">
46
<xsl:value-of select="t:author"/>-<xsl:value-of select="t:uri"/>
47
</xsl:attribute>
48
close
49
</button>
50
</header>
51
<xsl:choose>
52
<xsl:when test="t:description">
53
<p>The following note has been attached to this theme:</p>
54
<blockquote><xsl:value-of select="t:description"/></blockquote>
55
</xsl:when>
56
</xsl:choose>
57
<p>This theme is under the license:
58
<xsl:choose>
59
<xsl:when test="t:license/t:uri">
60
<a>
61
<xsl:attribute name="href">
62
<xsl:value-of select="t:license/t:uri"/>
63
</xsl:attribute>
64
<xsl:value-of select="t:license/t:short"/>
65
</a>
66
</xsl:when>
67
<xsl:otherwise>
68
<xsl:value-of select="t:license/t:short"/>
69
</xsl:otherwise>
70
</xsl:choose>
71
.</p>
72
<xsl:choose>
73
<xsl:when test="t:license/t:long">
74
<p>The following is the license given
75
(note: this is only an excerpt or intentionally shortend version):</p>
76
<pre><xsl:value-of select="t:license/t:long"/></pre>
77
</xsl:when>
78
</xsl:choose>
79
80
</aside>
81
<table>
82
<tr>
83
<th
84
class="theme-name" colspan="2"
85
>
86
<big>
87
<xsl:value-of select="t:title"/>
88
</big>
89
</th>
90
<td>
91
<small>
92
<a rel="external">
93
<xsl:attribute name="href">
94
<xsl:value-of select="t:author/@uri"/>
95
</xsl:attribute>
96
<xsl:value-of select="t:author"/>
97
</a>
98
</small>
99
</td>
100
</tr>
101
<tr>
102
<td colspan="2">
103
<a rel="nofollow" class="theme-css-link">
104
<xsl:attribute name="href">
105
themes/<xsl:value-of select="t:uri"/>
106
</xsl:attribute>
107
Theme CSS
108
</a>
109
</td>
110
<td>
111
<button popovertargetaction="toggle">
112
<xsl:attribute name="popovertarget">
113
<xsl:value-of select="t:author"/>-<xsl:value-of select="t:uri"/>
114
</xsl:attribute>
115
INFO
116
</button>
117
</td>
118
</tr>
119
</table>
120
</li>
121
</xsl:for-each>
122
</ul>
123
</body>
124
</html>
125
</xsl:template>
126
127
</xsl:stylesheet>
128