-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.xsl
214 lines (150 loc) · 6.93 KB
/
index.xsl
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.0">
<xsl:output method="html" version="4"/>
<!-- File name: index.xsl
Copyright 2021, 2024 5 Mode
This file is part of Shifu Page.
Shifu Page is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Shifu Page is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Shifu Page. If not, see <https://www.gnu.org/licenses/>.
index.xsl
Shifu Page stylesheet.
@author Daniele Bonini <my25mb@aol.com>
@copyrights (c) 2021, 2024, 5 Mode
-->
<xsl:template match="CONTENT">
<HTML>
<HEAD>
<TITLE>My artisans with desc and contact, ..</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
<meta name="description" content="Welcome to my artisan page!"/>
<link rel="shortcut icon" href="/res/favicon.ico"/>
<link href="/css/style.css" type="text/css" rel="stylesheet"></link>
<script src="/js/jquery-3.6.0.min.js" type="text/javascript"></script>
<script>
<![CDATA[
]]>
</script>
</HEAD>
<BODY style="background-color:#FFFFFF">
<div id="HCsplash" style="padding-top: 160px; text-align:center;color:#ffffff;display:none;">
<div id="myh1"><H1>Shifu Page</H1></div><br/>
<img src="/res/logo.png" style="width:310px;"/>
</div>
<div id="content" style="max-height:350px;display:none;" align="center">
<div class="header">
<a id="burger-menu" href="#" style="display:none;"><img src="/res/burger-menu2.png" style="width:58px;"/></a><a id="ahome" href="/" target="_blank" style="color:black; text-decoration: none;"><img id="logo-secc" src="/res/logo.png" style="width:48px;vertical-align:middle;"/>  Shifu Page</a>             <a id="agithub" href="https://github.com/par7133/Shifu" style="color:#000000"><span style="color:#119fe2">on</span> github</a>            <a id="afeedback" href="mailto:posta@elettronica.lol" style="color:#000000"><span style="color:#119fe2">for</span> feedback</a>          <a id="asupport" href="tel:+39-378-0812391" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:black;height:27px;text-decoration:none;">    get support    </a>
</div>
<br/><br/><br/><br/><br/>
<table border="0" style="width:80%; max-width:550px;">
<xsl:for-each select="LINK[TYPE='artisan']">
<xsl:sort select="INDEX" data-type="number" order="ascending"/>
<tr>
<td halign="center" style="max-height:120px; text-align:left; border-bottom: 3px solid transparent;">
<p align="left" style="border: 1px solid lightgray; border-bottom: 0px solid lightgray; padding:10px; font-size:11px;">
<img>
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="src"><xsl:value-of select="IMAGE/ADDRESS"/></xsl:attribute>
<xsl:attribute name="width"><xsl:value-of select="IMAGE/WIDTH"/></xsl:attribute>
<xsl:attribute name="height">120px</xsl:attribute>
<xsl:attribute name="style">float:left;margin:12px;</xsl:attribute>
</img>
<br/>
<b>Name:</b>   <i><xsl:value-of select="NAME"/></i><br/>
<b>Gender:</b>   <xsl:value-of select="GENDER"/><br/>
<b>Mansion:</b>   <xsl:value-of select="PROFESSION"/><br/>
<br/>
<xsl:value-of select="DESC"/> 
<a>
<xsl:attribute name="target">_self</xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="URI"/></xsl:attribute>
Contact
</a>
<br/><br/>
</p>
</td>
</tr>
</xsl:for-each>
<tr>
<td halign="center" style="text-align:center;">
<br/><br/>
<br/><br/>
<SPAN STYLE="font-family: sans-serif; color: #000000; font-size: 9px;">
<![CDATA[
Copyrights
]]>
</SPAN>
<a>
<xsl:attribute name="target">_blank</xsl:attribute>
<xsl:attribute name="style">font-family: sans-serif; color: #000000; font-size: 9px</xsl:attribute>
<xsl:attribute name="href">http://5mode.com</xsl:attribute>
<xsl:attribute name="title">5 Mode</xsl:attribute>
5 Mode
</a>
<SPAN STYLE="font-family: sans-serif; color: #000000; font-size: 9px;">
<![CDATA[
2021, 2024 - All rights reserved
]]>
</SPAN>
<br/><br/>
<a>
<xsl:attribute name="target">_blank</xsl:attribute>
<xsl:attribute name="href">http://5mode.com</xsl:attribute>
<xsl:attribute name="title">5 Mode</xsl:attribute>
<img >
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="src">/res/5mode.png</xsl:attribute>
<xsl:attribute name="width">80</xsl:attribute>
<xsl:attribute name="height"></xsl:attribute>
</img>
</a>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
</td>
</tr>
</table>
</div>
<script>
<![CDATA[
function hideTitle() {
$("#myh1").hide("slow");
}
function startApp() {
$("#HCsplash").hide("slow");
$(document.body).css("background","#ffffff");
$("#content").show();
}
window.addEventListener("load", function() {
$(document.body).css("background","#ffffff");
$("#HCsplash").css("color","#000000");
$("#HCsplash").show("slow");
setTimeout("hideTitle()", 2000);
setTimeout("startApp()", 4000);
}, true);
window.addEventListener("load", function() {
if (window.innerWidth<850) {
$("p").css("font-size","1.5vw");
} else {
$("p").css("font-size","11px");
}
}, true);
window.addEventListener("resize", function() {
if (window.innerWidth<850) {
$("p").css("font-size","1.5vw");
} else {
$("p").css("font-size","11px");
}
}, true);
]]>
</script>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>