-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
107 lines (102 loc) · 4.92 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-title" content="BAPA">
<meta name="application-name" content="BAPA">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<title>Dasbor BAPA</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicons/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="favicons/safari-pinned-tab.svg" color="#5bbad5">
<style>
pre {
padding: 5% 5% 5% 5%;
}
#versi {
color: #23d160
}
</style>
</head>
<body>
<section class="section">
<div class="container">
<span class="title is-3">Dasbor BAPA <span id="versi">1.3.9</span></span>
</div>
<br><br>
<div class="container">
<label class="label">
Teks WhatsApp
<button class="button is-dark is-small is-outlined is-pulled-right" onclick="regexKalimat()">RegEx
Kalimat</button>
</label>
<textarea class="textarea is-rounded" id="teks-rekap-sekarang"
placeholder="tidur sebelum 21:00"></textarea><br>
<label class="label">
Teks WhatsApp yang tidak terdeteksi
</label>
<textarea class="textarea is-rounded" id="teks-rekap-yang-tidak-terdeteksi"
placeholder="kalau ini kosong berarti semua orang melaporkan pembacaan dengan benar"
disabled></textarea><br>
<label class="label">
Teks WhatsApp sebelumnya, <strong>TEKS REKAP TIDAK BOLEH TERPOTONG</strong>
<button class="button is-dark is-small is-outlined is-pulled-right"
onclick="ekstrakTeksSebelumnya()">Ekstrak Kalimat</button>
</label>
<textarea class="textarea is-rounded" id="teks-rekap-sebelumnya"
placeholder="masukan teks REKAP sebelumnya disini"></textarea>
<br>
<hr>
<br>
<label class="label" id="pelapor">Nomor Urut Pelapor Pembacaan</label>
<input class="input is-rounded" id="daftar-pembaca" placeholder="42,49,69"><br><br>
<label class="label">
Pasal Hari Ini
<button class="button is-dark is-small is-outlined is-pulled-right"
onclick="dapatkanPasalKemarin()">Turunkan Pasal</button>
</label>
<input class="input is-rounded" id="pasal-hari-ini" placeholder="Wahyu 1-5"><br><br>
<label class="label">
Waktu Perekapan - <span id="waktu-pada-saat-ini">00:00:00</span>
<button class="button is-dark is-small is-outlined is-pulled-right" onclick="dapatkanWaktu()">Ambil
Waktu</button>
</label>
<input class="input is-rounded" id="waktu-jam-menit" placeholder="04:20"><br><br>
<label class="label">Hari Perekapan</label>
<input class="input is-rounded" id="waktu-hari-tanggal" placeholder="Rabu, 10 April 2019"><br><br>
<label class="label">Pasal Hari Esok</label>
<input class="input is-rounded" id="pasal-untuk-besok" placeholder="Kejadian 1-5"><br><br>
<div class="field">
<label class="label">Status Rekap</label>
<div class="control">
<div class="select" style="width:100%">
<select id="status-rekap" style="width:100%">
<option value="FINAL">FINAL</option>
<option value="SEMENTARA">SEMENTARA</option>
</select>
</div>
</div>
</div>
<br><br>
<button onclick="pelaksanaanPenyortiran()"
class="button is-medium is-success is-rounded is-fullwidth">Lakukan Penyortiran</button>
<br />
<button onclick="window.location.reload()"
class="button is-medium is-warning is-rounded is-fullwidth">Muat Ulang Situs</button>
<br>
<br>
<pre id="hasil-rekap">
</pre>
</div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="https://momentjs.com/downloads/moment-timezone-with-data.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/UpUp/1.1.0/upup.min.js"></script>
<script type="text/javascript" src="main.js"></script>
</body>
</html>