-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
edit.html
63 lines (60 loc) · 2.16 KB
/
edit.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<link href="common.css" rel="stylesheet" type="text/css"/>
<link href="edit.css" rel="stylesheet" type="text/css"/>
<meta charset="UTF-8"/>
<title>Edit Custom Button Code</title>
</head>
<body>
<div id="search">
<span>
<button id="search_previous">←</button>
</span>
<span>
<input type="text" id="search_text" placeholder="search text"/>
</span>
<span>
<button id="search_next">→</button>
</span>
<span>
<input type="checkbox" id="match_case"/><label for="match_case">Match Case</label>
</span>
<span id="go_to_line_number_span">
<label for="go_to_line_number">Line #:</label>
<input type="number" id="go_to_line_number" min="1" value="1" />
<button id="go_to_line">Go to Line</button>
</span>
<span>
<label for="select_class" id="select_class_label">Class:</label><select id="select_class"></select>
</span>
<span>
<label for="select_method" id="select_method_label">Method:</label><select id="select_method"></select>
</span>
<span>
<label for="select_function" id="select_function_label">Function:</label><select id="select_function"></select>
</span>
</div>
<textarea id="source_code" class="source-code" spellcheck="false"></textarea>
<div id="bottom_content">
<span id="cursor_position_and_errors">
<span id="cursor_position_container">
<span id="cursor_position"></span>
</span>
<span id="error_container">
<span id="error_position"></span>
<span id="error_description"></span>
</span>
<button id="go_to_error" class="button" disabled>Go to Error</button>
</span>
<span id="action_buttons">
<button id="save" class="action-button button" disabled>Save</button>
<button id="syntax_check" class="action-button button">Syntax Check</button>
<button id="pretty_print" class="action-button button">Pretty-Print</button>
<button id="settings" class="action-button button">Settings...</button>
<button id="cancel" class="action-button button">Close</button>
</span>
</div>
<script src="src/edit.js"></script>
</body>
</html>