-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
448 lines (371 loc) · 19.6 KB
/
index.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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
<!DOCTYPE html>
<html>
<head>
<?!= include('Stylesheet'); ?>
<base target="_self">
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
<!-- Google Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<!-- Material Design Bootstrap -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.15.0/css/mdb.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css" rel="stylesheet">
<!--fonts-->
<link rel="stylesheet" type="text/css"
href="//fonts.googleapis.com/css?family=Lato:300,400,700,400italic%7CJosefin+Sans:400,700,300italic">
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.1/css/lightbox.min.css">
<!-- recapcha -->
<script src="https://www.google.com/recaptcha/api.js?render=6Ld_YuwUAAAAAB4xN1J-A3NN83Xr-c6HxtLLy4Vz"></script>
</head>
<body>
<div class="demo" id="demo">
<div class="cp-preloader cp-preloader_type4">
<span class="cp-preloader__letter" data-preloader="S">S</span>
<span class="cp-preloader__letter" data-preloader="D">D</span>
<span class="cp-preloader__letter" data-preloader="A">A</span>
</div>
<div id="status"> </div>
</div>
<div id="website-body">
<header id="header" class="header">
<div class="container-fluid">
<!--Navbar-->
<nav class="navbar navbar-expand-lg navbar-dark">
<!-- Navbar brand -->
<a class="navbar-brand" href="#"><img id="nav-logo"
src="https://drive.google.com/uc?export=download&id=1-Qk1PT_5ZviofklCR462a3x3Uy_g6ZjO"
width="100%" height="100%"></a>
<!-- Collapse button -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#basicExampleNav"
aria-controls="basicExampleNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="basicExampleNav">
<!-- Links -->
<ul class="nav navbar-nav ml-auto">
<li id="home-button" class="nav-item home-btn" onclick="hideMenu()">
<a class="nav-link" id="home-btn" href="#">Home
<span class="sr-only">(current)</span>
</a>
</li>
<li id="event-btn" class="nav-item" onclick="hideMenu()">
<a class="nav-link" href="#Albums">Events</a>
</li>
<li id="about-btn" class="nav-item" onclick="hideMenu()">
<a href='#About' class="nav-link"> About</a>
<!--- <a href=""> --->
</li>
</ul>
</div>
<!-- Collapsible content -->
</nav>
<!--/.Navbar-->
</div>
<div class="welcome-container">
<div class="welcome">
<div class="welcomeMsg">
<h1 class="text-center">Welcome</h1>
<h3 class="text-center">To</h3>
<svg width="100%" height="100%">
<!-- Symbol-->
<symbol id="s-text">
<text text-anchor="middle" x="50%" y="15%" dy=".20em">Student Design </text>
<text text-anchor="middle" x="50%" y="45%" dy=".20em">And</text>
<text text-anchor="middle" x="50%" y="75%" dy=".20em">Arts Society</text>
</symbol>
<!-- Duplicate symbols-->
<use class="text" xlink:href="#s-text"></use>
<use class="text" xlink:href="#s-text"></use>
<use class="text" xlink:href="#s-text"></use>
<use class="text" xlink:href="#s-text"></use>
<use class="text" xlink:href="#s-text"></use>
</svg>
</div>
<div class="nav-btns">
<div class="row mx-auto">
<div class="col-xs-6">
<a href="#About" class="nav-btn d-block m-2">About us </a>
</div>
<div class="col-xs-6">
<a href="#Albums" class="nav-btn d-block m-2">Events </a>
</div>
</div>
</div>
</div>
</div>
</header>
<div id="Home" class="show">
<!--About SDA-->
<div class="About" id="About">
<div class="container-fluid">
<h1 class="heading-1 text-center">About Us</h1>
</div>
<div class="container-fluid">
<div class="row home-content justify-content-center">
<div class="col-md-6 img-logo text-center mx-auto">
<div class="img-container">
<img class="img-responsive"
src="https://drive.google.com/uc?export=download&id=1eib8ykyQU0qrYaTF8vkNN-cXORzsX4gf">
</div>
</div>
<div class=" col-md-6 text-center home-text-content mx-auto pt-3">
<p>
We, the engineers, are supposed to be innovative in order to provide solutions to
the problems challenging every system and we believe that creativity is a very
important ingredient in the recipe for innovation. Anybody can plan weird; that is
easy. What’s hard is to be simple. Making the simple, awesomely simple this is
creativity.<br>
So we, at Student Design and Arts Society, aim at discovering and polishing the
creative abilities of the students and help them realize their interests and
talents. Moreover, we help students in realizing them their artistic talents for we
believe that we are surrounded by art and it is an inevitable component in
accomplishing any task.
</p>
</div>
</div>
</div>
</div>
</div>
<!-------------------------- Years Button ------------------------------->
<div id="Albums" class="container-fluid mt-3">
<div class="Albums">
<div class="Album-selector">
<span class="Album-head">
<h3 class="heading-2">Albums</h3>
</span>
<span>
<button id="year_btn" class="btn bg-custom2 dropdown-toggle mr-4" type="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Year</button>
<div class="dropdown-menu">
</div>
</span>
</div>
<div class="row">
<div class="Album-holder" style="width:100%">
<div class="cards-holder" style="width:100%">
</div>
</div>
</div>
</div>
</div>
<!------------------------------ Home Ends --------------------------------------->
<!------------------------------ Event Viewer Starts ----------------------------->
<div id="Event">
<div class="event-bg">
<div class="row">
<div class="col-lg-12">
<h1 id="event-after-home" class="event-name"> </h1>
</div>
<div class="col-lg-12">
<a id="back_link" href="#"><button id="backbtn" class="btn btn-primary btn-sm"
onclick="eventGoBack()"><i class="fas fa-angle-left pl-1"></i> Back</button></a>
</div>
</div>
</div>
<!-- Breadcrumb here -->
<div id="breadcrumb-display" aria-label="breadcrumb">
<ol id="list" class="breadcrumb">
<li onclick="changeView()" id="home-btn" class="breadcrumb-item active">
Home
</li>
</ol>
</div>
<!--Folders here -->
<div class="FolderView">
</div>
<!--Image Display here -->
<div class="WebsiteFetch">
</div>
</div>
<!------------------------------- Form -------------------------------------->
<div id="form">
<div class="formbackground">
<div class="agile-volt">
<div class="agile-voltsub">
<h2>Share Photos</h2>
<script type="text/javascript">
var submitted = false;
</script>
<iframe name="hidden_iframe" id="hidden_iframe" style="display:none;"
onload="if(submitted) {window.location='https://anshultilondiya.github.io/SDA/'}"></iframe>
<form id="user_photo_submit" name="form"
action="https://docs.google.com/forms/u/0/d/e/1FAIpQLScF4NhjhqdSy4DmmYeQv-bg8PnQFSCiCxezM1VSMF_eKHYPYg/formResponse"
method="POST" target="hidden_iframe" onsubmit="submitted=true;">
<div class="agile-name">
<p>Name :</p>
<input type="text" name="entry.1853692475" placeholder="Name" required=""
onchange="botchecker()">
</div>
<div class="agile-email">
<p>E-mail :</p>
<input type="email" name="entry.1741081402" placeholder="E-mail" required="">
</div>
<div class="agile-week">
<p>Description :</p>
<textarea id="description" type="text" name="entry.1159372315"
placeholder="Description for your photograph"></textarea>
</div>
<div class="agile-week">
<p>Link :</p>
<textarea onchange="is_url()" id="drivelink" type="drivelink" name="entry.1752709935"
placeholder="Google drive link where the photos are stored" required=""></textarea>
</div>
<div class="clear"></div>
<input id="checkid" type="submit" id="submit" value="Submit" />
<input type="hidden" id="token" name="token">
</form>
<script>
var valid_url
function is_url() {
regexp = /https:\/\/drive\.google\.com\/(drive\/folders\/)?(drive\/u\/0\/folders\/)?(folderview\?id=)?[a-zA-Z0-9\?=]+/;
var str = document.getElementById("drivelink").value;
if (str == '') {
document.getElementById("checkid").disabled = false;
alert("Please enter a valid link");
} else if (regexp.test(str)) {
document.getElementById("checkid").disabled = false;
valid_url = true;
if (valid_url) {
$("#checkid").attr("onclick", "submitresp()");
}
return true;
} else {
document.getElementById("checkid").disabled = true;
alert("Please enter a valid link");
return false;
}
}
</script>
<script>
var tokenValue = '';
var response = '';
grecaptcha.ready(function () {
grecaptcha.execute('6Ld_YuwUAAAAAB4xN1J-A3NN83Xr-c6HxtLLy4Vz', {
action: 'homepage'
}).then(function (token) {
tokenValue = token;
// console.log(token);
//document.getElementById("token").value = token;
});
});
function botchecker() {
google.script.run.withSuccessHandler(notice).processForm(tokenValue);
}
function notice(resp) {
console.log($("#user_photo_submit").attr("action"))
response = resp;
if (resp == 'You are a robot') {
// console.log(resp)
// $("#user_photo_submit").attr("action"," ");
}
/*else{
$("#user_photo_submit").attr("action","#");
}*/
//console.log($("#user_photo_submit").attr("action"))
}
function submitresp() {
alert(response);
}
</script>
</div>
</div>
</div>
</div>
<!-- FORM -->
<!-- -----------Footer ------------->
<footer class="font-small page-footer bg-custom1">
<div class="container">
<div class="container-fluid">
<div class="row">
<div class="col-sm">
<!-- Links -->
<h5 class="text-uppercase h5-responsive font-weight-bold">Find Us At</h5>
<ul class="list-unstyled">
<li>
<a class="links" href="http://www.iitj.ac.in/" target="_blank">IIT Jodhpur</a>
</li>
<li>
<a class="links" href="https://students.iitj.ac.in/" target="_blank">IITJ
Gymkhana</a>
</li>
<li>
<a class="links" href="https://github.com/devlup-labs" target="_blank">DevlUp
Labs</a>
</li>
</ul>
</div>
<div class="col-sm">
<div class="logo-container">
<img src="https://drive.google.com/uc?export=download&id=1B6jxY5kumO2lfJnD0x3bUI4QhmteIBX2"
width=100% height=100%>
</div>
</div>
<div class="col-sm">
<div class="iitj">
<h5 class="h5-responsive text-uppercase font-weight-bold">Indian Institute of
Technology, Jodhpur</h5>
<p>NH 65, Surpura Bypass Rd<br>Karwar,<br>Rajasthan 342037</p>
</div>
</div>
</div>
</div>
</div>
<!-- Copyright -->
<div class="footer-copyright text-center py-3">© 2020, made with <i class="fa fa-heart"></i> by <a
class="links" target="_self" href="<?= ScriptApp.getService().getUrl(); ?>?goto=team"><b> SDA WebD
Team</b> </a>for Student Design and Art Society
</div>
<!-- Copyright -->
</footer>
<!---------------------- Footer ----------------->
</div>
<!----------------- website-body end -------------->
<!-- JQuery -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js">
</script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.15.0/js/mdb.min.js">
</script>
<?!= include('JavaScript'); ?>
<!-- preloader -->
<script>
document.onreadystatechange = function () {
if (document.readyState !== "complete") {
document.querySelector(
"#website-body").style.display = "none";
document.querySelector(
"#demo").style.visibility = "visible";
} else {
document.querySelector(
"#demo").style.display = "none";
document.querySelector(
"#website-body").style.display = "block";
}
};
</script>
<!---------- Light Box ----------->
<script type="text/javascript" src='https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.1/js/lightbox.min.js'>
</script>
<script>
lightbox.option({
'resizeDuration': 200,
'wrapAround': true,
'disableScrolling': true,
})
</script>
</body>
</html>