-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
156 lines (139 loc) · 4.03 KB
/
form.html
File metadata and controls
156 lines (139 loc) · 4.03 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
<html>
<head>
<title>COMPLAINT</title>
<link rel="stylesheet" href="navigation.css">
<style type="text/css">
body {font-family: Arial, Helvetica, sans-serif;}
* {box-sizing: border-box}
/* Full-width input fields */
input[type=text], input[type=file] ,textarea{
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1g1f1;
}
input[type=text]:focus, input[type=file]:focus ,textarea{
background-color: #ddd;
outline: none;
}
/* Set a style for all buttons */
button {
background-color: #4CBF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
}
button:hover {
opacity:1;
}
/* Extra styles for the cancel button */
.btn {
padding: 14px 20px;
background-color: green;
}
/* Float cancel and signup buttons and add an equal width */
.btn {
float: left;
width: 50%;
}
/* Add padding to container elements */
.container {
padding: 16px;
}
/* Clear floats */
.clearfix::after {
content: "";
clear: both;
display: table;
}
.marg
{
margin-left:400px;
margin-right:400px;
}
/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 10px) {
.btn {
width: 50%;
}
}
</style>
</head>
<body>
<!-- ------------------------------Navigation bar-------------------------------->
<div class="topnav" id="myTopnav">
<a href="main_project.html" class="actives"><b>Home</b></a>
<a href="complaint.html"><b>Complaint</b></a>
<a href="admin.html"><b>Admin</b></a>
<a href="contact.html"><b>Contact</b></a>
<div class="dropdown">
<button class="dropbtn"><b>Menu</b>
<i class="downn"></i>
</button>
<div class="dropdown-content">
<a href="login.html"><b>Login</b></a>
<a href="main_project.html"><b>Logout</b></a>
</div>
</div>
<a href="javascript:void(0);" style="font-size:15px;" class="icon" onclick="myFunction()">☰</a>
</div>
<!--
<div style="padding-left:16px">
<h2>Responsive Topnav with Dropdown</h2>
<p>Resize the browser window to see how it works.</p>
<p>Hover over the dropdown button to open the dropdown menu.</p>
</div>
-->
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
</br>
<div class="marg">
<span style="align: center"><h3>COMPLAINT REGISTRATION</h3></span></br>
<form action="form.php" method="POST" enctype="multipart/form-data" style="border:1px solid #ccc">
<div class="container">
<label for="leave">Type of leave: </label>
<select name="leave" id="leave">
<option value="Casual Leave">Casual Leave</option>
<option value="Duty Leave">Duty Leave</option>
<option value="General/Additional Leave">General/Additional Leave</option>
<option value="LWP Leave">LWP Leave</option>
</select>
<label for="uname"><b>Name</b>(Only in Capital)</label>
<input type="text" placeholder="Only in Capital" name="uname" required="">
<label for="disc">Select Discipline: </label>
<select name="disc" id="disc">
<option value="P.hD">P.hD</option>
<option value="M.Tech.">M.Tech.</option>
</select>
<label for="branch"><b>Branch</b>(Only in Capital)</label>
<input type="text" placeholder="Only in Capital" name="branch" required="">
<label for="adno"><b>Addmission No.</b>(Only in Capital)</label>
<input type="text" placeholder="Only in Capital" name="adno" required="">
<label for="from">From Date:</label>
<input type="date" id="fromdate" name="fromdate">
<label for="to">To Date::</label>
<input type="date" id="todate" name="todate">
<label for="reas"><b>Reason for Leave</b></label>
<textarea placeholder="MAximum Limit 100 words" name="reas" required=""></textarea>
<div class="clearfix">
<button type="submit" name="submit" class="btn" value="upload">Submit</button>
</div>
</div>
</form>
</div>
</body>
</html>