-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·79 lines (79 loc) · 2.98 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
77
78
79
<!DOCTYPE html>
<html>
<head>
<title>Advent of Code 2019</title>
<meta charset="utf-8">
<script src="lib_intcode.js"></script>
<script src="lib_svg.js"></script>
<script src="lib.js"></script>
<style>
body {
text-align: center;
margin: 0;
padding: 0;
}
.area {
position: relative;
display: inline-block;
width: calc(50% - 20px);
height: 92vh;
padding: 5px 5px 20px;
border: 1px solid black;
}
textarea {
width: 100%;
height: 100%;
position: relative;
z-index: 5;
background: transparent;
text-align: left;
border: 0;
}
img,
svg {
position: absolute;
top: 30px;
left: 0;
max-height: calc(100% - 30px);
max-width: 100%;
}
</style>
</head>
<body>
<div id="input_area" class="area"><textarea id="input" placeholder="input data"></textarea></div>
<div id="output_area" class="area"><textarea id="output" placeholder="output data" readonly></textarea></div>
<br>
<select id="day">
<option value="1" disabled>Day 1</option>
<option value="2" disabled>Day 2</option>
<option value="3" disabled>Day 3</option>
<option value="4" disabled>Day 4</option>
<option value="5" disabled>Day 5</option>
<option value="6" disabled>Day 6</option>
<option value="7" disabled>Day 7</option>
<option value="8" disabled>Day 8</option>
<option value="9" disabled>Day 9</option>
<option value="10" disabled>Day 10</option>
<option value="11" disabled>Day 11</option>
<option value="12" disabled>Day 12</option>
<option value="13" disabled>Day 13</option>
<option value="14" disabled>Day 14</option>
<option value="15" disabled>Day 15</option>
<option value="16" disabled>Day 16</option>
<option value="17" disabled>Day 17</option>
<option value="18" disabled>Day 18</option>
<option value="19" disabled>Day 19</option>
<option value="20" disabled>Day 20</option>
<option value="21" disabled>Day 21</option>
<option value="22" disabled>Day 22</option>
<option value="23" disabled>Day 23</option>
<option value="24" disabled>Day 24</option>
<option value="25" disabled>Day 25</option>
</select>
<select id="part">
<option value="1">Part 1</option>
<option value="2">Part 2</option>
</select>
<button id="submit" onclick="adventofcode.submit();">submit</button>
</body>
</html>