-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmyprofile.html
280 lines (260 loc) · 12.6 KB
/
myprofile.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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Section For SEO -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Title -->
<title>My Profile</title>
<!-- Linking Bootstrap and CSS -->
<link rel="icon" href="img/logo.png">
<link rel="stylesheet" href="css/myprofile.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body style="overflow-x: hidden;" onload = "allGETRequests()">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="homepage_emp.html"><img src="img/vitlogo.png" id="vitlogo" alt=""></a>
<a id="AVIT" href = "homepage_emp.html">AchieveVIT</a>
<div class="form-inline my-2 my-lg-0 navbar-nav navbar-center">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search" id = "searchFac">
<button class="btn my-2 my-sm-0 sea" onClick = "search()">Search</button>
</div>
<a class="nav-link ml-auto">
<div class="dropdown">
<div class="profile_pic">
<img src="img/Path 7.png">
</div>
<div id = "dropdown">
</div>
<div class="dropdown-content">
<a href="#" class="active">MY PROFILE</a>
<a href="#" style="border-top: 3px solid #2E6DA4;" onClick = "logout()">LOGOUT</a>
</div>
</div>
</a>
</nav>
<div class="row">
<div class="col-4">
</div>
<div class="col-4" style="text-align: center;">
<table class="table mt-3" id = 'searchTable'>
<thead class="thead" style="background-color: #2E6DA4 !important;">
<tr style="color:white;">
<th scope="col">#</th>
<th scope="col">Employee Name</th>
<th scope="col">Employee ID</th>
<th scope="col">School</th>
</tr>
</thead>
<tbody id = "searchResults">
</tbody>
</table>
</div>
<div class="col-4"></div>
</div>
<div class="row mt-5 ml-1">
<div class="col-12 col-md-3 left-box" style="margin-top: 100px;" id = "personal">
<div class="mt-5">
<img class="mt-3" src="css/undraw_female_avatar_w3jk.png">
</div>
</div>
<div class="col-12 col-md-2"></div>
<div class="col-12 col-md-5 right-box" style="margin-top: 55px;" >
<div class="header" style="border-bottom: 3px solid #337AB7;" >
<div class="playerTwo" style="font-size: x-large; font-weight: bolder ;" >
EDUCATION
</div>
<div class="playerOne" >
<button style="color: #337AB7; font-size: x-large; border: none; background-color: white;" data-toggle="modal" data-target="#add-education">+</button>
</div>
</div>
<div id = "education">
</div>
<div class="header mt-5" style="border-bottom: 3px solid #337AB7;">
<div class="playerTwo" style="font-size: x-large; font-weight: bolder ;">
WORK EXPERIENCE
</div>
<div class="playerOne" >
<button style="color: #337AB7; font-size: x-large; border: none; background-color: white;" data-toggle="modal" data-target="#add-experience">+</button>
</div>
</div>
<div id = 'experience'>
</div>
</div>
<div class="col-12 col-md-2 right"></div>
</div>
<div class="row mb-5">
<div class="col-12 col-md-5">
<div class="header mt-5 ml-5" style="border-bottom: 3px solid #337AB7; width:80%">
<div class="playerTwo" style="font-size: x-large; font-weight: bolder ;">
SKILLS
</div>
<div class="playerOne" >
<button style="color: #337AB7; font-size: x-large; border: none; background-color: white;" data-toggle="modal" data-target="#add-skill">+</button>
</div>
</div>
<div class="row mt-3 mb-3" style="width:100%; text-align: center; margin-top: 15px; margin-bottom: 15px !important;" id = 'skill'>
</div>
</div>
<div class="col-12 col-md-6" id = "achievement">
<div class="header mt-5 ml-5" style="border-bottom: 3px solid #337AB7; width:80%">
<div class="playerTwo" style="font-size: x-large; font-weight: bolder ;">
ACHIEVEMENT
</div>
<div class="playerOne" >
<button style="color: #337AB7; font-size: x-large; border: none; background-color: white;" data-toggle="modal" data-target="#add-achievement">+</button>
</div>
</div>
</div>
<div class="col-12 col-md-1"></div>
</div>
<!-- Modal-1 add education-->
<div class="modal fade" id="add-education" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">ADD EDUCATION</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div>
<div class="form-group">
<input type="text" class="form-control" id="university" aria-describedby="emailHelp" placeholder="Name of the University">
<input type="text" class="mt-3 form-control" id="degree" aria-describedby="emailHelp" placeholder="Degree">
<div class="row">
<div class="col-6">
<input type="date" class="mt-3 form-control" id="start_year" aria-describedby="emailHelp" placeholder="Start-date">
</div>
<div class="col-6">
<input type="date" class="mt-3 form-control" id="end_year" aria-describedby="emailHelp" placeholder="End-date">
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer foot_mod">
<button type="button" class="save_changes" onclick="addEducation()">SAVE CHANGES</button>
</div>
</div>
</div>
</div>
<!-- Modal-2 add experience-->
<div class="modal fade" id="add-experience" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">ADD EXPERIENCE</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div>
<div class="form-group">
<input type="text" class="form-control" id="position" aria-describedby="emailHelp" placeholder="Position">
<input type="text" class="mt-3 form-control" id="comp_name" aria-describedby="emailHelp" placeholder="Company name">
<input type="text" class="mt-3 form-control" id="description" aria-describedby="emailHelp" placeholder="Description">
<input type="text" class="mt-3 form-control" id="period" aria-describedby="emailHelp" placeholder="Period">
</div>
</div>
</div>
<div class="modal-footer foot_mod">
<button type="button" class="save_changes" onclick="addExperience()">SAVE CHANGES</button>
</div>
</div>
</div>
</div>
<!-- Modal-3 add achievement-->
<div class="modal fade" id="add-achievement" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">ADD ACHIEVEMENT</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div>
<div class="form-group">
<input type="text" class="form-control" id="details" aria-describedby="emailHelp" placeholder="Position">
</div>
</div>
</div>
<div class="modal-footer foot_mod">
<button type="button" class="save_changes" onClick = "addAchievements()">SAVE CHANGES</button>
</div>
</div>
</div>
</div>
<!-- Modal-4 add skill-->
<div class="modal fade" id="add-skill" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">ADD SKILL</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div>
<div class="form-group">
<input type="text" class="form-control" id="my_skill" aria-describedby="emailHelp" placeholder="Skill name">
</div>
</div>
</div>
<div class="modal-footer foot_mod">
<button type="button" class="save_changes" onclick="addSkill()">SAVE CHANGES</button>
</div>
</div>
</div>
</div>
<!-- Modal-5 delete-row-->
<div class="modal fade" id="delete-row" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">Are you sure you want to delete this row?</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-footer foot_mod">
<div class="row">
<div class="col-6">
<button type="button" class="YES" onClick = "Delete()"> YES
</button>
</div>
<div class="col-6">
<button type="button" class="NO"
onClick = 'hideModal(this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.id)'> NO
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<footer id="sticky-footer" class="py-3 px-4" style="margin-top: 75px;">
<div class="row">
<div class="mr-auto" >
<img class="mr-3 ml-3" src="img/linkedin.png" style="width: 20px; height:20px">
<img class="mr-3" src="img/insta.png" style="width: 20px; height:20px">
<img src="img/fb.png" style="width: 20px; height:20px">
</div>
<div class="ml-auto mr-4" style="color: white;">
Copyright © Vellore, VIT
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="js/my_profile.js"></script>
<script src="js/search.js"></script>
</body>
</html>