-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
76 lines (56 loc) · 3.73 KB
/
index.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
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<base target="_blank">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<script src="dist/dist.js"></script>
<script src="dist/sn-codemirror-search/search.js"></script>
<script src="dist/sn-codemirror-search/searchcursor.js"></script>
<script src="dist/sn-codemirror-search/dialog/dialog.js"></script>
<link rel="stylesheet" media="all" href="dist/dist.css">
<link rel="stylesheet" media="all" href="dist/sn-codemirror-search/dialog/dialog.css">
</head>
<body>
<div id="wrapper">
<textarea id="code" name="code"></textarea>
<button id="config-panel-toggle" style="position: absolute; right: 15px; top: 1px; z-index: 10" onclick="displayConfigPanel()">
cfg
</button>
<div id="config-panel" style="display: none; position: absolute; top: 0px; bottom: 0px;">
Use monospace font for this note<br/>
<label><input type="radio" name="monospace" value="yes" onclick="changeMonospaceConfig('yes')"/> yes </label>
<label><input type="radio" name="monospace" value="no" onclick="changeMonospaceConfig('no')"/> no </label>
<label><input type="radio" name="monospace" value="default" onclick="changeMonospaceConfig('default')"/> default </label>
<br/><br/>
Use monospace font default (for notes you didn't select a specific choice) <br/>
<label><input type="radio" name="monospace_default" value="yes" onclick="changeMonospaceDefaultConfig('yes')"/> yes </label>
<label><input type="radio" name="monospace_default" value="no" onclick="changeMonospaceDefaultConfig('no')"/> no </label>
<br/><br/>
Allow non-wrapping lines to be longer for this note <br/>
<label><input type="radio" name="allow_longer_lines" value="yes" onclick="changeAllowLongerLinesConfig('yes')"/> yes </label>
<label><input type="radio" name="allow_longer_lines" value="no" onclick="changeAllowLongerLinesConfig('no')"/> no </label>
<label><input type="radio" name="allow_longer_lines" value="default" onclick="changeAllowLongerLinesConfig('default')"/> default </label>
<br/><br/>
Allow non-wrapping lines to be longer default (for notes you didn't select a specific choice) <br/>
<label><input type="radio" name="allow_longer_lines_default" value="yes" onclick="changeAllowLongerLinesDefaultConfig('yes')"/> yes </label>
<label><input type="radio" name="allow_longer_lines_default" value="no" onclick="changeAllowLongerLinesDefaultConfig('no')"/> no </label>
<br/><br/>
Color headers (<span class="colored-like-header">would be this color</span>) <br/>
<label><input type="radio" name="color_headers" value="yes" onclick="changeColorHeadersConfig('yes')"/> yes </label>
<label><input type="radio" name="color_headers" value="no" onclick="changeColorHeadersConfig('no')"/> no </label>
<label><input type="radio" name="color_headers" value="default" onclick="changeColorHeadersConfig('default')"/> default </label>
<br/><br/>
Color headers default (for notes you didn't select a specific choice) <br/>
<label><input type="radio" name="color_headers_default" value="yes" onclick="changeColorHeadersDefaultConfig('yes')"/> yes </label>
<label><input type="radio" name="color_headers_default" value="no" onclick="changeColorHeadersDefaultConfig('no')"/> no </label>
<br/><br/>
Indent Editor is free, please consider supporting me! <a href="https://github.com/MaxLap/standard-notes-indent-editor">(Click sponsor)</a>
<br/><br/>
<button onclick="hideConfigPanel()">
Close
</button>
</div>
<div>
</body>
</html>