-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (47 loc) · 2.16 KB
/
index.html
File metadata and controls
61 lines (47 loc) · 2.16 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Represents metadata that allows developer to take control over viewport. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>FirebaseWebAuth</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<!-- My CSS -->
<link href="styles.css" rel="stylesheet">
<!-- Firebase JavaScript SDK -->
<script src="https://www.gstatic.com/firebasejs/5.4.1/firebase.js"></script>
</head>
<body>
<!-- Container for all elements. -->
<div class="container">
<!-- Sign in form -->
<div class="form-signin text-center">
<h2>Firebase Web Authentication</h2>
<!-- Email address label and input element -->
<label for="txtEmail" class="sr-only">Email address</label>
<input id="txtEmail" type="email" class="form-control" placeholder="Email address" required autofocus>
<!-- Password label and input element -->
<label for="txtPassword" class="sr-only">Password</label>
<input id="txtPassword" type="password" class="form-control" placeholder="Password" required>
<!-- Remember me element -->
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me"> Remember me
</label>
</div>
<!-- Log in button -->
<button id="btnLogin" class="btn btn-lg btn-primary btn-block">Log in</button>
<!-- Sign up button -->
<button id="btnSignup" class="btn btn-lg btn-success btn-block">Sign up</button>
<!-- Log out button -->
<button id="btnLogout" class="btn btn-lg btn-danger btn-block hide">Log out</button>
</div>
</div>
<!-- Application code -->
<script src="app.js"></script>
</body>
</html>