-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaccountSettings.html
More file actions
134 lines (132 loc) · 6.57 KB
/
accountSettings.html
File metadata and controls
134 lines (132 loc) · 6.57 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
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-128441061-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-128441061-1');
</script>
<title>GameProxy</title>
<link rel="shortcut icon" href="media/Small.png">
<script async src="https://arc.io/widget.min.js#iwkiQdav"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono|Material+Icons">
<link rel="stylesheet" href="style.css">
<script src="lib/showdown.min.js"></script>
<meta name="theme-color" content="#6b29ef">
<link rel="apple-touch-icon" sizes="180x180" href="/media/apple-touch-icon.png">
<link rel="manifest" href="/media/site.webmanifest">
<link rel="mask-icon" href="/media/safari-pinned-tab.svg" color="#6b28ef">
<meta name="msapplication-TileColor" content="#9f00a7">
<meta name="msapplication-TileImage" content="/media/mstile-144x144.png">
<meta name="msapplication-config" content="/media/browserconfig.xml">
<script src="lib/jquery.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.5.4/firebase.js"></script>
<script>
var config = {
apiKey: "AIzaSyCgGrYsZ0R5Bg-Svoz4qh0CfcvGaG5xJNo",
authDomain: "gameproxy-web.firebaseapp.com",
databaseURL: "https://gameproxy-web.firebaseio.com",
projectId: "gameproxy-web",
storageBucket: "gameproxy-web.appspot.com",
messagingSenderId: "1085599545540",
appId: "1:1085599545540:web:5af7bc2297717b6449f191"
};
firebase.initializeApp(config);
</script>
<script src="script.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
</head>
<body>
<a class="skipTo" href="#content">Skip to content</a>
<a class="skipTo" href="#footer">Skip to footer</a>
<header>
<span class="desktop">
<a href="/" title="Go to main page" class="headerButton logo">
<img src="media/Large.png" alt="GameProxy logo" id="headerLogo" />
</a>
</span>
<span class="mobile">
<a href="/" title="Go to main page" class="headerButton logo">
<img src="media/Small.png" alt="GameProxy logo" id="headerLogo" />
</a>
</span>
<div class="headerRight">
<a href="/" class="headerButton">Games</a>
<a href="chat.html" class="headerButton">Chat</a>
<a href="account" class="headerButton selected">Account</a>
</div>
</header>
<main id="content">
<h1 class="center">Settings</h1>
<div class="card center notSignedIn">
<h2>Sorry!</h2>
<p>To access settings for your account, please sign in.</p>
<button onclick="window.location.href = 'account'">Sign In</button>
</div>
<div class="card coloured signedIn">
Change your account's email or password. <button onclick="window.location.href = 'account';" class="secondary">Back</button>
</div>
<aside class="signedIn">
<a href="settings">Profile</a>
<a href="accountSettings" class="selected">Email and password</a>
<span class="proOnly"><a href="proSettings">GameProxy Pro</a></span>
</aside>
<div class="signedIn">
<div class="card">
<h2 class="marginBottomOnly">Email address</h2>
<label class="property">
<span>New email address</span>
<input type="email" placeholder="Enter your new email" id="accountNewEmail">
<input type="email" placeholder="Type your email again" id="accountNewEmailAgain">
<button onclick="changeEmailAddress();">Change</button>
</label><br>
<p id="emailError"></p>
</div>
<div class="card">
<h2 class="marginBottomOnly">Password</h2>
<label class="property">
<span>New password</span>
<input type="password" placeholder="Enter your new password" id="accountNewPassword">
<input type="password" placeholder="Type your password again" id="accountNewPasswordAgain">
<button onclick="changePassword();">Change</button>
</label><br>
<p id="passwordError"></p>
</div>
<div class="card">
<h2 class="marginBottomOnly">Delete account</h2>
<p>
If you delete your account, there is no way that we can
restore your account. Plus, the GameProxy team will miss
you! We hope you come again soon.
</p>
<p>
<strong>Note:</strong> Your games and comments will not
be deleted when deleting your account. Please make sure
that they are all deleted first, or they will still
remain on GameProxy. Need help? Contact our support
team:
<a href="mailto:support@gameproxy.host">support@gameproxy.host</a>
</p>
<div class="right">
<button onclick="showDeleteAccountDialog();" class="reallyBad">Delete account</button>
</div>
</div>
</div>
<div class="floatSpacer"></div>
</main>
<div class="dialogBackground"></div>
<div class="dialog">
Hi!
</div>
<footer import="/footer.html" id="footer"></footer>
<script src="profanityFilter.js"></script>
<script src="staffList.js"></script>
<script src="gpProList.js"></script>
<script src="account.js"></script>
<script src="authlock.js"></script>
<script src="pro/pro.js"></script>
</body>
</html>