-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforum.html
More file actions
121 lines (114 loc) · 4.29 KB
/
forum.html
File metadata and controls
121 lines (114 loc) · 4.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<script src="https://www.gstatic.com/firebasejs/7.24.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.24.0/firebase-analytics.js"></script>
<script src="https://gstatic.com/firebasejs/7.24.0/firebase-database.js"></script>
<script src="https://gstatic.com/firebasejs/7.24.0/firebase-auth.js"></script>
<script src="forum.js"></script>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css"
/>
<title>Forum</title>
</head>
<body class="l">
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">
<div class="navbar-brand" onclick="dashboard()">Dash Board</div>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item active mb-2">
<a class="nav-link" href="forum.html">Forum </a>
</li>
<li class="nav-item">
<a class="comp nav-link" href="#"
><span class="badge badge-danger">Competience Score</span></a
>
</li>
<li class="nav-item mb-2">
<a class="nav-link" href="leaderboard.html">Leader Board </a>
</li>
<li class="nav-item">
<div class="nav-link" onclick="profile()">Profile</div>
</li>
</ul>
</div>
</nav>
<div class="forom container">
<fieldset>
<legend>Have a doubt? Find it here...</legend>
<table class="table table-bordered">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Doubt about</th>
<th scope="col">Number of Answers</th>
<th scope="col">Asked by</th>
</tr>
</thead>
<tbody id="forum_table"></tbody>
</table>
</fieldset>
<fieldset>
<legend>Not in the list? Ask Your doubt Here</legend>
<div class="question-box">
<form>
<div class="form-group">
<label for="question-name" class="display-4">Query Title:</label>
<input
type="text"
class="title-box form-control"
id="query-name"
placeholder="add an appropriate question title here"
/>
</div>
<div class="form-group">
<div class="display-4">
<label for="query">Query</label>
</div>
<textarea name="query" id="query" cols="100" rows="10"></textarea>
</div>
</form>
<button type="submit" class="btn btn-primary" onclick="addquestion()">
Ask Query
</button>
</div>
</fieldset>
</div>
<script
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"
></script>
</body>
</html>