-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (47 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Fire Authenticator PWA">
<meta name="keywords" content="Fire PWA, OAuth">
<meta name="theme-color" content="#f7630c">
<meta name="description" content="Fire OAuthenticator PWA">
<link rel="manifest" href="/manifest.json">
<title>Fire OAuthenticator</title>
<link rel="stylesheet" href="/assets/css/home.css">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<script>if(window.location.hostname !== 'localhost') {if (location.protocol !== 'https:') {location.replace(`https:${location.href.substring(location.protocol.length)}`)}};</script>
</head>
<body>
<div class="loading">
<img src="/assets/images/loading.gif" alt="Loading">
</div>
<div class="wrapper">
<div class="firstPart">
<div class="userCard centering">
</div>
</div>
<div class="secondPart">
<div class="newApiButtonContainer">
<a href="./new.html"><button class="registerAPI">Get a new API</button></a>
<button class="registerAPI logout">Logout</button>
</div>
<div class="allApiContainer"></div>
</div>
</div>
<script src="/assets/js/lovefield.js"></script>
<script src="/assets/js/pure.js"></script>
<script src="/assets/js/home.js"></script>
<script>
if('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('serviceworker.js')
.then((reg) => console.log('Success: ', reg.scope))
.catch((err) => console.log('Failure: ', err));
})
}
</script>
</body>
</html>