-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·173 lines (163 loc) · 6.96 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html>
</html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Midterm Project 106034061</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<!-- Custom styles for this template -->
<link href="css/offcanvas.css" rel="stylesheet">
<style type="text/css">
body{
background-color: black;
color: aliceblue;
}
.jumbotron {
background-image: url("star_night.jpg");
background-size: cover;
background-position: center;
height: 500px;
color: white;
text-align: center;
}
.container{background-color:darkblue;}
.navbar-brand{color: aliceblue;}
.nav navbar-nav{color: aliceblue;}
ul li a {
color: #666;
transition: .5s;
}
ul li a:before {
background: #d35400;
transition: .5s;
transform: scale(.9);
z-index: -1;
}
ul li a:hover:before {
transform: scale(1.2);
box-shadow: 0 0 15px #d35400;
filter: blur(3px);
}
ul li a:hover {
color: #ffa502;
box-shadow: 0 0 15px #d35400;
text-shadow: 0 0 15px #d35400;
}
#night-view {
text-align: center;
background-position: center;
width: 200px;
height: 200px;
background: url(http://cdn.petapixel.com/assets/uploads/2012/12/europe.jpg);
border-radius: 100%;
background-size: 400px;
box-shadow: inset 16px 0 40px 6px rgb(0, 0, 0), inset -3px 0 6px 2px rgba(255, 255, 255, 0.2);
transition: all 3s ease-in-out;
animation: rotate 5s infinite forwards linear;
}
@keyframes rotate {
from{background-position-x:0px;}
to{background-position-x:400px;}
}
</style>
<!-- script -->
<script src="https://www.gstatic.com/firebasejs/5.9.2/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.9.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.9.2/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.9.2/firebase-database.js"></script>
<script src="js/config.js"></script>
<script src="js/index.js"></script>
</head>
<body class=“container”>
<nav class="navbar navbar-expand-md fixed-top bg-dark navbar-dark">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="navbar-brand" href="index.html">GT Forum </a>
</li>
<li class="nav-item active">
<a class="nav-link" href="userpage1.html" id="userpage" >Post</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="profile.html">Profile</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="chat.html">Chat</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="canvas.html">Canvas</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="#" onclick="createNotify()">Notify</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="game.html">Game</a>
</li>
<li class="dropdown">
<a class="nav-link dropdown-toggle" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Account</a>
<div id="dynamic-menu" class="dropdown-menu" aria-labelledby="dropdown01">
<a class="dropdown-item" href="signin.html">Login</a>
</div>
</li>
</ul>
</nav>
<div class="jumbotron">
<h1>
<a href="index.html" data-toggle="collapse" class="text-white"><strong>George Tsenge's Forum</strong></a>
</h1>
<a class="btn btn-danger btn-lg" href="canvas.html" role="button">Canvas</a>
<a class="btn btn-primary btn-lg" href="userpage1.html" role="button">Post</a>
<a class="btn btn-warning btn-lg" href="profile.html" role="button">Profile</a>
<a class="btn btn-success btn-lg" href="chat.html" role="button">Chat</a>
<a class="btn btn-info btn-lg" href="#" role="button"onclick="createNotify()" >Notify</a>
<div id="night-view" ></div>
</div>
<div class="container">
<h2><strong>Topics</strong></h2>
<table class="table table-hover">
<tbody>
<tr>
<td class="bg-primary text-white">Techology and Information</td>
<td class=" text-white" id="postlistpage1"><a class="btn btn-danger" href="postlistpage1.html" role="button">Go Check</a></td>
</tr>
<tr>
<td class="bg-success text-white">Gossip</td>
<td class=" text-white" id="postlistpage2"><a class="btn btn-danger" href="postlistpage2.html" role="button">Go Check</a></td>
</tr>
<tr>
<td class="bg-info text-white">Entertainment</td>
<td class="text-white" id="postlistpage3"><a class="btn btn-danger" href="postlistpage3.html" role="button">Go Check</a></td>
</tr>
<tr>
<td class="bg-warning text-white">Movie and Youtube</td>
<td class="text-white" id="postlistpage4"><a class="btn btn-danger" href="postlistpage4.html" role="button">Go Check</a></td>
</tr>
</tbody>
</table>
</div>
<main role="main" class="container">
<div class="d-flex align-items-center p-3 my-3 text-white-50 bg-dark rounded box-shadow">
<div >
<h5 class="mb-0 text-white"><strong>Public comments</strong></h5>
<small>Just leave Whatever you want.</small>
</div>
</div>
<div id="post_list">
</div>
<div class="my-3 p-3 bg-dark rounded box-shadow">
<textarea class="form-control" rows="3" id="comment" style="resize:none"></textarea>
<div class="media text-muted pt-3">
<button id="post_btn" type="button" class="btn btn-success">Submit</button>
</div>
</div>
</main>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="js/offcanvas.js"></script>
</body>
</html>