-
Notifications
You must be signed in to change notification settings - Fork 10
/
signup.html
107 lines (107 loc) · 3.92 KB
/
signup.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign up for an account</title>
<script type="text/javascript" src="https://npmcdn.com/[email protected]/dist/parse.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/Parking-Master/Simple-Alert@latest/simplealert.min.js"></script>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
background: #fff;
}
input {
position: relative;
width: 50%;
height: 20px;
padding: 5px;
left: 50%;
margin-left: -25%;
margin-bottom: 50px;
outline: none !important;
border: 2px solid #38b6ff;
background: #fff;
color: #38b6ff;
border-radius: 3px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.15);
}
.swal-modal {
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.15);
}
.swal-modal *, .swal-text {
color: #38b6ff !important;
}
.swal-button {
background: #38b6ff !important;
color: #fff !important;
box-shadow: none !important;
outline: none !important;
}
h1 {
text-align: center;
margin-top: 50px;
}
button#submit {
position: relative;
background: #fff;
height: 40px;
padding: 5px;
display: inline-flex;
text-align: center;
justify-content: center;
align-items: center;
outline: none !important;
width: 50%;
left: 50%;
margin-left: -25%;
cursor: default;
transition: background 1s;
border: 3px solid #38b6ff;
border-radius: 3px;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.24);
transition: box-shadow 1s;
}
button#submit:hover {
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
}
p {
margin-bottom: 100px;
}
a {
color: #25750a;
}
* {
color: #38b6ff;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.24);
}
</style>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-KDN09VRHPS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-KDN09VRHPS");
</script>
</head>
<body>
<script src="userman.js"></script>
<h1 style="position:relative;width:50%;display:inline-flex;align-items:center;text-align:center;justify-content:center;left:50%;margin-left:-25%;">Sign up for <img src="favicon.ico" style="position:relative;width:4%;border-radius:100%;border:2px solid #38b6ff" /></h1>
<p style="text-align:center">Sign up for an account (FPS2)</p>
<label for="username" style="position:relative;left:50%;margin-left:-25%;">Username: (3-12 characters)</label>
<br>
<input id="username" minlength="3" type="text" placeholder="Enter a username..." />
<br>
<label for="password" style="position:relative;left:50%;margin-left:-25%;">Password (7-20 characters):</label>
<br>
<input id="password" minlength="8" type="password" placeholder="Enter a password..." />
<br>
<button onclick="userMan.signUp(document.getElementById('username').value, document.getElementById('password').value, { 'points': 0, 'preferences': 'eyJjdXJyZW50QXJtb3JTZXQiOiJTdGV2ZV9Tb2xkaWVyIiwiY3VycmVudExvYWRvdXRTZXQiOiJBc3NhdWx0X0VhZ2xlIiwiY3VycmVudFBhZ2VUaGVtZSI6IkJsdWUifQ' }, swal, swal, 'login.html')" id="submit">Sign up</button>
<script>
Parse.initialize("Izi3O97u5yYIBD7nzBkFIaWJ38wr8w2Ani3eDgol","FKPsxeAmmINZlZwmPBL0U0dwPzvZGYHVp95jG7G2"),Parse.serverURL="https://parseapi.back4app.com/";
</script>
</body>
</html>