-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkonsultasi.html
318 lines (283 loc) · 11.5 KB
/
konsultasi.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>| Konsultasi</title>
<link rel="stylesheet" href="CSS/stylekonsultasi.css">
<link rel="shortcut icon" href="image/logo_square.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="javascript/konsultasi.js"></script>
<script src="https://kit.fontawesome.com/26a7f3b810.js" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
</head>
<body class="color">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid" id="header">
<div class="logo">
<a href="index.html"><img src="image/logo_DP.png" title="Click me!"></a>
</div>
<!--toggler button menu responsive-->
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#content" aria-controls="content" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="content">
<ul class="navbar-nav me-auto mb-2 mb-lg-0" id="nav">
<li class="nav-item">
<a class="nav-link" href="index.html" >Beranda</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Layanan
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="terbitbuku.html">Penerbitan Buku</a></li>
<li><a class="dropdown-item" href="konsultasi.html">Konsultasi</a></li>
<li><a class="dropdown-item" href="kirimnaskah.html">kirim Naskah</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="literatur.html">Literatur</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Karir</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Toko Buku</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Tentang Kami</a>
</li>
</ul>
</div>
</div>
</nav>
<!--body-->
<div class="body_content">
<div class="title_content">
<h2>Konsultasi Gratis</h2>
<p>"Anda dapat melakukan konsultasi secara gratis kapanpun dan dimanapun dengan mengisi form di bawah ini"</p>
</div>
<br>
<div class="form_container">
<div class="row">
<form id="form" onkeyup="stopedtype()">
<!--name input field-->
<div class="input">
<div class="col-25" id="margin">
<span>Nama Lengkap</span>
</div>
<div class="col-75">
<div class="input_name">
<div class="message_error_1">
<span class="fielderror_1"></span>
</div>
<span class="coba">
<i class="fas fa-user-alt"></i>
</span>
<input type="text" name="nama_lengkap" aria-describedby="detail-name" id="name" placeholder="Masukkan nama anda" class="col_1" onfocus="return CheckName()" onkeyup="empty_name()">
</div>
<div id="detail-name" class="form-text">Sertakan gelar jika ada.</div>
</div>
</div>
<!--phone input field-->
<div class="input">
<div class="col-25" id="margin">
<span>No.Telepon / HP</span>
</div>
<div class="col-75">
<div class="input_phone">
<div class="message_error_2">
<span class="fielderror_2"></span>
</div>
<span class="coba">
<i class="fas fa-phone"></i>
</span>
<input name="phone" type="text" onkeypress="return isNumberPhone(event)" placeholder="08XXX" id="phone" onfocus="return CheckPhone()" class="col_2" onkeyup="empty_phone()" />
</div>
<div id="phone" class="form-text">No telepon aktif.</div>
</div>
</div>
<!--email input field-->
<div class="input">
<div class="col-25" id="margin">
<span>E-mail</span>
</div>
<div class="col-75">
<div class="input_email">
<div class="message_error_3">
<span class="fielderror_3"></span>
</div>
<span class="coba">
<i class="fas fa-envelope"></i>
</span>
<input type="email" name="emil" placeholder="Masukkan e-mail anda" id="email" onfocus="return CheckEmail()" class="col_3" onkeyup="emailValidate()">
</div>
<div id="email" class="form-text">E-mail aktif.</div>
</div>
</div>
<!--usia input field-->
<div class="input">
<div class="col-25" id="margin">
<span>Usia</span>
</div>
<div class="col-75">
<div class="input_age">
<div class="message_error_4">
<span class="fielderror_4"></span>
</div>
<input type="number" name="umur" min="10" class="col_4" id="age" onfocus="return CheckAge()" value="10" onkeypress="return isNumberPhone(event)" onkeyup="empty_age()">
</div>
<div id="umur" class="form-text">Usia saat ini.</div>
</div>
</div>
<!--jenis kelamin input field-->
<div class="input_2" style="padding-bottom: 10px;">
<div class="col-25" id="title_gender">
<span>Jenis Kelamin</span>
</div>
<div class="col-75" id="gender">
<div class="border_gender">
<div class="message_error_8">
<span class="fielderror_8">
</span>
</div>
<div onclick="radio_gender()" style="width:100%; display: flex;flex-wrap: wrap;">
<div class="form-check" id="Check" >
<input class="form-check-input" type="radio" name="flexRadioDefault" id="gender_wanita">
<label class="form-check-label" for="gender_wanita">
Wanita</label>
</div>
<div class="form-check" id="Check">
<input class="form-check-input" type="radio" name="flexRadioDefault" id="gender_pria">
<label class="form-check-label" for="gender_pria">
Pria</label>
</div>
<div class="form-check" id="Check">
<input class="form-check-input" type="radio" name="flexRadioDefault" id="gender_lainnya">
<label class="form-check-label" for="gender_lainnya">
Lainnya</label>
</div>
</div>
</div>
</div>
</div>
<!--pekerjaan input field-->
<div class="input_2">
<div class="col-25">
<span>Pekerjaan</span>
</div>
<div class="col-75" id="jobs" onclick="Check()">
<div class="border_jobs">
<div class="message_error_5">
<span class="fielderror_5">
</span>
</div>
<div class="form-check" id="job_1" >
<input class="form-check-input" type="checkbox" value="" id="flexCheckguru">
<label class="form-check-label" for="flexCheckguru">
Pengajar
</label>
</div>
<div class="form-check" id="job_1">
<input class="form-check-input" type="checkbox" value="" id="flexCheckwira">
<label class="form-check-label" for="flexCheckwira">
Wiraswasta
</label>
</div>
<div class="form-check" id="job_1">
<input class="form-check-input" type="checkbox" value="" id="flexCheckpelajar">
<label class="form-check-label" for="flexCheckpelajar">
Pelajar
</label>
</div>
<div class="form-check" id="job_1">
<input class="form-check-input" type="checkbox" value="" id="flexChecklainnya">
<label class="form-check-label" for="flexChecklainnya">
Lainnya
</label>
</div>
</div>
</div>
</div>
<!--judul buku input field-->
<div class="input">
<div class="col-25" id="title_book">
<span>Judul Buku</span>
</div>
<div class="col-75">
<div class="input_title">
<div class="message_error_6">
<span class="fielderror_6">
</span>
</div>
<input type="text" name="judul_buku" aria-describedby="book-title" id="title" class="col_6" onfocus="CheckTitle()" onkeyup="empty_title()">
</div>
<div id="book-title" class="form-text">Judul buku yang sedang dikerjakan.</div>
</div>
</div>
<!--masalah input field-->
<div class="input">
<div class="col-25">
<span>Masalah yang dihadapi</span>
</div>
<div class="col-75">
<div class="input_problem">
<div class="message_error_7">
<span class="fielderror_7"></span>
</div>
</div>
<textarea name="subject" style="height:200px" id="problem" class="col_7" onfocus="CheckProblem()" onkeyup="empty_problem()"></textarea>
</div>
</div>
<input type="button" value="Kirim" id="button" class="button" onclick="checkValidate()" disabled="">
<!--popup dialog box-->
<div id="myModal" class="modal_pop">
<!-- Modal content -->
<div class="modal-content_1">
<div class="modal-header_1">
<i class="fas fa-check-circle" id="confirm"></i>
</div>
<div class="modal-body_1">
<p>"Terima Kasih atas tanggapannya <br>
Kami akan segera memproses"</p>
</div>
<button name="" class="confirm">OK</button>
</div>
</div>
</form>
</div>
</div>
</div>
<br>
<!--footer-->
<div class="footer">
<div class="socmed">
<i class="fab fa-facebook-f" id="socmed"></i>
<i class="fab fa-youtube" id="socmed"></i>
<i class="fab fa-instagram" id="socmed"></i>
<i class="fab fa-twitter" id="socmed"></i>
</div>
<div class="copyright">
<p>© 2021 All rights reserved | Dewa Publish | Infinity Programming</p>
</div>
</div>
</body>
<script type="text/javascript">
/*$('#name').focusout(function(){
// Get the Login Name value and trim it
var name = $('#name').val().trim();
// Check if empty of not
if (name.length > 1) {
$(".fielderror").html("Ok");
$(".fielderror").addClass('ok').removeClass('warning');
} else {
$(".fielderror").html("Empty");
$(".fielderror").addClass('warning').removeClass('ok');
}
//if (name == '') { alert('empty character');}
});*/
</script>
</html>