-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
118 lines (99 loc) · 4.83 KB
/
index.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
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<link rel="stylesheet" href="styles.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>D-Pong</title>
<link rel="stylesheet" href="styles.css">
</head>
<body id="bootstrap-overrides">
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">D-Pong</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li id="listings-li" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Listings <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="leaderboard.html">Leaderboard</a></li>
<li><a href="games.html">Games</a></li>
</ul>
</li>
<!--<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Page 1 <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Page 1-1</a></li>
<li><a href="#">Page 1-2</a></li>
<li><a href="#">Page 1-3</a></li>
</li>-->
<li id="submit-li"><a href="submit.html">Submit game</a></li>
</ul>
<form class="navbar-form navbar-left search-form" action="/action_page.php" autocomplete="off">
<div class="form-group autocomplete">
<input id='search-input' type="text" class="form-control basicAutoComplete" placeholder="Search" autocomplete="off">
</div>
<button id="search-button" class="btn btn-default" onclick="search()">Submit</button>
</form>
<ul id="nav-login-ul" class="nav navbar-nav navbar-right">
<li id="register-li"><a href="register.html"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>
<li id="login-li"><a href="login.html"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
</ul>
<ul id="nav-logout-ul" class="nav navbar-nav navbar-right">
<li id="pofile-li"><a href="profile.html?id="><span class="glyphicon glyphicon-user"></span> Profile</a></li>
<li><a id="logout-a" onclick="logOut()"><span class="glyphicon glyphicon-log-out"></span> Logout</a></li>
</ul>
</div>
</div>
</nav>
<!--div class="welcome">
<div class="col-sm-6 col-sm-offset-3">
<div class="welcome-message-container">
<h2>Welcome</h2>
<h4>This is a web application for keeping track of your beer pong.</h4>
</div>
</div>
</div-->
<div class="col-sm-6 col-sm-offset-3">
<div class="welcome-message">
<h2>Welcome</h2>
<h5>This is a web application for keeping track of your beer pong games. Here are the latest news and updates.<br>For help, feedback or bug-reports, please contact <a href="mailto:[email protected]">[email protected]</a>.</h5>
</div>
<div id="newsfeed">
</div>
</div>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.2.3/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyAAfWDrsqk3r2VQo-xD99c93Rwi4EHLJ8g",
authDomain: "dpong-d23d0.firebaseapp.com",
databaseURL: "https://dpong-d23d0.firebaseio.com",
projectId: "dpong-d23d0",
storageBucket: "dpong-d23d0.appspot.com",
messagingSenderId: "998832556161",
appId: "1:998832556161:web:f8b3db8d85e6b173e82580"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<script src="https://www.gstatic.com/firebasejs/3.1.0/firebase-database.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-auth.js"></script>
<script src="main.js"></script>
<script src="index.js"></script>
</body>
</html>