forked from josh2112/url-rewriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
55 lines (49 loc) · 1.52 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
<!DOCTYPE html>
<html>
<head>
<title>URL Rewriter extension options</title>
<link rel="stylesheet" type="text/css" href="css/shared.css">
<link rel="stylesheet" type="text/css" href="css/options.css">
<script src="jquery-2.1.1.min.js"></script>
<script src="options.js"></script>
</head>
<body>
<div id="message"> </div>
<div class="title">
<img src="../images/icon64.png"/>
<h1>URL Rewriter extension options</h1>
</div>
<hr/>
<div>
<h2>Test</h2>
<table>
<tr>
<td class="formLabelCell">URL</td>
<td><input type="text" class="tableTextBox" id="testInputText"/></span></td>
</tr>
<tr>
<td class="formLabelCell">Rewrites to</td>
<td><input type="text" class="tableTextBox" id="testOutputText" readonly/></span></td>
</tr>
<tr><td></td><td><span class="errorMessage" id="testInputErrorText"></span></td></tr>
</table>
</div><br>
<hr/>
<div id="rewriteDefContainer">
<h2>Rewrites</h2>
<div id="rewriteDefTemplate" class="rewriteDef">
If URL matches
<input type="text" class="inlineTextBox" name="regexText"/>,<br/>
replace text in group number
<input type="number" min="1" max="99" class="inlineTextBox" name="groupNumText"/>
with
<input type="text" class="inlineTextBox" name="replacementText"/>.
<button name="removeBtn" class="removeBtn red">X</button>
<div class="errorMessage" name="errText"></div>
<hr style="margin-top: 20px;"/>
</div>
</div>
<button id="addBtn">Add another rewrite</button>
<button id="saveBtn">Save</button>
</body>
</html>