-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
221 lines (206 loc) · 10.8 KB
/
contact.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#444444">
<title>Overseas Pemilu 2019</title>
<!-- Meta Tags -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Purbohadi Utomo">
<meta name="description" content="Pemilu 2019 Website. Indonesia's Presidential and Legislative Election 2019.">
<meta name="keywords" content="Pemilu,Contact Us,2019">
<!-- Open Graph Meta Tags -->
<meta property="og:title" content="Overseas Pemilu 2019" />
<meta property="og:description" content="Pemilu 2019 Website. Indonesia's Presidential and Legislative Election 2019.">
<meta property="og:image" content="https://pemilu2019.vlogz.win/images/pemilu.png" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<!-- Bootstrap 4.1.3 -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<!-- <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script> -->
<!-- <script src='https://www.google.com/recaptcha/api.js'></script> -->
<script src="https://www.google.com/recaptcha/api.js?render=explicit"></script>
<!-- <script src='https://www.google.com/recaptcha/api.js'></script>
-->
<script>
function onSubmit() {
document.getElementById("contact-form").submit();
}
var widgetId;
var form = document.getElementsByClassName('needs-validation');
form.onreset = onReset;
function onReset(event) {
// grecaptcha.reset(widgetId);
console.log("test Reset" + widgetId);
$window.grecaptcha.reset();
}
function verifyRecaptchaCallback (response) {
$('input[data-recaptcha]').val(response).trigger('change')
}
function expiredRecaptchaCallback () {
$('input[data-recaptcha]').val("").trigger('change')
}
var onloadCallback = function() {
widgetId = grecaptcha.render('g-recaptcha', {
'sitekey': '6LckcJkUAAAAANJz68F4b08btB1u5laoYj1SjKAo',
});
};
</script>
<style>
body {
background-color:white;
margin-bottom:100px;
background: url("../images/logo-kotak-pemilu.jpg") right top no-repeat, url("../images/mascot.png") fixed bottom no-repeat;
opacity:0.9;
}
a {
color:#007bff !important;
}
a:hover {
color:#c00 !important;
}
a:visited {
color:#37404e !important;
}
</style>
</head>
<body>
<div class="m-5 pb-5 bg-light">
<header>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="index.html">
<img src="images/logo-kotak-pemilu.jpg" width="50" height="50" alt="Pemilu logo">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggler" aria-controls="navbarToggler" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarToggler">
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="rating.html">Rating</a>
</li>
<li class="nav-item">
<a class="nav-link" href="howto.html">How To</a>
</li>
<li class="nav-item">
<a class="nav-link" href="faq.html">FAQ</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="contact.html">Contact Us</a>
</li>
</ul>
</div>
</nav>
</header>
<div class="container-fluid">
<h1>Contact Us</h1>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
<h3 class="lead">Send us your questions</h3>
<div class="status-message"></div>
<form class="needs-validation" id="contact-form" enctype="text/plain" action="mailto:" method="get" novalidate>
<div class="form-group">
<label for="inputEmail" class="col-form-label">Email</label>
<div>
<input type="email" class="form-control" id="inputEmail" placeholder="Email" required>
<div class="invalid-feedback">
Please fill a valid email.
</div>
</div>
</div>
<div class="form-group">
<label for="inputName" class="col-form-label">Name</label>
<div>
<input type="text" class="form-control" id="inputName" placeholder="Name" required>
<div class="invalid-feedback">
Email is required.
</div>
</div>
</div>
<div class="form-group">
<label for="inputQuestion" class="col-form-label">Questions</label>
<div>
<textarea class="form-control" id="inputQuestion" placeholder="Questions" rows="3" required></textarea>
<div class="invalid-feedback">
Questions is required.
</div>
</div>
</div>
<div class="form-group">
<div id="g-recaptcha" data-expired-callback="expiredRecaptchaCallback" data-callback="verifyRecaptchaCallback" data-error="Please complete the Captcha" required>
</div>
<input class="form-control d-none" data-recaptcha="true" required data-error="Please complete the Captcha">
<div class="invalid-feedback">
Are you human?.
</div>
<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
</div>
<div class="form-group" aria-label="Submit and Reset Buttons">
<button type="reset" class="btn btn-primary mr-5" data-callback="onReset" value="Reset" onclick="grecaptcha.reset();">Reset</button>
<button type="submit" class="btn btn-primary" data-callback="onSubmit" value="Submit">Submit</button>
</div>
</form>
<script>
// JavaScript to validate form submissions.
(function() {
'use strict';
window.addEventListener('load', function() {
var forms = document.getElementsByClassName('needs-validation');
var validation = Array.prototype.filter.call(forms, function(form) {
form.addEventListener('submit', function(event) {
if (form.checkValidity() === false) {
event.preventDefault();
event.stopPropagation();
}
form.classList.add('was-validated');
}, false);
});
}, false);
})();
</script>
</div>
</div>
</div>
<!-- Footer -->
<footer class="page-footer font-small blue pt-4 m-5 pb-5 bg-light">
<div class="container-fluid text-center text-md-left">
<div class="row">
<div class="col-md-6 mt-md-0 mt-3">
<h5 class="text-uppercase">Overseas Pemilu 2019</h5>
<p>Disclaimer, this website is independent website aggregating legislative and presidential data from KPU. This website doesn't affiliated with official KPU website and any political party. Legislative data aggregated from various sources. Data is not guaranteed 100% accurate. There is possibility of incomplete or obsolete data. If you found inaccuracy in the data you can contact the creator at <a href="https://vlogz.win">vlogz.win</a></p>
</div>
<hr class="clearfix w-100 d-md-none pb-3">
<div class="col-md-3 mb-md-0 mb-3">
<h5 class="text-uppercase">Offcial KPU Pemilu website</h5>
<ul class="list-unstyled">
<li>
<a href="https://kpu.go.id">KPU</a>
</li>
</ul>
</div>
<div class="col-md-3 mb-md-0 mb-3">
<h5 class="text-uppercase">Independent Pemilu 2019 website</h5>
<ul class="list-unstyled">
<li>
<a href="https://kawalpemilu.org">Kawal Pemilu</a>
</li>
<li>
<a href="http://pileg2019.xyz/">Pileg 2019</a>
</li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright text-center py-3">© 2019 Copyright:
<a href="https://pemilu2019.wlogz.win"> Pemilu 2019</a>
</div>
</footer>
</body>
</html>