-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClient_event - Copy.html
242 lines (203 loc) · 8.96 KB
/
Client_event - Copy.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
<!DOCTYPE html>
<html>
<head>
<title>Client Complaint Registration Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<style>
body {
font-family: "Lato", sans-serif;
background-color: #DCDCDC;
}
.intro {
margin: 10px;
outline: 1px solid #CCC;
height: auto;
overflow: auto;
}
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #2F4F4F;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 20px;
color: #818181;
display: block;
transition: 0.3s;
}
.sidenav a:hover {
color: #f1f1f1;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
.formclass{
position: absolute;
align-content: center;
align-items: center;
margin-left: 15%;
margin-right: 10%;
margin-top: 5%;
width: 70%;
opacity: 90%;
}
@media screen and (max-height: 450px) {
.sidenav {
padding-top: 15px;
}
.sidenav a {
font-size: 18px;
}
}
</style>
<!-- NEW STYLE -->
</head>
<body>
<nav class="navbar navbar-expand-sm bg- navbar-dark" style="background-color: #2F4F4F; ">
<!-- Brand/logo -->
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="#">About</a>
<a href="#">Pay Bills</a>
<a href="#">Notice Board</a>
<a href="#">Events</a>
<a href="#">Chat/Forum</a>
<a href="#">Complain Box</a>
<a href="#">My Profile</a>
</div>
<span style="font-size:30px;cursor:pointer;color: white" onclick="openNav()">☰</span>
<div class="container-fluid">
<div class="row" id="heading">
<div class="col-sm-3"></div>
<div class="col-sm-3 col-sm-offset-6">
<a class="navbar-brand" href="#">My Society</a>
</div>
</div>
<div style="float: right;">
<button class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-sm">Logout</button>
</div>
<div class="modal bs-example-modal-sm" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<h4>Logout <i class="fa fa-lock"></i></h4>
</div>
<div class="modal-body"><i class="fa fa-question-circle"></i> Are you sure you want to log-off?</div>
<div class="modal-footer"><a href="javascript:;" class="btn btn-info">Logout</a><a href="javascript:;" class="btn btn-secondary ">Cancel</a></div></div></div>
</div>
</div>
<!-- Links -->
</nav>
<div id="main">
<div class="formclass">
<div class="jumbotron">
<div class="container-fluid">
<h2><center>Event Form</center></h2>
<form action="/action_page.php" class="needs-validation" novalidate>
<div class="form-group">
<label for="name"><b>Full name:</b></label>
<input type="text" class="form-control" id="uname" placeholder="Enter username" name="uname" required>
<div class="valid-feedback">Valid.</div>
<div class="invalid-feedback">Please fill out this field.</div>
</div>
<div class="form-group">
<label for="Event name"><b>Event name:</b></label>
<input type="text" class="form-control" id="ename" placeholder="Enter event name" name="ename" required>
<div class="valid-feedback">Valid.</div>
<div class="invalid-feedback">Please fill out this field.</div>
</div>
<div class="form-group">
<label for="ComplaintDetails"><b>Event Description</b></label>
<textarea class="form-control" rows="5" id="eventDetail" placeholder="Eg. navratri celebration " name="edes"></textarea>
</div>
<div class="form-group">
<label for="date"><b>Starting Date of the event</b></label>
<input type="date" class="form-control" placeholder="dd-mm-yy" required name="sdate">
<div class="valid-feedback">Valid.</div>
<div class="invalid-feedback">Please fill out this field.</div>
</div>
<div class="form-group">
<label for="time"><b>Starting time of the event</b></label>
<input type="time" class="form-control" placeholder="enter starting time" required name="estime">
<div class="valid-feedback">Valid.</div>
<div class="invalid-feedback">Please fill out this field.</div>
</div>
<div class="form-group">
<label for="date"><b>Ending Date of the event</b></label>
<input type="date" class="form-control" placeholder="dd-mm-yy" required name="edate">
<div class="valid-feedback">Valid.</div>
<div class="invalid-feedback">Please fill out this field.</div>
</div>
<div class="form-group">
<label for="time"><b>Ending time of the event</b></label>
<input type="time" class="form-control" placeholder="enter ending time" required name="eetime">
<div class="valid-feedback">Valid.</div>
<div class="invalid-feedback">Please fill out this field.</div>
</div>
<div class="form-group">
<label for="IncidentLocation"><b>Required Location</b></label>
<br>
<input type="text" class="form-control" name="incidentLocation" placeholder="Eg. Near A block" required>
<div class="valid-feedback">Valid.</div>
<div class="invalid-feedback">Please fill out this field.</div>
</div>
<center><button type="submit" class="btn btn-primary">Submit</button></center>
</form>
</div>
</div>
</div>
</div>
<script>
function openNav() {
document.getElementById("heading").style.marginLeft = "200px";
document.getElementById("mySidenav").style.width = "250px";
document.getElementById("main").style.marginLeft = "250px";
document.getElementById("main2").style.marginLeft = "250px";
document.getElementById("mySidebar").style.display = "block";
document.getElementById("openNav").style.display = 'none';
}
function closeNav() {
document.getElementById("heading").style.marginLeft = "0";
document.getElementById("mySidenav").style.width = "0";
document.getElementById("main").style.marginLeft = "0%";
document.getElementById("mySidebar").style.display = "none";
document.getElementById("openNav").style.display = "inline-block";
}
// Disable form submissions if there are invalid fields
(function() {
'use strict';
window.addEventListener('load', function() {
// Get the forms we want to add validation styles to
var forms = document.getElementsByClassName('needs-validation');
// Loop over them and prevent submission
var validation = Array.prototype.filter.call(forms, function(form) {
form.addEventListener('submit', function(event) {
if (form.checkValidity() === false) {
event.preventDefault();
event.stopPropagation();
}
form.classList.add('was-validated');
}, false);
});
}, false);
})();
</script>
</body>
</html>