-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathoptions.html
More file actions
68 lines (59 loc) · 1.95 KB
/
options.html
File metadata and controls
68 lines (59 loc) · 1.95 KB
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
<head>
<link rel="stylesheet" href="lib/codemirror.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="options.css" />
<script src="lib/underscore.min.js"></script>
<script src="lib/jquery.min.js"></script>
<script src="lib/codemirror-compressed.js"></script>
<script src="util.js"></script>
<script src="options.js"></script>
</head>
<body>
<div class="section">
<h1 class="no-bottom-margin">Replacerator Rules</h1>
<table id="rules">
<tr>
<td></td>
<td></td>
<td>
<span id="code-toggle-button" class="float-right">
<i class="fa fa-font"></i>
<i class="toggle fa fa-toggle-off"></i>
<i class="fa fa-code grey"></i>
</span>
</td>
<td></td>
</tr>
<tr id="add-rule">
<td><input id="from-text" type="text" placeholder="from" /></td>
<td><i class="fa fa-long-arrow-right"></i></td>
<td>
<input id="to-text" type="text" placeholder="to" />
<div id="to-js" class="hidden"></div>
</td>
<td>
<i class="add-button fa fa-floppy-o"></i>
</td>
</tr>
</table>
</div>
<p>Disclaimer: Replacerator only runs on pageload, and is not guaranteed to cover dynamically loaded content.</p>
<div class="section">
<h1>Export / Import</h1>
<div>
<button class="button" id="export-json">
<i class="fa fa-file-code-o"></i> Export</button>
<button class="button" id="add-json">
<i class="fa fa-plus"></i> Add rules</button>
<button class="button" id="replace-json">
<i class="fa fa-recycle"></i> Replace rules</button>
</div>
<textarea id="rules-json"></textarea>
<h2>Extras</h2>
<div>
<button class="button add-extras" data-extra-id="cm_to_in">
Cm-to-inch converter
</button>
</div>
</div>
</body>