-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
76 lines (75 loc) · 1.59 KB
/
options.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Options</title>
<style>
.export-and-import {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
width: 800px;
border-bottom: 1px solid #D0D0D0;
margin-bottom: 10px;
}
.export {
padding-right: 5px;
flex: 1;
}
.import {
padding-left: 5px;
flex: 1;
}
body {
font-size: 14px;
}
a {
display: block;
padding: 10px;
background-color: #E7E7E7;
text-decoration: none;
margin: 10px 0;
text-align: center;
}
.download {
margin-top: 12px;
}
.result {
display: none;
border-top: 1px solid #D0D0D0;
font-size: 24px;
text-align: center;
}
.result.show {
display: block;
}
a.disabled {
pointer-events: none;
color: silver;
}
</style>
</head>
<body>
<div class="export-and-import">
<div class="export">
<div id="exportDesc"></div>
<a href="#" class="download" id="link" download="serials-bookmark.json"></a>
</div>
<div class="import">
<div id="importDesc"></div>
<input accept=".json" type="file" id="selectFiles" value="Import" /><br />
<a href="#" class="import" id="import"></a>
</div>
</div>
<div class="reset">
<div id="resetDesc"></div>
<input type="checkbox" id="checkbox" name="checkbox">
<label for="checkbox" id="resetCheckbox"></label>
<a href="#" class="download" id="clear"></a>
</div>
<div class="result" id="result"></div>
<script src="js/options.js"></script>
</body>
</html>