forked from shatgupt/runmycode-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
86 lines (76 loc) · 1.96 KB
/
options.html
File metadata and controls
86 lines (76 loc) · 1.96 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
.options {
width: 450px;
font-size: 12px;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
margin: 0px auto 27px;
}
fieldset {
padding: 10px 15px 15px;
border: 1px solid black;
margin: 0 20px;
}
fieldset > legend {
font-size: inherit;
font-weight: bold;
}
input {
width: 100%;
display: block;
padding: 10px;
font-size: 14px;
font-family: inherit;
margin-bottom: 15px;
box-sizing: border-box;
border: 1px solid black;
background: rgba(54, 225, 236, 0.12);
}
input:disabled, input[readonly] {
color: #6d6d6d;
border-color: transparent;
background-color: #ebebe4;
}
input[type="button"] {
border: none;
cursor: pointer;
background: #42eaeb;
}
input[type="button"]:disabled {
cursor: default;
background: #d5d5d5;
}
label {
font-weight: bold;
font-size: inherit;
font-family: inherit;
}
#error {
color: red;
display: none;
}
#save {
margin-bottom: 0px;
}
</style>
</head>
<body>
<form class="options">
<fieldset>
<legend>OPTIONS</legend>
<input id="edit" type="button" value="Edit Options">
<h4 id="error"></h4>
<label>API URL</label>
<input type="text" id="api-url" readonly="readonly">
<label>API Key</label>
<input type="text" id="api-key" readonly="readonly">
<input id="save" type="button" value="Save" disabled>
</fieldset>
</form>
<script src="browser-polyfill.min.js"></script>
<script src="options.js"></script>
</body>
</html>