-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (64 loc) · 3.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/favicon.ico">
<title>Schedule</title>
<link rel="stylesheet" href="/loading.css">
<meta name="description" content="A Schedule Tools, You can create a scheduled task by using the cron string">
</head>
<body dark="text-white bg-hex-121212" overflow-hidden>
<div id="app">
<div class="loading">
<svg class="loading-icon" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24">
<circle cx="12" cy="2" r="0" fill="currentColor">
<animate attributeName="r" begin="0" calcMode="spline" dur="1s"
keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0" />
</circle>
<circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(45 12 12)">
<animate attributeName="r" begin="0.125s" calcMode="spline" dur="1s"
keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0" />
</circle>
<circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(90 12 12)">
<animate attributeName="r" begin="0.25s" calcMode="spline" dur="1s"
keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0" />
</circle>
<circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(135 12 12)">
<animate attributeName="r" begin="0.375s" calcMode="spline" dur="1s"
keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0" />
</circle>
<circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(180 12 12)">
<animate attributeName="r" begin="0.5s" calcMode="spline" dur="1s"
keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0" />
</circle>
<circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(225 12 12)">
<animate attributeName="r" begin="0.625s" calcMode="spline" dur="1s"
keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0" />
</circle>
<circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(270 12 12)">
<animate attributeName="r" begin="0.75s" calcMode="spline" dur="1s"
keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0" />
</circle>
<circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(315 12 12)">
<animate attributeName="r" begin="0.875s" calcMode="spline" dur="1s"
keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0" />
</circle>
</svg>
<span>加载中请稍后</span>
</div>
</div>
<noscript>
<div>Please enable JavaScript to use this application.</div>
</noscript>
<script>
(function () {
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
const setting = localStorage.getItem('color-schema') || 'auto'
if (setting === 'dark' || (prefersDark && setting !== 'light'))
document.documentElement.classList.toggle('dark', true)
})()
</script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>