-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
83 lines (76 loc) · 2.97 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
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Der wahre Walter</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./styles.css" />
<link rel="canonical" href="https://broesmel.github.io/der-wahre-walter/" />
<link rel="manifest" href="./site.webmanifest">
<meta name="theme-color" content="#ffffff" />
<link rel="shortcut icon" href="public/favicon.ico" type="image/x-icon">
<link rel="icon" href="public/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="public/apple-touch-icon.png">
<link rel="android-chrome-192x192" type="image/png" sizes="192x192" href="public/android-chrome-192x192.png">
<link rel="android-chrome-512x512" type="image/png" sizes="512x512" href="public/android-chrome-512x512.png">
<link rel="favicon-16x16" type="image/png" sizes="16x16" href="public/favicon-16x16.png">
<link rel="favicon-32x32" type="image/png" sizes="16x16" href="public/favicon-32x32.png">
<meta name="pwa-capable" content="yes">
<script type="application/javascript">
// PWA
if ("serviceWorker" in navigator) {
navigator.serviceWorker
.register("./service-worker.js")
.then((registration) => {
registration.addEventListener("updatefound", () => {
// If updatefound is fired, it means that there's
// a new service worker being installed.
const installingWorker = registration.installing;
console.log(
"A new service worker is being installed:",
installingWorker,
);
// You can listen for changes to the installing service worker's
// state via installingWorker.onstatechange
});
})
.catch((error) => {
console.error(`Service worker registration failed: ${error}`);
});
} else {
console.error("Service workers are not supported.");
}
</script>
<script type="text/javascript" src="./js/cookies.js"></script>
<script type="module" src="./js/cards.js"></script>
</head>
<body>
<!--
<p class="bold" id="spruch"> ich bin der wahre walter. </p> hehe
<button onclick="we_want_change()"> change something </button>
-->
<div class="container">
<div class="card text-left">
<div class="card-body">
<div class="card-text" id="current_card"></div>
</div>
</div>
<div class="row">
<div class="col">
<button type="button" id="btn-prev" class="btn prev">
<code> <-prev </code>
</button>
</div>
<div class="col text-center">
<button type="button" id="btn-flip" class="btn flip btn-light" style="display:none">
<code> ⭞flip⭜ </code>
</button> <!-- ⟳ -->
</div>
<div class="col">
<button type="button" id="btn-next" class="btn next float-right">
<code> next-> </code>
</button>
</div>
</div>
</div>
</body>
</html>