-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathportal.php
More file actions
225 lines (195 loc) · 8.27 KB
/
Copy pathportal.php
File metadata and controls
225 lines (195 loc) · 8.27 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
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
<?php
session_start();
require_once 'dbconnect.php';
?>
<html>
<head>
<title>Portal</title>
<link rel="stylesheet" href="../assets/css/bootstrap.css">
<link rel="stylesheet" href="../assets/css/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<style>
html{
position:relative;
min-height: 100%;
}
body{
background-color: #CFECF7;
margin-bottom: 40px;
}
#wrapper{
position: relative;
width:100%;
min-height:100%;
}
.navbar-brand{
font-weight: bold;
}
.navbar-brand:hover{
color: skyblue;
}
.navbar-nav{
margin: auto;
}
.topbar{
float: right !important;
margin: 0 !important;
}
.col-centered{
margin:auto;
}
.profile-div{
margin-top: 20px !important;
max-width: 1000px;
background-color: white;
border-radius: 10px;
padding: 20px;
margin: auto;
box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}
.cd-header{
font-weight: bold;
font-size: 18px;
}
.cd-body{
font-size: 15px;
}
.sml-headings{
display: inline-block;
color: #343A40;
font-weight: 500;
}
.sml-ans{
display: inline-block;
}
.btn-width{
width: 100px;
}
.bottom-margin-forms{
margin-bottom: 10px;
}
</style>
</head>
<body>
<nav class = "navbar navbar-expand-md navbar-dark bg-primary">
<a class = "navbar-brand" href = "#">RT</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class = "collapse navbar-collapse" id = "navbarNav">
<ul class = "navbar-nav">
<li class = "nav-item">
<a class = "nav-link" href = "./home.php">Profile</a>
</li>
<li class = "nav-item">
<a class = "nav-link" href = "#">Jobs Postings</a>
</li>
<li class = "nav-item">
<a class = "nav-link" href = "./applications.php">Applications</a>
</li>
<li class = "nav-item">
<a class = "nav-link" href = "#">Logout</a>
</li>
</ul>
</div>
</nav>
<div class= "profile-div" >
<div class="cd-header"> Complete your profile </div>
<hr>
<form class="cd-body col" action="postJob.php" type="POST">
<div class="form-group">
<label for ="job_type">Job Type: </label>
<input type="text" class="form-control bottom-margin-forms" id="job_type" placeholder=" Job_type " name="job_type">
<div class="row">
<div class="col-6">
<label for ="start_date">Start date: </label>
<input type="date" class="form-control bottom-margin-forms" id="start_date" name="start_date">
</div>
<div class="col-6">
<label for ="end_date">End date: </label>
<input type="date" class="form-control bottom-margin-forms" id="end_date" name="end_date">
</div>
</div>
<label for ="salary">Salary: </label>
<input type="text" class="form-control bottom-margin-forms" id="salary" placeholder=" Salary in rupees " name="salary">
<label for ="location">Location: </label>
<input type="text" class="form-control bottom-margin-forms" id="location" placeholder="Location" name="location">
<label > Skills required: </label>
<div class="row">
<div class="col-6">
<input type="text" class="form-control bottom-margin-forms" id="skill1" name="skill1" placeholder="Skill 1">
</div>
<div class="col-6">
<input type="text" class="form-control bottom-margin-forms" id="skill1Duration" name="skill1Duration" placeholder="skill 1 Duration in Months">
</div>
</div>
<div class="row">
<div class="col-6">
<input type="text" class="form-control bottom-margin-forms" id="skill2" name="skill2" placeholder="Skill 2">
</div>
<div class="col-6">
<input type="text" class="form-control bottom-margin-forms" id="skill2Duration" name="skill2Duration" placeholder="skill 2 Duration in Months">
</div>
</div>
<div class="row">
<div class="col-6">
<input type="text" class="form-control bottom-margin-forms" id="skill3" name="skill3" placeholder="Skill 3">
</div>
<div class="col-6">
<input type="text" class="form-control bottom-margin-forms" id="skill3Duration" name="skill3Duration" placeholder="skill 3 Duration in Months">
</div>
</div>
<div class="row">
<div class="col-6">
<input type="text" class="form-control bottom-margin-forms" id="skill4" name="skill4" placeholder="Skill 4">
</div>
<div class="col-6">
<input type="text" class="form-control bottom-margin-forms" id="skill4Duration" name="skill4Duration" placeholder="skill 4 Duration in Months">
</div>
</div>
<div class="row">
<div class="col-6">
<input type="text" class="form-control bottom-margin-forms" id="skill5" name="skill5" placeholder="Skill 5">
</div>
<div class="col-6">
<input type="text" class="form-control bottom-margin-forms" id="skill5Duration" name="skill5Duration" placeholder="skill 5 Duration in Months">
</div>
</div>
<label for ="description">Job Description: </label>
<textarea class="form-control bottom-margin-forms" id="description" placeholder=" Job description " name="description" rows="3"></textarea>
</div>
<hr>
<div class="cd-footer">
<button type="submit" class="btn btn-sm btn-info float-right btn-width">Post</button>
<div class="clearfix"></div>
</div>
</form>
</div>
</body>
<script src = "../assets/js/jquery.min.js"></script>
<script src = "../assets/js/jquery-ui.js"></script>
<script src = "../assets/js/popper.min.js"></script>
<script src = "../assets/js/bootstrap.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#skill1").autocomplete({
source: 'FetchSkills.php',
select: function(event,ui){
alert(ui.item.id);
}
});
$("#skill2").autocomplete({
source: 'FetchSkills.php'
});
$("#skill3").autocomplete({
source: 'FetchSkills.php'
});
$("#skill4").autocomplete({
source: 'FetchSkills.php'
});
$("#skill5").autocomplete({
source: 'FetchSkills.php'
});
})
</script>
</html>