-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
72 lines (66 loc) · 1.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Storage</title>
<script type="text/javascript" src="./mydb.js" ></script>
<script type="text/javascript" src="./offlineApi.js" ></script>
</head>
<style>
* {
font-family: Helvetica;
color: #333;
}
.container {
text-align: center;
}
.table {
margin: 30px 0px;
width: 100%;
border-spacing: 0;
}
.table td, .table th {
border: 1px solid #999;
padding: 5px;
border-left: 0;
}
.table td:first-child, .table th:first-child {
border-left: 1px solid #999;
}
.table td:last-child, .table th:last-child {
border-bottom: 1px solid #999;
}
#btn {
background: #4F8BFF;
border: none;
border-radius: 5px;
color: #FFFFFF;
padding: 10px 20px;
font-size: 18px;
font-weight: lighter;
cursor: pointer;
}
</style>
<body>
<div class="container">
<p id="log"></p>
<p id="status"></p>
</div>
<div class="container">
<button id="btn">Send request</button>
</div>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Type</th>
<th>Url</th>
<th>Data</th>
</tr>
</thead>
<tbody id="requestLog">
</tbody>
</table>
<script type="text/javascript" src="./app.js" ></script>
</body>
</html>