This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
119 lines (101 loc) · 3.27 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>YXI code runner</title>
<style>
.try {
width: 100%;
height: 100%;
margin: auto;
}
.try .editor.row .control-label {
display: inline-block;
position: relative;
top: -4px;
margin-right: 4px
}
.try .editor .editor-frame {
position: relative
}
.try .container {
height: 100%;
}
.try .editor {
height: 100%;
}
.try .editor .editor-frame,
#editor {
height: 100%;
margin-bottom: 10px;
}
#result {
height: 100%;
width: 100%;
}
.try .editor .editor-frame .loading {
position: absolute;
height: 100%;
width: 100%;
background-color: rgba(255, 255, 255, .5);
margin: 0 auto;
display: none;
z-index: 100
}
.try .editor .editor-frame .progress {
width: 50%;
margin: 15% auto 0
}
.try .editor .editor-frame .progress .bar {
width: 100%;
background-color: #4bb1cf;
text-align: center;
}
.try .editor .editor-frame .alert,
.try .editor .editor-frame #editor .alert {
margin: 18% auto 0;
width: 30%;
text-align: center;
color: #b94a48;
background-color: #f2dede;
border-color: #eed3d7
}
/* @media (max-width:740px){.try {width: 100%;} .try .editor .editor-frame, #editor{height: 500px;}} */
.failed {
color: red
}
</style>
</head>
<body>
<div>
<p>
<div id="menubar">
<label class="" for="language">Language</label>
<select class="language-picker" id="language">
<option value="shell">bash-4.4</option>
<option value="c">c-gcc10</option>
<option value="cpp">cpp-gcc10</option>
<option value="go">go-1.14</option>
<!-- <option value="python3">python3.7</option>
<option value="python2">python2.7</option> -->
<option value="php">php-7.4</option>
<option value="java">java-14</option>
<option value="ruby">ruby-2.7</option>
<option value="rust">rust</option>
</select>
<label class="" for="theme">Theme</label>
<select class="theme-picker" id="theme">
<option value="vs">Visual Studio</option>
<option value="vs-dark">Visual Studio Dark</option>
<option value="hc-black">High Contrast Dark</option>
</select>
<label class="control-label">Options</label>
<button id="btnDownload">Download</button>
<button id="btnRun">Run</button>
</div>
</p>
</div>
</body>
</html>