-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1.04 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
<head>
<title>Write Pluto & Lua Online</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="lib/uikit-3.17.11/uikit.min.css" />
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="/img/logo.png" />
</head>
<body>
<div id="container" class="uk-light">
<h1>Write Pluto & Lua Online</h1>
<div class="uk-grid">
<div class="uk-width-1-2@m uk-margin-bottom">
<ul class="uk-tab">
<li><a>index.pluto</a></li>
<li id="add-file"><a>+</a></li>
</ul>
<div id="editor">if _PVERSION then
-- Pluto
print("Hello from ".._PVERSION)
else
-- Lua
print("Hello from ".._VERSION)
end</div>
</div>
<div class="uk-width-1-2@m">
<p><b>Version</b></p>
<select id="version-select" class="uk-select"></select>
<p><b>Output</b></p>
<pre id="output">Loading...</pre>
</div>
</div>
</div>
<script src="lib/jquery-3.7.1.min.js"></script>
<script src="lib/ace/ace.js"></script>
<script src="script.js"></script>
</body>