aboutsummaryrefslogtreecommitdiff
path: root/chrome/redirector.html
blob: 6a9de05ebace99ac1be75122bd9e23d518aa0d90 (plain)
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
<!DOCTYPE html>
<html>
	<head>
		<title>Redirector Extension Settings</title>
		<link rel="stylesheet" href="css/redirector.css?sfsdf" />
		<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
		<script type="text/javascript" src="js/redirector-ui.js"></script>
	</head>
	<body>
		<h1>Redirector</h1>
		<h5>Go where <em>YOU</em> want!</h5>
		<div id="actions">
			<button id="new-redirect">New Redirect...</button>
			<button id="configure">Configure</button>
			<button id="import">Import</button>
			<button id="export">Export</button>
		</div>
		<ul id="redirect-list">
			<li>
				<div>Redirect: <span class="pattern">pattern</span> to <span class="redirectTo"></span></div>
				<div>Example: <span class="exampleUrl"></span> becomes <span class="redirectResult"></span></div>
				<div>
					<a class="edit" href="#edit">Edit</a> 
					<a class="delete" href="#delete">Delete</a>
				</div>
			</li>
		</ul>
		<div id="config">
			<h2>Configuration</h2>
			<input type="checkbox" id="enable-redirector" data-pref="enabled" /><label>Enabled</label>
			<input type="checkbox" id="show-status-bar-icon" data-pref="showStatusBarIcon"/><label>Statusbar icon</label>
			<input type="checkbox" id="show-context-menu" data-pref="showContextMenu"/><label>Context menu</label>
			<input type="checkbox" id="enable-debug-output" data-pref="debugEnabled"/><label>Debug output</label>
		</div>
		<div id="redirect-form">
			<div>
				<label>Description</label>
				<input type="text" id="description" />
			</div>
			<div>
				<label>Example URL</label>
				<input type="text" id="example-url" />
			</div>
			<div>
				<label>Include Pattern</label>
				<input type="text" id="include-pattern" />
			</div>
			<div>
				<label>Exclude Pattern</label>
				<input type="text" id="exclude-pattern" />
			</div>
			<div>
				<label>Redirect To</label>
				<input type="text" id="redirect-to" />
			</div>
			<div>
				<label>Pattern Type</label>
				<input type="radio" name="pattern-type" id="regex-pattern" /> Regular Expression
				<input type="radio" name="pattern-type" id="wildcard-pattern" /> Wildcard
			</div>
			<div>
				<label>Unescape matches</label>
				<input type="checkbox" id="unescape-matches" />
			</div>
			<div>
				<label>Enabled</label>
				<input type="checkbox" id="redirect-enabled" />
			</div>
			<div class="button-row">
				<button id="save">Save</button>
				<button id="cancel">Cancel</button>
			</div>
		</div>
	</body>
</html>