Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (57 loc) · 2.03 KB
/
Copy pathindex.html
File metadata and controls
57 lines (57 loc) · 2.03 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
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Matter Browser Example</title>
<script src='./dist/matter.js'></script>
<!-- Replace above script tag with this: -->
<!-- <script src='http://cdn.kyper.io/js/matter/0.0.8/matter.bundle.js'></script> -->
<style type="text/css">
.inputBoxes {
margin:35px;
}
.status-label {
display:inline;
margin-right:30px;
}
</style>
</head>
<body>
<div style="text-align:center;">
<h2>Matter Browser Example</h2>
<h3 class="status-label">Logged In: <span id="status">False</span></h3>
<button onclick="logout()" id="logout-btn">Logout</button>
<div>
<div>
<h3>Login</h3>
<div class="inputBoxes">
<input type="text" name="username" placeholder="username" id="login-username"><br>
<input type="password" name="password" placeholder="password" id="login-password"><br>
</div>
<button onclick="login()">Login</button>
</div>
<div>
<h3>Signup</h3>
<button onclick="signup('google')">Google Signup</button>
<button onclick="signup('facebook')">Facebook Signup</button>
<button onclick="signup('github')">Github Signup</button>
<div class="inputBoxes">
<input type="text" name="username" placeholder="username" id="signup-username"><br>
<input type="text" name="name" placeholder="name" id="signup-name"><br>
<input type="text" name="email" placeholder="email" id="signup-email"><br>
<input type="password" name="password" placeholder="password" id="signup-password"><br>
</div>
<button onclick="signup()">Signup</button>
</div>
<div>
<h3>Recover</h3>
<div class="inputBoxes">
<input type="text" name="username" placeholder="username/email" id="recover"><br>
</div>
<button onclick="recoverAccount()">Login</button>
</div>
</div>
</div>
<script src="./examples/browser/app.js"></script>
</body>
</html>