-
Notifications
You must be signed in to change notification settings - Fork 3
/
options.html
100 lines (100 loc) · 1.93 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AESR Config Sender</title>
<script src="js/options.js"></script>
<style>
html { padding: 0 }
body {
background-color: #666;
font-size: 14px;
line-height: 1.25;
display: flex;
justify-content: center;
padding: 0;
margin: 0;
}
.pane {
box-sizing: border-box;
height: 100vh;
max-width: 660px;
width: 100%;
padding: 10px 20px;
}
#settingPane { background-color: #fff }
#howto {
background-color: #eee;
color: #444;
overflow-y: scroll;
padding-bottom: 25px;
}
a { text-decoration: none }
.head {
font-size: 13px;
font-weight: bold;
margin: 5px 0;
}
#settingPane h1 {
font-size: 20px;
line-height: 1.125;
margin: 1em 0 .68em;
}
#settings ul {
list-style: none;
margin: 0 0; padding: 0;
}
#settings ul li {
margin: 0;
padding: 0;
line-height: 26px;
}
#settings input {
position: relative;
top: 2px;
}
#awsConfigTextArea {
box-sizing: border-box;
font-size: 14px;
font-family: Consolas, "Courier New", Courier, Monaco, monospace;
padding: 0.5ex;
resize: none;
white-space: pre;
width: 100%;
height: calc(100vh - 400px);
max-height: 800px;
}
pre {
border: 1px solid #484848;
box-sizing: border-box;
font-size: 14px;
font-family: Consolas, "Courier New", Courier, Monaco, monospace;
padding: 0.5ex;
}
input, button { font-size: 16px }
code {
color: #222;
font-weight: bold;
}
</style>
</head>
<body>
<div class="pane" id="settingPane">
<section>
<h1>Configuration</h1>
<textarea id="awsConfigTextArea" spellcheck="false"></textarea>
<div style="margin-top:12px">
<button id="saveButton"> Send to AESR </button>
<span id="msgSpan" style="margin-left:12px"></span>
</div>
</section>
<section id="api">
<h1>Extension API</h1>
<div>
<label for="aesrIdText">AESR extension ID:</label>
<input id="aesrIdText" type="text" maxlength="48" style="width: 48ex">
</div>
</section>
</div>
</body>
</html>