This repository has been archived by the owner on Nov 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
options.html
117 lines (116 loc) · 6.1 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
<!DOCTYPE html>
<!--
/**
* Copyright (c) 2010 Arnaud Leymet
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Chrome Tab Sugar <http://github.com/arnaud/chrome-tab-sugar>
*/
-->
<html>
<head>
<title>Tab Sugar Options</title>
<link href="css/options.css" media="screen" rel="stylesheet" type="text/css">
<script src="js/lib/jquery.1.4.2.min.js" type="text/javascript"></script>
<script src="js/lib/jquery-ui.1.8.2.min.js" type="text/javascript"></script>
<script src="js/lib/jquery.hotkeys-0.7.9.min.js" type="text/javascript"></script>
<script src="js/lib/JS.Class.2-1-5/core.js" type="text/javascript"></script>
<script src="js/lib/JS.Class.2-1-5/stdlib.js" type="text/javascript"></script>
<script src="js/lib/jquery.client.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$('h1').html('Tab Sugar '+chrome.i18n.getMessage("optionsTitle"));
$('h2').html(chrome.i18n.getMessage("optionsTitle"));
$('.activate').html(chrome.i18n.getMessage("optionsActivate"));
$('.experimental').html('('+chrome.i18n.getMessage("optionsExperimental")+')');
$('#devmode').html(chrome.i18n.getMessage("optionsDevMode"));
$('#reinit').parent().find('>label').first().html(chrome.i18n.getMessage("optionsDevMode")+':');
$('#preview').parent().find('>label').first().html(chrome.i18n.getMessage("optionsFeatureTabsPreview")+':');
$('#autoresize').parent().find('>label').first().html(chrome.i18n.getMessage("optionsFeatureRearrangeTabs")+':');
$('#snapgroups').parent().find('>label').first().html(chrome.i18n.getMessage("optionsFeatureSnapGroups")+':');
$('#shortcut_key').parent().find('>label').first().html(chrome.i18n.getMessage("optionsFeatureKeyboardShortcut")+':');
$('#updates').parent().find('>label').first().html(chrome.i18n.getMessage("optionsFeatureLatestUpdates")+':');
});
</script>
</head>
<body id="options">
<script src="js/ga.js" type="text/javascript"></script>
<script src="js/activate_hotkey.js" type="text/javascript"></script>
<script src="js/bg/storage.js" type="text/javascript"></script>
<script src="js/jquery.tabsugar.utils.js" type="text/javascript"></script>
<script src="js/options.js" type="text/javascript"></script>
<header>
<img src="/ico/48.png" />
<h1>Tab Sugar Options</h1>
<span id="message" style="display: none"></span>
</header>
<div id="content">
<span id="devmode" href="#" onclick="devmode()"></span>
<h2>Options</h2>
<div class="dev advanced">
<label></label>
<input type="button" id="reinit" href="#" onclick="reinitialize()" value="Reset Tab Sugar…"></input>
</div>
<div id="innercontent">
<div class="item">
<label for="preview" class="main"></label>
<input type="checkbox" id="preview" onclick="preview()" /><label class="activate" for="preview"></label>
</div>
<div class="item">
<label for="autoresize" class="main"></label>
<input type="checkbox" id="autoresize" onclick="autoresize()" /><label class="activate" for="autoresize"></label>
</div>
<div class="item">
<label for="snapgroups" class="main"></label>
<input type="checkbox" id="snapgroups" onclick="snapgroups()" /><label class="activate" for="snapgroups"></label>
<span class="experimental"></script>)</span>
</div>
<div class="item">
<label class="main"></label>
<input type="checkbox" id="shortcut_ctrl" onclick="shortcut()" /><label for="shortcut_ctrl">Ctrl</label>
+<input type="checkbox" id="shortcut_shift" onclick="shortcut()" /><label for="shortcut_shift">Shift</label>
+<select id="shortcut_key" onchange="shortcut()">
<option value="esc">esc</option>
<option value="space">space</option>
</select>
<span class="experimental"></span>
</div>
<div class="item">
<label for="updates" class="main"></label>
<input type="checkbox" id="updates" onclick="updates()" /><label class="activate" for="updates"></label>
</div>
<!--
<label for="opening">Tab Sugar opens:</label>
<select id="opening" onchange="opening()">
<option value="new_tab">as a new tab in the current window</option>
<option value="new_window">as a new window</option>
<option value="every_new_tab">in every new tab</option>
<option value="startup">at Chrome startup</option>
</select>
-->
<div class="item advanced">
<label for="traces" class="main">Developer traces:</label>
<input type="checkbox" id="traces" onclick="traces()" /><label class="activate" for="traces"></label>
</div>
</div>
</div>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftabsugar.com&layout=button_count&show_faces=true&width=154&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:154px; height:21px;" allowTransparency="true"></iframe>
</body>
</html>