This repository has been archived by the owner on Dec 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontingent.html
243 lines (200 loc) · 10.2 KB
/
contingent.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
243
<!DOCTYPE HTML>
<html>
<head>
<title>Contingent Registration | UDGAM 2021</title>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1, viewport-fit=cover" name="viewport">
<meta content="ie=edge" http-equiv="x-ua-compatible">
<meta name="description" content="The Annual Entrepreneurship Summit of EDC, IIT Guwahati.">
<meta name="keywords" content="">
<!-- Styles -->
<link href="assets/css/page.min.css" rel="stylesheet">
<link href="assets/css/style2.css" rel="stylesheet">
<!-- Favicons -->
<link rel="apple-touch-icon" href="images/UDGAM_logo.svg" />
<link rel="icon" href="images/UDGAM_logo.svg" />
<!-- Open Graph Tags -->
<meta property="og:title" content="UDGAM 2021">
<meta property="og:description" content="The Annual Entrepreneurship Summit of EDC, IIT Guwahati.">
<meta property="og:image" content="images/favicon.png">
<meta property="og:url" content="https://udgam-iitg.in/">
<meta name="twitter:card" content="summary_large_image">
<!-- Font Awesome -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-145301884-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-145301884-2');
</script>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light navbar-stick-dark" data-navbar="smart">
<div class="container">
<div class="navbar-left">
<button class="navbar-toggler" type="button">☰</button>
<a class="navbar-brand" href="index.html">
<img class="logo-dark" src="images/UDGAM_logo_dark.svg" alt="logo" height="60px" width="60px">
<img class="logo-light" src="images/UDGAM_logo.svg" alt="logo" height="60px" width="60px">
</a>
</div>
<section class="navbar-mobile">
<!-- <span class="navbar-divider d-mobile-none"></span> -->
<nav class="nav nav-navbar ml-auto">
<a class="nav-link" href="index.html#home">Home</a>
<a class="nav-link" href="index.html#events">Events</a>
<a class="nav-link " href="speakers.html">Speakers</a>
<!-- <a class="nav-link" href="#">Schedule</a> -->
<a class="nav-link" href="sponsors.html">Sponsors</a>
<a class="nav-link" href="team_page.html">Team</a>
<a class="nav-link" href="index.html#contactus">Contact Us</a>
</nav>
<div>
<a class="btn btn-sm btn-round btn-primary ml-lg-4 mr-2" href="register.html">Register Now</a>
</div>
</section>
</div>
</nav>
<!-- One -->
<header class="header text-white" style="background-image: url(images/contingent.png);" data-overlay="6">
<div class="container text-center">
<div class="row">
<div class="col-md-8 mx-auto">
<h1>Contingent Registration</h1>
<p class="lead-2 opacity-90 mt-6">A single leaf working alone provides no shade.</p>
</div>
</div>
</div>
</header>
<div class="text-center">
<h2 class="display-4 fw-400 text-white">Contact Form</h2>
<hr class="w-10 bg-white">
</div>
<section class="section" style="margin-top: -80px;">
<div class="container">
<div class="row gap-y">
<div class="col-md-6 mx-auto section-dialog">
<form class="input-line" id="contact-form" name="submit-to-google-sheet">
<h5 class="text-center mt-3">Fill in your contact details, we will get back to you soon!
</h5><br>
<div class="form-group">
<label>Name <label class="text-danger">*</label></label>
<input class="form-control" name="Name" type="text" placeholder="Name" required>
</div>
<div class="form-group">
<label>Email <label class="text-danger">*</label></label>
<input class="form-control" name="Email" type="email" placeholder="Email" required>
</div>
<div class="form-group">
<label>Phone Number <label class="text-danger">*</label></label>
<input class="form-control" name="Phone_Number" type="tel" placeholder="Enter your number here" required>
</div>
<div class="form-group">
<label>Alternate Phone Number</label>
<input class="form-control" name="Alternate_Phone_Number" type="tel" placeholder="Enter your other number here">
</div>
<div class="form-group">
<label>Region <label class="text-danger">*</label></label>
<select class="form-control" name="Region" required>
<option>North East</option>
<option>North</option>
<option>South</option>
<option>West</option>
</select>
</div>
<div class="form-group">
<label>College Name <label class="text-danger">*</label></label>
<input class="form-control" name="College_Name" type="text" placeholder="College Name" required>
</div>
<button id="submit-btn" class="monitored-btn btn btn-primary btn-block" type="submit" data-toggle="modal" data-target="#modal-default">Submit</button>
</form>
</div>
</div>
</div>
</section>
<!-- Modal -->
<div class="modal fade" id="modal-default" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Thank You</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p class="lead">Thanks for submitting your details. We will get back to you soon. Please go ahead to complete your payment.</p>
</div>
<div class="modal-footer">
<a type="button" class="btn btn-success" target="_blank" href="https://www.thecollegefever.com/events/udgam-2021-the-annual-entrepreneurship-summit-of-iit-guwahati">Pay
Here</a>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer" style="background-color: #0c0032;">
<div class="container text-center">
<div class="social social-sm social-bg-brand social-cycling">
<a class="social-twitter" href="https://twitter.com/ecelliitg"><i class="fa fa-twitter"></i></a>
<a class="social-facebook" href="https://www.facebook.com/ecell.iitg/"><i
class="fa fa-facebook"></i></a>
<a href="mailto:edc@iitg.ac.in"><i class="fa fa-envelope"></i></a>
<a class="social-linkedin" href="https://www.linkedin.com/company/udgam-the-annual-entrepreneurship-summit-of-iit-guwahati/"><i
class="fa fa-linkedin"></i></a>
<a class="social-instagram" href="https://www.instagram.com/ecell_iitg/"><i
class="fa fa-instagram"></i></a>
</div>
<br>
<p class="small text-white">Copyright © 2021 UDGAM Creatives, All rights reserved.</p>
</div>
</footer>
<!-- Scripts -->
<script src="assets/js/page.min.js"></script>
<script src="assets/js/script.js"></script>
<script>
function checkForm() {
// here, "this" is an input element
var isValidForm = true;
$(this.form).find(':input[required]:visible').each(function() {
if (!this.value.trim()) {
isValidForm = false;
}
});
$(this.form).find('.monitored-btn').prop('disabled', !isValidForm);
return isValidForm;
}
$('.monitored-btn').closest('form')
// indirectly bind the handler to form
.submit(function() {
return checkForm.apply($(this).find(':input')[0]);
})
// look for input elements
.find(':input[required]:visible')
// bind the handler to input elements
.keyup(checkForm)
// immediately fire it to initialize buttons state
.keyup();
</script>
<script src="https://wzrd.in/standalone/formdata-polyfill"></script>
<script src="https://wzrd.in/standalone/promise-polyfill@latest"></script>
<script src="https://wzrd.in/standalone/whatwg-fetch@latest"></script>
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbwa8bcQ3-YGAYOgqNfEbacertcLogW_YmRIDSPP-035lA9fzrA/exec'
const form = document.forms['submit-to-google-sheet']
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, {
method: 'POST',
body: new FormData(form)
})
.then(response => console.log('Success!', response))
.catch(error => console.error('Error!', error.message))
})
</script>
</body>
</html>