-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (45 loc) · 2.26 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="config/style.css">
<title>IC-extention - By geoloup team</title>
<link rel="shortcut icon" href="config/image/logo.png">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://unpkg.com/sync-fetch"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-database.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/min/vs/loader.js"></script>
</head>
<body style="margin: 0;">
<div id="load">
<img src="config/image/logo.png">
<h1>Gcod is loading</h1>
</div>
<script src="config/custom.js"></script>
<div class="h" style="position: fixed; left: 0px;height: 100vh;width: 20vw;background: black;color: white;">
<div id="logs"></div>
</div>
<div style="position: fixed;background: black;right: 0px;top: 0px;height: 3vh;width: 80vw;">
<button onclick="run()" class="run">run</button>
<button onclick="codeExport()" class="export">export</button>
<button onclick="openForm()" class="publish" >Publish Extention</button>
</div>
<div style="position: fixed; right: 0px;bottom: 0px;height: calc(97vh - 1px);width: 80vw;">
<div id="container" style="width: 100%;height: 100%;border:1px solid grey"></div>
</div>
<div class="form-popup" id="myForm">
<form onsubmit="return false" class="form-container">
<h1>Publish extention</h1>
<h3>Please not that they need the emlator to work as a extention on ic-hat</h3>
<label for="name"><b>Extention name</b></label>
<input type="text" placeholder="Enter Extention name" name="name" required>
<label for="desc"><b>Description</b></label>
<input type="text" placeholder="Enter Description" name="desc" required>
<button type="submit" class="btn" onclick="PublishExtention()">Publish extention</button>
<button type="button" class="btn cancel" onclick="closeForm()">Close</button>
</form>
</div>
<script src="file/main.js"></script>
<iframe src="https://chat.geoloup.com/d/session/"></iframe>
</body>
</html>