-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
83 lines (78 loc) · 1.8 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<title>By Anubiskun</title>
<style>
body {
font-family: Arial, sans-serif;
width: 300px;
background-color: #0b7dda;
display: flex;
flex-direction: column;
align-items: center;
}
button {
padding: 10px 20px;
background-color: #2196F3;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #0b7dda;
}
.box {
width: 100%;
display: flex;
border: 1px solid #fff;
}
.box-container {
width: 100%;
height: 70px;
display: flex;
flex-direction: column;
align-items: center;
}
.box-head {
width: 100%;
height: 40px;
display: flex;
border-bottom: 1px solid #fff;
align-items: center;
justify-content: center;
}
.box-body {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
font-weight: 600;
}
</style>
<script src="popup.js"></script>
</head>
<body>
<h2>Insert Data to Google Form</h2>
<div class="box">
<div class="box-container">
<div class="box-head">No Urut Sekarang</div>
<div class="box-body" id="countNow">0</div>
</div>
<div class="box-container">
<div class="box-head">Total Data</div>
<div class="box-body" id="totalCount">0</div>
</div>
</div>
<div style="margin: 10px;">
<button id="btnSetting">Settings</button>
<button id="btnReset">Reset Count</button>
</div>
<div style="margin: 10px;">
<button id="btnStart">Start</button>
<button id="btnStop">Stop</button>
</div>
</body>
</html>