-
Notifications
You must be signed in to change notification settings - Fork 2
/
options.html
133 lines (133 loc) · 3.83 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Chrome Link Pad Option</title>
<style>
body{
}
#wrap {
width: 600px;
margin: 0 auto;
}
h1 {
border-radius: 3px;
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(188,200,144,1)), to(rgba(157,174,91,1)));
text-align: center;
color: white;
text-shadow: 1px 1px 1px #617122;
padding: 0.5em;
-webkit-box-shadow: 1px 1px 1px gray;
}
h2 {
font-size: 100%;
margin: 0 0 1em 0;
color: #617122;
}
div.group {
border-radius: 3px;
border: 1px solid #A1B162;
-webkit-box-shadow: 1px 1px 1px silver;
padding: 1em;
margin-bottom: 20px;
}
div.item {
margin-left: 1em;
}
.item {
margin-top: 1em;
}
fieldset {
border-radius: 3px;
border: 1px solid silver;
}
.value {
display: inline-block;
border-radius: 3px;
border: 1px solid silver;
width: 5em;
text-align: right;
}
#ExcludeURLs {
list-style-type: none;
padding-left: 0;
}
input.url {
width: 20em;
}
.tips {
color: gray;
display: block;
}
</style>
<script src="options.js"></script>
</head>
<body>
<div id="wrap">
<h1>Chrome Link Pad Option</h1>
<div id="general" class="group">
<h2 id="TitleBasics">Basics</h2>
<div class="item">
<input type="checkbox" id="ToRemove"><label for="ToRemove">Remove when opened.</label>
</div>
<!--
<div class="item">
<input type="checkbox" id="UseBookmark"><label for="UseBookmark">Use bookmark.</label>
<span class="tips" iD="tips_UseBookmark">* Links are saved in the "Chrome Link Pad" folder in bookmarks, allowing you to synchronize it with other computers.</span>
</div>
-->
</div>
<div id="general" class="group">
<h2 id="TitleContextMenus">Context menus</h2>
<fieldset class="item">
<legend id="LinkMenu">
Link menu
</legend>
<div class="item">
<input type="checkbox" id="LinkMenuAdd"><label for="LinkMenuAdd">Save to Link Pad</label>
</div>
</fieldset>
<fieldset class="item">
<legend id="DocumentMenus">
Document menus
</legend>
<div class="item">
<input type="checkbox" id="DocumentMenuAdd"><label for="DocumentMenuAdd">Save this page to Link Pad</label>
</div>
<div class="item">
<input type="checkbox" id="DocumentMenuAddClose"><label for="DocumentMenuAddClose">Save this page to Link Pad and close tab</label>
</div>
</fieldset>
</div>
<div id="autoSave" class="group">
<h2 id="TitleAutoSave">Auto save</h2>
<fieldset class="item">
<legend>
<input type="checkbox" id="AutoSave"><label for="AutoSave">The tab by which definite-period-of-time neglect is carried out is saved automatically, and is closed.</label>
</legend>
<div class="item">
<label for="AutoSaveTime">Auto save time:</label>
<input type="range" id="AutoSaveTime" max="60" min="1" step="1"> <span class="value" id="AutoSaveTime_val" /> [minute(s)]
</div>
<div class="item">
<input type="checkbox" id="AutoSaveDupplicateClose"><label for="AutoSaveDupplicateClose">Close tab that is already saved.</label>
</div>
<fieldset class="item">
<legend id="ExcludeURL">
Exclude URLs (prefix)
</legend>
<ul id="ExcludeURLs" />
<input type="text" id="ExcludeURL_text" class="url" value="" /><button id="ExcludeURL_add">Add</button>
</fieldset>
</fieldset>
</div>
<div id="general" class="group">
<h2 id="TitleAdvanced">Advanced</h2>
<div class="item">
<input type="button" id="ResetLinks" value="Delete all links" />
<input type="button" id="ResetConfig" value="Reset configuration" />
</div>
</div>
</div>
</body>
</html>