forked from ZachSaucier/Just-Read
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
67 lines (57 loc) · 3.04 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Options - Just Read</title>
<meta name="author" content="Zach Saucier">
<link href="/icons/icon16.png" rel="icon">
<link href="options.css" rel="stylesheet"/>
</head>
<body>
<h1>Configure <i>Just Read</i></h1>
<div class="flex-container">
<div class="left-column">
<div class="stylesheet-list-container">
<input type="text" id="new-file" placeholder="New stylesheet..."/>
<button id="add">+</button>
<ul class="stylesheets">
<!-- This is populated by our JS -->
</ul>
</div>
<a class= "view-other-stylesheets" target="blank" href="https://github.com/ZachSaucier/Just-Read/issues/4">View more themes</a>
<h4>Auto-run domain list:</h4>
<textarea name="domainList" id="domainList"></textarea>
<div>This list is checked using regex. <br/>For more info, see <a href="https://github.com/ZachSaucier/Just-Read/issues/15#issuecomment-262255204">this post</a>.</div>
</div>
<div class="editor-container">
<div class="controls-container">
<button id="save">Save</button>
<button id="use">Use as current theme</button>
<button id="remove">Remove</button>
<button id="additional">Additional options</button>
</div>
<div class="editor">
<div id="css-editor"></div>
</div>
<label><input id="hideSegments" type="checkbox" checked /> Use hide-segments.css</label>
</div>
</div>
<div class="additional-options hidden">
<h3>Context menu entries</h3>
<label><input id="pageCM" type="checkbox" checked /> Enable page context menu entry.</label>
<label><input id="highlightCM" type="checkbox" checked /> Enable highlight context menu entry.</label>
<label><input id="linkCM" type="checkbox" checked /> Enable link context menu entry.</label>
<label><input id="autorunCM" type="checkbox" checked /> Enable auto-run context menu entry.</label>
<h3>Additional preferences</h3>
<label><input id="backup" type="checkbox" /> Backup the most recent Just Read page (in case of accidental closure).</label>
<label><input id="leavePres" type="checkbox" /> Never reformat pre tags.</label>
<label><input id="fullScrn" type="checkbox" /> Always auto-enable fullscreen when Just Read is started.</label>
<label><input id="alwaysAddAR" type="checkbox" /> Always add current site to Just Read's autorun list when Just Read is started on a page.</label>
<p>For more additional features, check out <a href="https://justread.link">Just Read Premium</a>!</p>
<button id="closeAdditional">X</button>
</div>
<script src="external-libraries/ace/ace.js"></script>
<script src="options.js"></script>
</body>
</html>