-
Notifications
You must be signed in to change notification settings - Fork 2
/
dashboard.html
242 lines (217 loc) · 13.6 KB
/
dashboard.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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="css/expboard.css">
<link href="css/expboard.min.css" rel="stylesheet">
</head>
<body>
<header class="header-area header-sticky">
<div class="container">
<div class="row">
<div class="col-12">
<nav class="main-nav">
<!-- ***** Logo Start ***** -->
<a href="#" class="logo">Interview Tracker</a>
<!-- ***** Logo End ***** -->
<!-- ***** Menu Start ***** -->
<ul class="nav">
<li class="submenu">
<a href="javascript:;"><img class="img-xs rounded-circle" src="image/Screenshot (218).png" alt="Profile image"></a>
<ul>
<p><strong>yo boi</strong></p>
<li><a href="dashboard">Profile</a></li>
<li><a href="logout">Log Out</a></li>
</ul>
</li>
</ul>
<!-- ***** Menu End ***** -->
</nav>
</div>
</div>
</div>
</header>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Add Your Experiance</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="recipient-name" class="col-form-label">Branch</label>
<input type="text" class="form-control" id="linkto" name="linkto">
</div>
<div class="form-group">
<label for="recipient-name" class="col-form-label">Year</label>
<input type="text" class="form-control" id="linkto" name="linkto">
</div>
<div class="form-group">
<label for="message-text" class="col-form-label">Experiance</label>
<textarea class="form-control" id="topicName" name="topicName"></textarea>
</div>
<input type = "hidden" name = "name" value = <%= user._id %> />
</div>
<div class="modal-footer">
<button type="submit" id="submit" class="btn btn-primary">Add</button>
</form>
</div>
</div>
</div>
</div>
<div class="page-wrapper">
<section class="chatbox">
<div class="addexp">
<a data-toggle="modal" data-target="#exampleModal" data-whatever="@getbootstrap" class="btn btn-success d-none d-md-inline-block text-white" >Add Experiance</a>
</div>
<section class="chat-window">
<img class="company-img" id="user-0" src="image/Screenshot (218).png" />
<article class="msg-container msg-remote" id="msg-0">
<div class="msg-box">
<img class="user-img" id="user-0" src="//gravatar.com/avatar/00034587632094500000000000000000?d=retro" />
<div class="flr">
<div class="messages">
<p class="msg" id="msg-0">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praeseyeuguuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuufnt varius, neque non tristique tincidunt, mauris nunc efficitur erat, elementum semper justo odio id nisi.
</p>
</div>
<span class="timestamp"><span class="username">Name</span>•<span class="posttime">3 minutes ago</span></span>
</div>
</div>
</article>
<article class="msg-container msg-remote" id="msg-0">
<div class="msg-box">
<img class="user-img" id="user-0" src="//gravatar.com/avatar/00034587632094500000000000000000?d=retro" />
<div class="flr">
<div class="messages">
<p class="msg" id="msg-0">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praeseyeuguuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuufnt varius, neque non tristique tincidunt, mauris nunc efficitur erat, elementum semper justo odio id nisi.
</p>
</div>
<span class="timestamp"><span class="username">Name</span>•<span class="posttime">3 minutes ago</span></span>
</div>
</div>
</article>
<article class="msg-container msg-remote" id="msg-0">
<div class="msg-box">
<img class="user-img" id="user-0" src="//gravatar.com/avatar/00034587632094500000000000000000?d=retro" />
<div class="flr">
<div class="messages">
<p class="msg" id="msg-0">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praeseyeuguuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuufnt varius, neque non tristique tincidunt, mauris nunc efficitur erat, elementum semper justo odio id nisi.
</p>
</div>
<span class="timestamp"><span class="username">Name</span>•<span class="posttime">3 minutes ago</span></span>
</div>
</div>
</article>
<article class="msg-container msg-remote" id="msg-0">
<div class="msg-box">
<img class="user-img" id="user-0" src="//gravatar.com/avatar/00034587632094500000000000000000?d=retro" />
<div class="flr">
<div class="messages">
<p class="msg" id="msg-0">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praeseyeuguuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuufnt varius, neque non tristique tincidunt, mauris nunc efficitur erat, elementum semper justo odio id nisi.
</p>
</div>
<span class="timestamp"><span class="username">Name</span>•<span class="posttime">3 minutes ago</span></span>
</div>
</div>
</article>
<article class="msg-container msg-remote" id="msg-0">
<div class="msg-box">
<img class="user-img" id="user-0" src="//gravatar.com/avatar/00034587632094500000000000000000?d=retro" />
<div class="flr">
<div class="messages">
<p class="msg" id="msg-0">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praeseyeuguuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuufnt varius, neque non tristique tincidunt, mauris nunc efficitur erat, elementum semper justo odio id nisi.
</p>
</div>
<span class="timestamp"><span class="username">Name</span>•<span class="posttime">3 minutes ago</span></span>
</div>
</div>
</article>
<article class="msg-container msg-remote" id="msg-0">
<div class="msg-box">
<img class="user-img" id="user-0" src="//gravatar.com/avatar/00034587632094500000000000000000?d=retro" />
<div class="flr">
<div class="messages">
<p class="msg" id="msg-0">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praeseyeuguuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuufnt varius, neque non tristique tincidunt, mauris nunc efficitur erat, elementum semper justo odio id nisi.
</p>
</div>
<span class="timestamp"><span class="username">Name</span>•<span class="posttime">3 minutes ago</span></span>
</div>
</div>
</article>
<article class="msg-container msg-remote" id="msg-0">
<div class="msg-box">
<img class="user-img" id="user-0" src="//gravatar.com/avatar/00034587632094500000000000000000?d=retro" />
<div class="flr">
<div class="messages">
<p class="msg" id="msg-0">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praeseyeuguuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuufnt varius, neque non tristique tincidunt, mauris nunc efficitur erat, elementum semper justo odio id nisi.
</p>
</div>
<span class="timestamp"><span class="username">Name</span>•<span class="posttime">3 minutes ago</span></span>
</div>
</div>
</article>
<article class="msg-container msg-remote" id="msg-0">
<div class="msg-box">
<img class="user-img" id="user-0" src="//gravatar.com/avatar/00034587632094500000000000000000?d=retro" />
<div class="flr">
<div class="messages">
<p class="msg" id="msg-0">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praeseyeuguuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuufnt varius, neque non tristique tincidunt, mauris nunc efficitur erat, elementum semper justo odio id nisi.
</p>
</div>
<span class="timestamp"><span class="username">Name</span>•<span class="posttime">3 minutes ago</span></span>
</div>
</div>
</article>
</section>
</section>
</div>
<script>
const form = document.querySelector('form');
form.addEventListener('submit', async(e)=> {
e.preventDefault();
const branch =form.branch.value;
const name =form.name.value;
const year =form.year.value;
const experiance =form.experiance.value;
try{
const res = await fetch('/addexperiance', {
method: 'POST',
body: JSON.stringify({ name,branch,year,experiance }),
headers: {'Content-Type': 'application/json'}
});
const data= await res.status;
if(data ==200){
location.assign('/experiance');
}
}
catch (err) {
console.log(err);
}
});
</script>
<!-- jQuery -->
<script src="js/jquery-2.1.0.min.js"></script>
<!-- Bootstrap -->
<script src="js/popper.js"></script>
<script src="js/bootstrap.min.js"></script>
<!-- Plugins -->
<script src="js/owl-carousel.js"></script>
<script src="js/scrollreveal.min.js"></script>
<script src="js/waypoints.min.js"></script>
<script src="js/jquery.counterup.min.js"></script>
<script src="js/imgfix.min.js"></script>
<!-- Global Init -->
<script src="js/custom.js"></script>
</body>
</html>