-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (30 loc) · 937 Bytes
/
index.html
File metadata and controls
37 lines (30 loc) · 937 Bytes
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
<!DOCTYPE html>
<html lang = "pt-br">
<head>
<meta charset = "utf-8">
<meta name = "viewport" content = "width= device-width, initial-scale=1.0">
<title>appCheckin</title>
<link rel="stylesheet" href = "css.css">
<link rel="manifest" href = "manifest.json">
<head>
<body>
<h1>AppCheckin</h1>
<form id="login-form">
<fieldset>
<input type ="text" id="user-input" placeholder="Login" required><br />
<input type ="password" id="password-input" placeholder="Senha" required>
<button type = "submit">Logar</button>
</fieldset>
</form>
<!--script do service worker-->
<script>
if('serviceWorker' in navigator){
navigator.serviceWorker.register('/service-worker.js')
.then(registration =>
{console.log('Serviço Iniciado - Service Start', registration.scope);})
.catch(error => {console.log('Falha na inicialização do serviço'),error});
}
</script>
<!---->
</body>
</html>