forked from 1lann/Mimic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
174 lines (128 loc) · 4.6 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<html>
<head>
<title>Mimic</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
<script src="scripts/lib/prefixfree.min.js"></script>
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css"/>
</head>
<body oncontextmenu="return false;">
<div class="sidebar-container">
<ul class="sidebar"></ul>
</div>
<div class="computer-container">
<button id="exit-fullscreen" class="btn btn-default pull-right" style="display: none;">
Exit
</button>
<button id="actions-pull-down-btn" class="btn btn-default">
<span class="glyphicon glyphicon-chevron-down"></span>
</button>
<div id="actions-pull-down" class="btn-group-vertical" style="display: none;">
<button id="terminate-btn" class="btn btn-default">Terminate</button>
<button id="shutdown-btn" class="btn btn-default">Shutdown</button>
<button id="reboot-btn" class="btn btn-default">Reboot</button>
<a id="screenshot-btn" class="btn btn-default">Take Screenshot</a>
<button id="fullscreen-btn" class="btn btn-default">Enter Fullscreen</button>
<button data-toggle="modal" data-target="#credits-modal" class="btn btn-default">Credits</button>
</div>
<form id="mobile-form">
<input id="mobile-input" type="password"/>
</form>
<canvas id="canvas" class="computer-canvas"></canvas>
<canvas id="overlay-canvas" class="computer-canvas"></canvas>
</div>
<div class="editor-container" style="display: none;">
<div class="editor-header">
<h1 id="editor-title"></h1>
<p id="editor-file-path"></p>
<a id="download-file-btn" class="btn btn-default pull-right">Download</a>
<a id="delete-file-btn" class="btn btn-default pull-right">Delete</a>
</div>
<div id="editor"></div>
</div>
<div class="modal fade" id="credits-modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
×
</button>
<h3 class="modal-title">Credits</h3>
</div>
<div class="modal-body">
<p><strong>Made By</strong></p>
<p>GravityScore and 1lann</p>
<br>
<p><strong>ComputerCraft By</strong></p>
<p>Dan200</p>
<br>
<p><strong>Rom Files Include:</strong></p>
<ul>
<li>LuaIDE - GravityScore</li>
</ul>
<br>
<a href="https://github.com/1lann/Mimic" target="_blank">GitHub Repository</a><br>
<a href="http://www.computercraft.info/forums2/index.php?/topic/17250-sneak-peek-of-our-upcoming-html5-emulator/" target="_blank">ComputerCraft Forum Thread</a>
</div>
</div>
</div>
</div>
<div class="loader-container">
<div class="loader">
<div class="duo duo1">
<div class="dot dot-a"></div>
<div class="dot dot-b"></div>
</div>
<div class="duo duo2">
<div class="dot dot-a"></div>
<div class="dot dot-b"></div>
</div>
</div>
</div>
<noscript>
<div class="noscript-container">
<h3>Javascript is Disabled!</h3>
<p>You need Javascript to use Mimic!</p>
<p>Please enable it, or download a better browser.</p>
<a href="http://www.google.com/chrome">Get Google Chrome</a>
</div>
</noscript>
</body>
<script src="scripts/lib/jquery.min.js"></script>
<script src="scripts/lib/bootstrap.min.js"></script>
<script src="scripts/lib/ace/src-min-noconflict/ace.js" charset="utf-8"></script>
<script src="scripts/lib/Blob.js"></script>
<script src="scripts/lib/FileSaver.js"></script>
<script src="scripts/lib/CapsLock.compressed.js"></script>
<script src="scripts/ui/sidebar.js"></script>
<script src="scripts/ui/ui.js"></script>
<script src="scripts/lib/purl.js"></script>
<script src="scripts/lib/lua5.1.5.min.js"></script>
<script src="scripts/lib/browserfs.js"></script>
<script src="scripts/lib/xdRequest.js"></script>
<script src="scripts/code.js"></script>
<script src="scripts/globals.js"></script>
<script src="scripts/core.js"></script>
<script src="scripts/computer.js"></script>
<script src="scripts/filesystem.js"></script>
<script src="scripts/render.js"></script>
<script src="scripts/event.js"></script>
<script src="scripts/apis/bit.js"></script>
<script src="scripts/apis/fs.js"></script>
<script src="scripts/apis/http.js"></script>
<script src="scripts/apis/os.js"></script>
<script src="scripts/apis/peripheral.js"></script>
<script src="scripts/apis/redstone.js"></script>
<script src="scripts/apis/term.js"></script>
<script>
//
// Main Entry Point
//
window.onresize();
ui.beforeLoad();
$(document).ready(function() {
core.run();
});
</script>
</html>