aboutsummaryrefslogtreecommitdiff
path: root/chrome/redirector.html
blob: 48f1948c75d8cc284935ad97b7beb110afd9f7d9 (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
<!DOCTYPE html>
<html>
	<head>
		<title>URL Rewriter 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>URL Rewriter</h1>
		<h5>Go where <em>YOU</em> want!</h5>
		<div id="actions">
			<button id="new-redirect">New Redirect...</button>
			<button id="import">Import</button>
			<button id="export">Export</button>
			<button id="help">Help</button>
		</div>
		<ul id="redirect-list">
			<li>
				<div><span class="disabled">Disabled</span> 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="redirect-form" class="dialog">
			<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>Escape matches</label>
				<input type="checkbox" id="escape-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>
				<button id="test-pattern">Test pattern</button>
			</div>
		</div>
	</body>
</html>