-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
207 lines (172 loc) · 7.17 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<script type="text/javascript">
var DEV_MODE = false;
</script>
<!-- meta http-equiv="Content-Security-Policy" content="default-src 'self'" -->
<!-- Material Design Icons -->
<link rel="stylesheet" type="text/css" media="all" href="src/includes/mdi/css/materialdesignicons.min.css" />
<!-- InteractJS -->
<!-- script src="src/includes/interact.min.js"></script-->
<!-- BlankE kit -->
<script src="src/blanke-kit/blanke.js"></script>
<!-- Highlight.js -->
<link rel="stylesheet" href="src/includes/highlight/styles/nord.css">
<script src="src/includes/highlight/highlight.pack.js"></script>
<!-- CodeMirror -->
<script src="src/includes/codemirror/lib/codemirror.js"></script>
<link rel="stylesheet" href="src/includes/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="src/includes/codemirror/theme/material.css">
<script src="src/includes/codemirror/mode/moonscript/moonscript.js"></script>
<script src="src/includes/codemirror/mode/lua/lua.js"></script>
<script src="src/includes/codemirror/addon/comment/comment.js"></script>
<script src="src/includes/codemirror/addon/dialog/dialog.js"></script>
<link rel="stylesheet" href="src/includes/codemirror/addon/dialog/dialog.css">
<script src="src/includes/codemirror/addon/search/search.js"></script>
<script src="src/includes/codemirror/addon/search/searchcursor.js"></script>
<script src="src/includes/codemirror/addon/scroll/annotatescrollbar.js"></script>
<script src="src/includes/codemirror/addon/search/matchesonscrollbar.js"></script>
<script src="src/includes/codemirror/addon/search/match-highlighter.js"></script>
<script src="src/includes/codemirror/addon/edit/matchbrackets.js"></script>
<script src="src/includes/codemirror/addon/hint/show-hint.js"></script>
<script src="src/includes/codemirror/addon/mode/overlay.js"></script>
<!-- PixiJS -->
<script src="src/includes/pixi.min.js"></script>
<script src="src/includes/unsafe-eval.min.js"></script>
<!-- IDE core -->
<script src="src/js/core/tab.js"></script>
<script src="src/js/core/dragbox.js"></script>
<script src="src/js/core/sidewindow.js"></script>
<script src="src/js/core/fibwindow.js"></script>
<script src="src/js/core/editor.js"></script>
<script src="src/js/core/pixi.js"></script>
<!-- IDE features -->
<script src="src/js/code.js"></script>
<script src="src/js/gamepreview.js"></script>
<!-- Scene Editor -->
<script src="src/js/sceneeditor.js"></script>
<script src="src/js/docview.js"></script>
<script src="src/js/exporter.js"></script>
<script src="src/js/console.js"></script>
<!--script src="src/js/spritesheet.js"></script-->
<script src="src/js/assetmanager.js"></script>
<script src="src/js/find.js"></script>
<script src="src/js/settings.js"></script>
<script src="src/js/plugins.js"></script>
<script src="src/js/imageeditor.js"></script>
<script src="src/js/fileexplorer.js"></script>
<!--script src="src/js/testview.js"></script-->
<link rel="stylesheet/less" type="text/css" href="entry.less" />
<script>
var less = {
globalVars: {
"ide-accent": "#5ad9a4",
"ide-bold": "#4fc3f7",
"ide-accent-2": "green",
"theme-string": "#97e7c6",
"theme-value": "#DCEDC8",
"theme-string-dark": "#1a744f",
"theme-list-active-bg": "#233e2e",
"theme-text-sub": "#e6ee9c",
"theme-text-optional": "#b2dfdb"
},
logLevel: 0
}
</script>
<script src="src/includes/less.min.js"></script>
<script src="src/main.js"></script>
</head>
<body>
<div class="bg-image-container">
<!-- placed in a container so it doesn't show huge bg image data string in inspect tools-->
<div class="bg-image"></div>
</div>
<!-- makes it easier to resize using top border of window -->
<div id="window-padding"></div>
<div id="search-results"></div>
<div id="header" class="no-project">
<div id="search-container">
<input id="search-input" type="text" placeholder="BlankE" tabindex="-1" />
</div>
<div class="tool-container">
<button id="btn-toggle-fe" title="toggle file explorer"><object class="blanke-icon" data="src/icons/folder.svg"
type="image/svg+xml">F</object></button>
<button id="btn-play" title="run game"><object class="blanke-icon" data="src/icons/run.svg"
type="image/svg+xml">P</object></button>
<button id="btn-export" title="export game"><object class="blanke-icon" data="src/icons/package.svg"
type="image/svg+xml">E</object></button>
<button id="btn-winvis" title="hide floating windows">
<object class="blanke-icon" data="src/icons/window_visibility.svg" type="image/svg+xml">V</object>
<p id="dragbox-badge" class="btn-badge"></p>
</button>
<button id="btn-winsplit" title="toggle window splitting (ON)">
<object class="blanke-icon" data="src/icons/window_split.svg" type="image/svg+xml">W</object>
<p id="fibwindow-badge" class="btn-badge"></p>
</button>
<button id="btn-docs" title="view documentation"><object class="blanke-icon" data="src/icons/notebook.svg"
type="image/svg+xml">D</object></button>
<button id="btn-plugins" title="view plugins"><object class="blanke-icon" data="src/icons/plugin.svg"
type="image/svg+xml">P</object></button>
<button id="btn-settings" title="IDE/Game settings"><object class="blanke-icon" data="src/icons/wrench.svg"
type="image/svg+xml">S</object></button>
<!-- button id="btn-test" onclick="blanke.toast('do stuffs please')"><i class="mdi mdi-test-tube"></i></button -->
</div>
<div class="window-buttons">
<button id="btn-close" class="ui-button"><i class="mdi mdi-window-close"></i></button>
<button id="btn-maximize" class="ui-button"><i class="mdi mdi-window-maximize"></i></button>
<button id="btn-minimize" class="ui-button"><i class="mdi mdi-window-minimize"></i></button>
<button id="btn-update" class="ui-button hidden"><i class="mdi mdi-update"></i></button>
</div>
</div>
<div id="welcome" draggable="false">
<div class="left-container">
<div class="header-buttons">
<button id="btn-new">
<i class="mdi mdi-plus"></i>
<p class="label">New project</p>
</button>
</br>
<button id="btn-open">
<i class="mdi mdi-folder-open"></i>
<p class="label">Open project</p>
</button>
</div>
<div class="recent-files"></div>
</div>
<div class="logo"></div>
</div>
<div id="menu"></div>
<div id="file-explorer" class="hidden"></div>
<div id="work-container">
<div id="sidebar"></div>
<div id="bg-workspace"></div>
<div id="workspace"></div>
<div id="recent-history">
<div class="title-container">
<div class='title'>Recent searches</div>
</div>
<div id="recents-container"></div>
</div>
<div id="sidewindow-container">
<div id="vscroll"></div>
</div>
<div id="game-container"></div>
<div id="drop-zone">
<p>Drop files into your project!</p>
</div>
</div>
<div id="status-bar">
<div id="history"></div>
<div id="status-icons">
<i class="mdi mdi-refresh engine-status" title="spinning when engine is being recompiled"></i>
<div class="server-status">
<i class="mdi mdi-wifi"></i>
<p class="server-pop">x</p>
</div>
</div>
</div>
</body>
</html>