-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathform.html
182 lines (171 loc) · 8.7 KB
/
form.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MMIL- Microsoft Mobile Innovation Labs</title>
<!-- Bootstrap -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="assets/css/animate.css" rel="stylesheet">
<link rel="icon" href="assets/img/logo3.png" type="image/jpg">
<link href="assets/css/style.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans|Josefin+Slab:300|Lato|Montserrat:300" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>
jQuery(window).load(function() {
jQuery(".loader").fadeOut(300);
});
</script>
</head>
<body id="top">
<div class="loader"></div>
<nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation">
<div class="container-fluid topnav">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#mainNavbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.html" class="navbar-brand" title="Homepage"><img src="assets/img/logo3.png">
<p>MMIL</p>
</a>
</div>
<div class="collapse navbar-collapse navbar-right" id="mainNavbar">
<ul class="nav navbar-nav">
<li><a href="about.html" id="link">About</a></li>
<li><a href="project.html" id="link">Contributions</a></li>
<li><a href="events.html" id="link">Events</a></li>
<li><a href="team.html" id="link">Team</a></li>
<li><a href="contact.html" id="link">Contact</a></li>
<li><a href="gallery.html" id="link">Gallery</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row register">
<h2 class="col-xs-4 col-xs-offset-4 animated fadeInDown" style="text-align:center" id="contact">Register here <i class="fa fa-level-down" aria-hidden="true"></i></h2>
</div>
<div class="row registerform animated fadeInDown">
<div class="col-xs-10 col-xs-offset-1">
<form method="post" action="form.php" role="form">
<div class="messages"></div>
<div class="controls">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="form_name">Name</label>
<input id="form_name" type="text" name="name" class="form-control" placeholder="Please enter your name" required="required" data-error="Name is required.">
<div class="help-block with-errors"></div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="form_rollnumber">Roll Number</label>
<input id="form_rollnumber" type="text" name="rollnumber" class="form-control" placeholder="Please enter your roll number" required="required" data-error="Roll Number is required.">
<div class="help-block with-errors"></div>
</div>
</div>
<div class="col-md-6">
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="form_email">Email</label>
<input id="form_email" type="email" name="email" class="form-control" placeholder="Please enter your email" required="required" data-error="Valid email is required.">
<div class="help-block with-errors"></div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="form_phone">Contact Number</label>
<input id="form_phone" type="tel" name="phone" class="form-control" placeholder="Please enter your number">
<div class="help-block with-errors"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="form_branch">Branch</label>
<input id="form_branch" type="text" name="branch" class="form-control" placeholder="Please enter your branch" required="required" data-error="Branch is required.">
<div class="help-block with-errors"></div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="form_year">Year</label>
<select id="form_year" name="year" class="form-control" required>
<option value="volvo" disabled>Select Your Year</option>
<option value="1">1st</option>
<option value="2">2nd</option>
<option value="3">3rd</option>
<option value="4">4th</option>
</select>
<div class="help-block with-errors"></div>
</div>
</div>
</div>
<div class="row" id="submitbtn">
<div class="col-xs-6 col-xs-offset-3">
<input type="submit" class="btn btn-success btn-send" value="Register Now">
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<footer class="footer">
<div class="inline-block">
<p class="copy" style="text-align: center;">© copyright@2017
<a href="#top" title="Top" class="smoothScroll"><i class="fa fa-chevron-up fa-1x fa-bw" style="float: right;color: white; margin-right:20px;"></i></a></p>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".navbar a, #navbar-fixed-bottom").on('click', function(event) {
if (this.hash !== "") {
event.preventDefault();
var hash = this.hash;
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 5000, function() {
window.location.hash = hash;
});
}
});
$(window).scroll(function() {
$(".slideanim").each(function() {
var pos = $(this).offset().top;
var winTop = $(window).scrollTop();
if (pos < winTop + 600) {
$(this).addClass("slide");
}
});
});
});
</script>
<script>
$('.smoothScroll').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 700);
return false;
}
}
});
</script>
</body>
</html>