-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
163 lines (138 loc) · 5.65 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
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
<html>
<head>
<title> websocket test </title>
</head>
<body>
<style>
body {
font-family: Verdana, sans-serif;
color: white;
background-color:#141314;
}
/* tr {
border: 1px solid orange;
}
td {
border: 1px solid purple;
} */
input:focus {
outline: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield;
}
#settingsButton {
background-color: #141314;
color: white;
}
.skeleton {
opacity: 0.6;
animation: skeleton-loading 0.5s linear infinite alternate;
border-radius: 8px;
}
@keyframes skeleton-loading {
0% {
/* background-color: hsl(199, 81%, 44%); */
filter: grayscale(0)
}
100% {
/* background-color: hsl(200, 20%, 95%); */
filter: grayscale(70) brightness(20)
}
}
</style>
<div style="width: 18rem; padding: 0.5vh; background-color:#141314">
<div style="text-align: center; padding: 1vh">
<a href="" style="text-decoration: none; color: white" id="importTransactionsButton">
<div style="font-weight: bold; font-size: 1rem; display: inline; border: 2px solid grey; padding: 0.2vh 2vh 0.2vh 2vh; border-top-right-radius: 0.4rem; border-bottom-left-radius: 0.4rem;">
Import Transactions
</div>
</a>
</div>
<div style=" padding: 3vh; padding-top: 0; padding-bottom: 0">
<div id="requestStatusBox">
</div>
<div style="text-align: center; margin-bottom: 0.0">
<table>
<tr>
<td>
<p>
for the last
</p>
</td>
<td style="width: 2.5rem">
<input
type="number" id="daysInput"
style="font-size: 1rem; background-color: #464646; border: 1px solid grey; color: white; width: 100%"
value="0"
>
</td>
<td>
<p>
days
</p>
</td>
</tr>
</table>
</div>
<div style="text-align: center; margin-bottom: 0.0">
<p style="font-size: 0.8rem ;padding: 0; margin: 0">Recent Imports</p>
</div>
<div style="text-align: center; margin-bottom: 0vh">
<table>
<tr style="font-size: 0.6rem; text-align: center">
<td style="width: 15%">
</td>
<td>
Retrieved
</td>
<td style="width: 60%">
</td>
<td>
Consumed
</td>
<td style="width: 150%">
</td>
</tr>
</table>
</div>
<div id="transactionBay">
</div>
</div>
<div style="padding-top: 0; padding-bottom: 0; margin-bottom: 0.4rem">
<div style="display: inline; padding-top: 0.7vh; margin-left: 0.9vh; text-align: right">
<p style="display: inline; font-size: 0.8rem; padding: 0; margin: 0">
<img
src="https://i.imgur.com/3Ktp7tL.png"
width="3%"
style="margin-top: 0.3vh"
id="onlineStatusIndicator"
>
<span id="onlineStatusText" style=" font-size: 0.6rem; margin-bottom: 0.3vh">
</span>
</p>
</div>
<div style="display: inline; padding-top: 0.5vh; padding-right: 0.9vh">
<span>
<div style="display: inline; width: 40%; font-size: 0.6rem; padding: 0; margin: 0">
Uptime: <span id="upTime"></span>
</div>
</span>
</div>
<div style="display: inline; float: right; padding-top: 0.2rem; padding-right: 0.3rem">
<button id="settingsButton" style="font-size: 0.2rem;">
Settings
</button>
</div>
</div>
<div id="settingsPanel">
</div>
</div>
<script src="script.js"></script>
</body>
</html>