-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaccount.html
More file actions
124 lines (122 loc) · 6.35 KB
/
account.html
File metadata and controls
124 lines (122 loc) · 6.35 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
<!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>
<script src="lib/jquery.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="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">Account</h1>
<div class="card center" id="signIn">
<h2>Sign into GameProxy</h2>
<p id="accountSignInMessage"></p>
<form>
<input type="email" placeholder="Email" id="user"></input><br>
<input type="password" placeholder="Password" id="pass"></input>
</form><br>
<button onclick="window.location.href = '/';" class="bad">Cancel</button><button class="secondary" onclick="signOutBefore();">Sign Up</button><button onclick="signIn();">Sign In</button><br>
</div>
<div class="card center" id="signUp">
<h2>Sign up for GameProxy</h2>
<form autocomplete="off">
<input placeholder="Username" id="name" autocomplete="off"></input>
</form><br>
<button class="bad" onclick="reset();">Cancel</button><button onclick="signUp();">Sign Up</button><br>
</div>
<div class="card coloured signedIn profile">
<div>
<img src="media/AnonUser.png" class="accountPicture floatLeft" />
</div>
<div class="floatLeft profileInfo">
<strong class="accountName">Loading...</strong><br>
This is you!
</div>
<div class="options">
<button onclick="window.location.href = 'settings';" class="secondary">Settings</button><button onclick="signOut();" class="secondary">Sign Out</button>
</div>
</div>
<div class="card adminBanner">
<strong>You are a certified admin!</strong> Make GameProxy better! <a href="/help/?article=0014-aboutAdmins" target="_blank" class="adminBannerLink">Learn more...</a>
</div>
<div class="card center signedIn">
<button onclick="window.location.href = 'gameUpload.html';">Upload New Game</button>
<button onclick="window.location.href = 'notifications';">Notifications</button>
<button onclick="shareProfile();">Share Profile</button>
<span class="adminSpan"><button onclick="window.location.href = 'admin';">Admin Console</button></span>
<span class="proOnly"><button onclick="window.location.href = 'proSettings';">GameProxy Pro Settings</button></span>
</div>
<div class="signedIn">
<h2 class="center">Uploaded Games</h2>
<div id="gameLoader" class="loaderHolder"><i aria-label="Loading content..." class="material-icons loader">videogame_asset</i></div>
<div id="gameList" class="itemHolder"></div>
</div>
<p class="center" id="error"></p>
<div class="center" id="pend"></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="accountGameList.js"></script>
<script src="pro/pro.js"></script>
</body>
</html>