-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavbar.php
178 lines (142 loc) · 7.04 KB
/
navbar.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cloud.tinymce.com/stable/tinymce.min.js"></script>
<!-- <script>tinymce.init({ selector:'textarea' });</script> -->
<style>
.modal-header, .a , .close {
background-color: #5cb85c;
color:white !important;
text-align: center;
font-size: 30px;
}
.modal-body{
color:black;
}
.modal-footer {
background-color: #f9f9f9;
}
</style>
</head>
<body>
<nav class="navbar navbar-inverse" style="margin-bottom: 0; border-radius: 0">
<div class="container">
<div class="navbar-header" style="margin-top: 5px;">
<img src="job.png" alt="Unload" width="40" height="40"/>
</div>
<div class="navbar-header">
<a class="navbar-brand" href="index.php">JOBSITE.COM</a>
</div>
<ul class="nav navbar-nav">
<li class="active"><a href="admin.php">Admin</a></li>
<li><a href="#"></a></li>
<form class="navbar-form navbar-left">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search">
<div class="input-group-btn">
<button class="btn btn-default" type="submit">
<i class="glyphicon glyphicon-search"></i>
</button>
</div>
</div>
</form>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a style="text-decoration:none;" href="#" role="button" id="myBtn1"><span class="glyphicon glyphicon-log-in"></span> User Login</a>
<div class="modal fade" id="myModal1" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header" style="padding:35px 50px;">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="a"><span class="glyphicon glyphicon-lock"></span>User Login</h4>
</div>
<div class="modal-body" style="padding:40px 50px;">
<form role="form" action="functions.php" method="POST">
<div class="form-group">
<label for="username"><span class="glyphicon glyphicon-user"></span> Username</label>
<input type="text" id="username" class="form-control" name="username" placeholder="Enter Username" required="">
</div>
<div class="form-group">
<label for="password"><span class="glyphicon glyphicon-eye-open"></span>Password</label>
<input type="password" id="password" class="form-control" name="password" placeholder="Password" required>
</div>
<button type="submit" class="btn btn-success btn-block" name="login"><span class="glyphicon glyphicon-off"></span> Login</button>
</form>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-danger btn-default pull-left" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> Cancel</button>
<p>Not a Member? <a href="user_register.php">Sign Up</a></p>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
$("#myBtn1").click(function(){
$("#myModal1").modal();
});
});
</script>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a style="text-decoration:none;" href="#" role="button" id="myBtn2"><span class="glyphicon glyphicon-user"></span>Employer Login</a>
<div class="modal fade" id="myModal2" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header" style="padding:35px 50px;">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="a"><span class="glyphicon glyphicon-lock"></span>Employer Login</h4>
</div>
<div class="modal-body" style="padding:40px 50px;">
<form role="form" action="functions.php" method="POST">
<div class="form-group">
<label for="username"><span class="glyphicon glyphicon-user"></span> Username</label>
<input type="text" id="username" class="form-control" name="username" placeholder="Enter Username" required="">
</div>
<div class="form-group">
<label for="password"><span class="glyphicon glyphicon-eye-open"></span>Password</label>
<input type="password" id="password" class="form-control" name="password" placeholder="Password" required>
</div>
<button type="submit" class="btn btn-success btn-block" name="signin"><span class="glyphicon glyphicon-off"></span> Sign In</button>
</form>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-danger btn-default pull-left" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> Cancel</button>
<p>Not a member? <a href="employer_register.php">Sign Up</a></p>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
$("#myBtn2").click(function(){
$("#myModal2").modal();
});
});
</script>
</li>
</ul>
<!-- <ul class="nav navbar-nav navbar-right">
<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Create
account<span class="caret" ></span> </a>
<ul class="dropdown-menu">
<li><a href="employer_register.php">Employer account</a></li>
<li><a href="user_register.php">User account</a></li>
</ul>
</li>
</ul> -->
</div>
</nav>
</body>
</html>