-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
108 lines (71 loc) · 3.28 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-158954803-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-158954803-1');
</script>
<title>Arrangements Finder!</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.1.0/papaparse.min.js" integrity="sha256-Fh801SO9gqegfUdkDxyzXzIUPWzO/Vatqj8uN+5xcL4=" crossorigin="anonymous"></script>
<script src="script.js"></script>
<link rel="stylesheet" href="styles.css?v2">
<!--remove this-->
<script>
document.addEventListener('DOMContentLoaded', function(event) {
// document.getElementById('search_bar').value = '245634';
});
</script>
</head>
<body>
<div class="container">
<div style="padding: 0 15px;">
<div id="website_name">
Sitting Plan Finder
</div>
</div>
<div id="website_purpose_div" style="padding: 25px 15px;">
<label id="website_purpose">
Why use this website?<br><br>
Because, it saves you from:<br>
<ol>
<li>Downloading excel files.</li>
<li>Getting lost in these excel files while searching for your sitting plans.</li>
<li>Manually taking awkward screenshots of your sitting plans and cropping them.</li>
</ol>
Download an easy-to-glance, portrait image of relevant information!
</label>
</div>
<div style="text-align: center; padding: 0 15px;">
<input id="search_bar" style="display: inline-block" type="number" autofocus placeholder=" Registration number..."><br>
</div>
<div style="text-align: center; padding: 0 15px;">
<button id="search_button" style="display: inline-block" type="button" onclick="show_arrangements()">Find</button><br>
</div>
<div id="nothing_found_div" style="display: none; text-align: center">
<label id="nothing_found" style="display: inline-block" >
No Results :(
</label>
</div>
<div style="height: 32px;">
</div>
<div id="name_bar_div" style="display: none; text-align: center; padding: 0 15px; margin-bottom: 16px">
<input id="name_bar" style="display: inline-block; text-align: center" readonly><br>
</div>
<div id="display_area" style="display: none; text-align: center; margin: 0 15px !important;">
<img id="image_frame" src="" width="100%">
<canvas id="arrangements_display" style="display: none;"></canvas>
</div>
<div id="download_button_div" style="display: none; text-align: center">
<button id="download_button" style="display: inline-block" onclick="click_download_anchor()" type="button">
Download this image
</button>
<a id="download_anchor" download="arrangements.jpg" href=""></a>
</div>
</div>
</body>
</html>