-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
276 lines (275 loc) · 9.58 KB
/
index.html
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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu" />
<title>Steve's Toolkit - Simple, Free, Open-Source Tools</title>
<style>
html {
height:100%;
background-image:linear-gradient(175deg, #00b1ff 200px, white 200px, white);
background-attachment: fixed;
}
body {
font-family: Ubuntu, Arial, sans-serif;
text-align: justify;
text-justify: inter-word;
height: 100%;
width: 100%;
max-width: 800px;
margin: auto;
border:20px transparent solid;
box-sizing: border-box;
font-size: 15px;
-webkit-text-size-adjust: 100%;
}
div#LicencePageTerms {
font-family: Courier, serif;
font-size: 0.8em;
padding: 10px;
border: 1px #DDD solid;
min-height: 200px;
white-space: nowrap;
overflow-x: auto;
}
p {
line-height: 1.5;
}
a {
text-decoration: none;
color: #0000d8;
}
h1 {
font-size: 1.5em;
line-height: 1;
}
h3 {
font-size: 1.2em;
margin: 0px;
}
div#WhitePage {
padding: 20px;
background-color: white;
min-height: 300px;
box-shadow:0px 0px 10px #888;
}
div#TitleBox {
border: 1px #444 solid;
padding: 20px;
height: 150px;
font-size: 3em;
display: block;
position: relative;
}
div,h1,h2,h3,h4,h5,h6,em,p {
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid
}
div#ElementsContainer {
column-width:200px;
column-rule:0px;
column-gap:20px;
margin-top:20px;
}
div.Element {
color:#555;
padding:20px;
border:1px #888 solid;
transition:background-color 0.5s;
box-sizing: border-box;
}
div.Element div.ElementImage {
opacity:0.5;
height:75px;background-image:url('assets/WoL.gif');background-size: cover;opacity:0.5
}
div.Element:hover div.ElementImage {
opacity:1;
}
div.Element h4 {
text-align: center;
font-size: 1.3em;
margin:10px 0px 20px 0px;
}
div#Disclaimer {
background-color: #DDD;
padding:20px;
margin-top:20px;
}
div#Disclaimer table tr td {
vertical-align: top;
}
table.Tool td {
padding:20px
}
p.LicenceNotice {
font-size: 0.7em;
text-align: center;
color:#444;
line-height: 1;
margin-top: 0;
}
table.Footer {
padding: 20px 0px 10px 0px;
color: #888;
font-size: 0.8em;
width: 100%;
}
table.Footer td:nth-child(2) {
text-align: right;
}
table.Footer td:nth-child(2) a {
margin-left: 15px;
color: inherit;
}
table.Footer td:nth-child(2) a:hover {
color:#444;
text-decoration: underline;
}
table.Footer td:nth-child(2) a:active {
color:#444;
text-decoration: none;
}
@keyframes ShowPage {
0% {display:none;opacity:0}
49% {display:none;opacity:0}
50% {display:inline;opacity:0}
100% {display:inline;opacity:1}
}
div.Page {animation-name:ShowPage;animation-duration:0.5s}
div.HiddenPage {display:none}
a.ToolButton {
display: inline-block;
background-color: #00b1ff;
color: white;
text-align:center;
border: 1px #0195d6 solid;
border-radius: 5px;
margin: 10px 5px;
padding: 10px 15px;
}
a.ToolButton:hover {
background-color: #0195d6;
}
table.Tool {
margin-top: 20px;
width: 100%;
border: 1px #DDD solid;
}
table.Tool tr {
display: table;
width: 100%;
}
table.Tool tr td {
display: table-row;
vertical-align: top;
}
table.Tool td:nth-child(2) {
background-color: #DDD;
text-align: center;
}
@media only screen and (min-width: 600px) {
a.ToolButton {
display: block;
}
table.Tool tr td {
display: table-cell;
}
table.Tool td:nth-child(2) {
width: 150px;
display: table-cell;
}
}
</style>
<script type="text/javascript">
var CurrentPageID = 'Home';
function ShowPage(PageID) {
if(PageID != CurrentPageID) {
document.getElementById(CurrentPageID+"Page").setAttribute("class","HiddenPage");
document.getElementById(PageID+"Page").setAttribute("class","Page");
CurrentPageID = PageID;
document.documentElement.scrollTop = 0;
document.body.scrollTop = 0;
}
}
function ShowLicence(ToolID) {
ShowPage('Licence');
switch (ToolID) {
case "AllTimes":
var ToolName = "@AllTimes";
var LicenceName = "GNU General Public License (version 3)";
var LicenceURL = "https://leesteve.tk/AllTimes/LICENSE";
break;
case "WoL":
var ToolName = "WoL.sh";
var LicenceName = "MIT License";
var LicenceURL = "https://leesteve.tk/WoL.sh/LICENSE";
break;
}
document.getElementById('LicencePageToolName').innerHTML = ToolName;
document.getElementById('LicencePageLicenceName').innerHTML = LicenceName;
document.getElementById('LicencePageTerms').innerHTML = 'Fetching from '+LicenceURL+'...';
var ajaxRequest = new XMLHttpRequest();
ajaxRequest.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById('LicencePageTerms').innerHTML = ajaxRequest.responseText.replace(/</g, "<").replace(/>/g, ">").replace(/\n/g, "<br />");
}
};
ajaxRequest.open("GET", LicenceURL, true);
ajaxRequest.send();
}
</script>
</head>
<body>
<div id="WhitePage">
<div id="HomePage" class="Page">
<div id="ShortLegal">IMPORTANT: We disclaim any liability whatsoever, please see our <a href="javascript:ShowPage('Legal')">Legal Notice</a> for details.
</div>
<table class="Tool" id="AllTimes">
<tr>
<td>
<h3>@AllTimes</h3>
<p>Multi-threaded timer and stopwatch</p>
<p><a href="./AllTimes/" target="_blank">Homepage</a> • <a href="https://github.com/leestevetk/AllTimes" target="_blank">GitHub</a></p>
</td>
<td>
<a href="./AllTimes/releases/AtAllTimes-0.4.0.html" class="ToolButton" target="_blank">Launch</a>
<a href="./AllTimes/releases/AtAllTimes-0.4.0.zip" class="ToolButton" target="_blank">Download</a>
<p class="LicenceNotice">By proceeding you accept the <a href="javascript:ShowLicence('AllTimes')">applicable licence</a>.</p>
</td>
</tr>
</table>
<table class="Tool" id="WoL">
<tr>
<td>
<h3>WoL.sh</h3>
<p>Simple Wake-On-LAN shell script for Mac/Linux</p>
<p><a href="./WoL.sh/" target="_blank">Homepage</a> • <a href="https://github.com/leestevetk/WoL.sh" target="_blank">GitHub</a></p>
<td>
<a href="https://github.com/leestevetk/WoL.sh/releases/download/v0.1/WoL.sh" class="ToolButton" target="_blank">Download</a>
<p class="LicenceNotice">By proceeding you accept the <a href="javascript:ShowLicence('WoL')">applicable licence</a>.</p>
</td>
</tr>
</table>
</div>
<div id="LegalPage" class="HiddenPage">
<a href="javascript:ShowPage('Home')">Return to homepage</a>
<h1>LEGAL NOTICE</h1>
<p>Your use of this website and any content thereof is governed by the laws of the Hong Kong Special Administrative Region of the People's Republic of China <b>("Hong Kong")</b>. You irrevocably agree that the courts of Hong Kong shall enjoy exclusive jurisdiction over, and that the courts of Hong Kong is the most appropriate and convenient forum for resolving, any disputes or claims arising in or out of the course of your usage of this website and any content thereof.</p>
<p><b>WE HEREBY DISCLAIM ANY LIABILITY</b>, whether damages or otherwise, arising in or out of the course of our operation and/or your usage of this website and/or any content therein, to the extent that is legally permissible; provided that insofar the Control of Exemption Clauses Ordinance (Cap. 71 of the Laws of Hong Kong) is applicable to the construction of this document, the foregoing disclaimer shall not apply to liability for death or personal injuries resulting from negligence.</p>
</div>
<div id="LicencePage" class="HiddenPage">
<a href="javascript:ShowPage('Home')">Return to homepage</a>
<h1>LICENCE</h1>
<p><span id="LicencePageToolName">[Tool]</span> is licensed under the <span id="LicencePageLicenceName">[Licence]</span>, a copy of which is displayed below:</p>
<div id="LicencePageTerms"></div>
</div>
</div>
<table class="Footer">
<tr>
<td>© 2020 Steve's Toolkit</td>
<td><a href="javascript:ShowPage('Legal')">Legal Notice</a><a href="https://github.com/leestevetk">GitHub</a></td>
</tr>
</table>
</body>
</html>