forked from XDargu/FrameByFrame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
285 lines (279 loc) · 18.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
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=2">
<title>Frame By Frame</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link rel="stylesheet" type="text/css" href="css/all.min.css">
</head>
<body class="welcome-active">
<div id="loadingModal" class="modal">
<div class="modal-content">
<p><span><i class="fas fa-spinner fa-spin"></i></span><span id="modalText"></span></p>
</div>
</div>
<div id="contextMenu" class="context-menu" style="display: none"></div>
<div id="eventPopup" class="event-popup hidden"></div>
<div class="full-page page-wrapper">
<div class="basico-container basico-container-compact" id="title-bar-wrapper">
<div class="basico-tabs" id="title-bar">
<div title="Open a recording" class="basico-tabs-item" id="title-bar-open"><i class="fas fa-folder-open"></i></div>
<div title="Save current recording in a new file" class="basico-tabs-item" id="title-bar-save"><i class="fas fa-save"></i></div>
<div title="Remove current recording data" class="basico-tabs-item" id="title-bar-clear"><i class="fas fa-trash"></i></div>
<div title="Open or close welcome window" class="basico-tabs-item" id="title-bar-help"><i class="fas fa-question-circle"></i></div>
<div id="drag-region">
<div id="window-title">
<span id="window-title-text">Frame by Frame</span>
</div>
</div>
<div class="basico-button-group" id="connection-buttons">
</div>
<div id="window-controls">
<div class="button" id="min-button">
<img class="icon" srcset="icons/min-w-10.png 1x, icons/min-w-12.png 1.25x, icons/min-w-15.png 1.5x, icons/min-w-15.png 1.75x, icons/min-w-20.png 2x, icons/min-w-20.png 2.25x, icons/min-w-24.png 2.5x, icons/min-w-30.png 3x, icons/min-w-30.png 3.5x" draggable="false" />
</div>
<div class="button" id="max-button">
<img class="icon" srcset="icons/max-w-10.png 1x, icons/max-w-12.png 1.25x, icons/max-w-15.png 1.5x, icons/max-w-15.png 1.75x, icons/max-w-20.png 2x, icons/max-w-20.png 2.25x, icons/max-w-24.png 2.5x, icons/max-w-30.png 3x, icons/max-w-30.png 3.5x" draggable="false" />
</div>
<div class="button" id="restore-button">
<img class="icon" srcset="icons/restore-w-10.png 1x, icons/restore-w-12.png 1.25x, icons/restore-w-15.png 1.5x, icons/restore-w-15.png 1.75x, icons/restore-w-20.png 2x, icons/restore-w-20.png 2.25x, icons/restore-w-24.png 2.5x, icons/restore-w-30.png 3x, icons/restore-w-30.png 3.5x" draggable="false" />
</div>
<div class="button" id="close-button">
<img class="icon" srcset="icons/close-w-10.png 1x, icons/close-w-12.png 1.25x, icons/close-w-15.png 1.5x, icons/close-w-15.png 1.75x, icons/close-w-20.png 2x, icons/close-w-20.png 2.25x, icons/close-w-24.png 2.5x, icons/close-w-30.png 3x, icons/close-w-30.png 3.5x" draggable="false" />
</div>
</div>
</div>
</div>
<div class="header basico-navbar basico-navbar-compact">
<div class="basico-navbar-title" id="timeline-frame-counter">Frame: 1/100</div>
<div class="basico-button-group" id="step-controls">
<button title="Go to previous frame with events
(Hold Ctrl for selected entity events)" class="basico-button basico-small" id="timeline-event-prev"><i class="fas fa-arrow-alt-circle-left"></i></button>
<button title="Go to first frame" class="basico-button basico-small" id="timeline-first"><i class="fas fa-backward"></i></button>
<button title="Go to previous frame" class="basico-button basico-small" id="timeline-prev"><i class="fas fa-step-backward"></i></button>
<button title="Start/Stop playback" class="basico-button basico-small" id="timeline-play"><i id="timeline-play-icon" class="fas fa-play"></i></button>
<button title="Go to next frame" class="basico-button basico-small" id="timeline-next"><i class="fas fa-step-forward"></i></button>
<button title="Go to last frame" class="basico-button basico-small" id="timeline-last"><i class="fas fa-forward"></i></button>
<button title="Go to next frame with events
(Hold Ctrl for selected entity events)" class="basico-button basico-small" id="timeline-event-next"><i class="fas fa-arrow-alt-circle-right"></i></button>
</div>
<div class="basico-button-group" id="record-control">
<button title="Start/Stop recording" class="basico-button basico-small" id="button-record"><i class="fas fa-circle"></i></button>
</div>
<div id="playback-controls">
<div class="basico-navbar-title" id="playback-display">x1</div>
<input class="basico-slider" title="Change playback speed" type="range" min="0" max="8" value="4" step="1" id="playback-speed">
</div>
</div>
<div id="timeline-wrapper">
<canvas id="timeline" width="200" height="50" style="border:-1px solid #444;"></canvas>
</div>
<div class="content-wrapper">
<div class="vertical-navBar basico-container basico-container-compact">
<div class="basico-tabs basico-vertical-tabs" id="control-tabs">
<div class="basico-tabs-item basico-tabs-selected" title="Entity list"><i class="fas fa-list"></i></div>
<div class="basico-tabs-item" title="Recording Options"><i class="fas fa-check-square"></i></div>
<div class="basico-tabs-item" title="Connections"><i class="fas fa-network-wired"></i></div>
<div class="basico-tabs-item" title="Filters"><i class="fas fa-filter"></i></div>
<div class="basico-tabs-item" title="Recent Files"><i class="fas fa-folder"></i></div>
<div class="basico-tabs-item" title="Settings"><i class="fas fa-cog"></i></div>
</div>
</div>
<div class="sidebar basico-container basico-container-compact" id="entity-list">
<div class="content vertical-wrapper">
<div class="basico-title basico-title-compact uppercase">Entities</div>
<div class="basico-container" id="search-container">
<div class="basico-form-field search-form">
<input type="text" id="entity-search" placeholder="Type here to filter..." class="basico-input" value="">
<i class="fa fa-search"></i>
</div>
</div>
<div class="basico-container" id="entities-container">
<div class="basico-tree" id="entity-tree">
<ul>No entities</ul>
</div>
</div>
<div class="splitter vertical" id="entity-pane-splitter"></div>
<div class="basico-title basico-title-compact uppercase title-darker">Layers</div>
<div class="basico-list layer-list" id="all-layer-selection">
<div class="basico-list-item basico-no-hover">
<div class="basico-text-oneline">Apply to all layers</div>
<div class="basico-button-group basico-compact">
<button title="Disable all layers" class="basico-button basico-small" data-button-type="off" id="timeline-first">Off</button>
<button title="Enable all layers for selected entity" class="basico-button basico-small" data-button-type="sel" id="timeline-first">Selected</button>
<button title="Enable all layers for all entities" class="basico-button basico-small" data-button-type="all" id="timeline-first">All</button>
</div>
</div>
</div>
<div class="basico-container" id="layers-container">
<div class="basico-list layer-list" id="layer-selection"></div>
</div>
</div>
</div>
<div class="sidebar basico-container basico-container-compact" id="var-list">
<div class="basico-title basico-title-compact uppercase">Recording options</div>
<div class="basico-container">
<div class="basico-form-field search-form">
<input type="text" id="recording-option-search" placeholder="Type here to filter..." class="basico-input" value="">
<div class="simple-message" id="recording-option-hint">When connected, select here what you want to record</div>
<i class="fa fa-search"></i>
</div>
<div class="basico-list" id="recording-option-selection">
</div>
</div>
</div>
<div class="sidebar basico-container basico-container-compact" id="connection-list">
<div class="basico-title basico-title-compact uppercase">Connections</div>
<div class="basico-container">
<div class="basico-card">
<div class="basico-card-element">
<div class="basico-form">
<div class="basico-form-field">
<div class="basico-form-field-label">Address:</div>
<input type="text" class="basico-input" id="addConnectionAddress" value="localhost">
</div>
<div class="basico-form-field">
<div class="basico-form-field-label">Port:</div>
<input type="text" class="basico-input" id="addConnectionPort" value="23001">
</div>
<div class="basico-form-field">
<button class="basico-button basico-small" id="addConnectionBtn">Add new connection</button>
</div>
</div>
</div>
</div>
</div>
<div class="basico-container">
<div class="basico-list basico-list-compact" id="connectionsList">
</div>
</div>
</div>
<div class="sidebar basico-container basico-container-compact" id="filters-list">
<div class="basico-title basico-title-compact uppercase">Filters</div>
<div class="basico-container" id="filter-editing-list">
<div class="basico-dropdown" id="add-filter-dropdown">
<button class="basico-dropdown-button">Add new filter</button>
<div class="basico-dropdown-content">
</div>
</div>
</div>
</div>
<div class="sidebar basico-container basico-container-compact" id="recent-list">
<div class="basico-title basico-title-compact uppercase">Recent Files</div>
<div class="basico-container">
<div class="basico-list" id="recentFilesList"></div>
</div>
</div>
<div class="sidebar basico-container basico-container-compact" id="setting-list">
<div class="basico-title basico-title-compact uppercase">Settings</div>
<div class="basico-container" id="setting-search-wrapper">
<div class="basico-form-field search-form">
<input type="text" id="settings-search" placeholder="Type here to filter..." class="basico-input" value="">
<i class="fa fa-search"></i>
</div>
</div>
<div class="basico-container basico-container-compact" id="settings-container">
<div class="basico-container" id="settings">
</div>
</div>
</div>
<div class="splitter" id="left-pane-splitter"></div>
<div class="content vertical-wrapper" id="main-content">
<div id="central-content">
<div id="welcome">
<div id="welcome-box">
<h1>Welcome to Frame by Frame</h1>
<div class="row">
<div class="column">
<h2>Quick Start Guide</h2>
<ul>
<li class="icon-list"><div class="icon" id="welcome-icon-connect">
<button class="basico-button connection-button-disabled"><i class="fas fa-network-wired"></i></button>
</div><p><b>Connect</b> to your game, engine or server</p></li>
<li class="icon-list"><div class="icon" id="welcome-icon-record">
<button class="basico-button basico-small"><i class="fas fa-circle"></i></button>
</div><p>Make sure you are <b>recording</b></p></li>
<li class="icon-list"><div class="icon" id="welcome-icon-select">
<i class="fas fa-check-square"></i>
</div><p><b>Select</b> what you want to record</p></li>
</ul>
<h2>Recent</h2>
<div id="recent-files-welcome">
<ul>
</ul>
</div>
</div>
<div class="column">
<h2>Documentation</h2>
<ul>
<li><p>View the <a href="https://xdargu.github.io/FrameByFrame/"><b>online documentation</b></a></p></li>
<li><p>How to connect to <a href="https://xdargu.github.io/FrameByFrame/unity"><b>Unity</b></a>, <b>Unreal Engine</b> or <b>CryEngine</b></p></li>
</ul>
<h2>About</h2>
<ul>
<li><p id="version-text">Version: 0.2.1</p></li>
<li><p>Find the <a href="https://github.com/XDargu/FrameByFrame/releases"><b>latest version here</b></a></p></li>
<li><p>Report bugs and request features in the <a href="https://github.com/XDargu/FrameByFrame/issues"><b>issues page</b></a></p></li>
</ul>
</div>
</div>
</div>
</div>
<div id="viewport">
<div id="filter-ticker-wrapper"></div>
<div id="render-debug" class="enabled"></div>
<canvas id="render-canvas"></canvas>
</div>
</div>
<div class="splitter vertical" id="bottom-pane-splitter"></div>
<div id="console" class="basico-footer">
<div class="basico-tabs" id="console-tabs">
<div class="basico-tabs-item uppercase">Console</div>
<div class="basico-tabs-group-right">
<div class="basico-dropdown" id="console-levels">
<button class="basico-dropdown-button">Levels</button>
<div class="basico-dropdown-content">
</div>
</div>
<div class="basico-tabs-item basico-no-hover">
<div class="basico-form-field search-form">
<input id="console-search" type="text" placeholder="Find..." class="basico-input" value="">
<i class="fa fa-search"></i>
</div>
</div>
<div title="Clear console" class="basico-tabs-item" id="console-clear"><i class="fas fa-ban"></i></div>
</div>
</div>
<div id="default-console">
<div class="sidebar basico-container basico-container-compact"></div>
</div>
</div>
</div>
<div class="splitter right" id="right-pane-splitter"></div>
<div class="sidebar basico-container basico-container-compact" id="detail-pane">
<div class="content vertical-wrapper">
<div class="basico-title basico-title-compact uppercase">Properties</div>
<div class="basico-container basico-container-compact" id="properties-container">
<div class="basico-container" id="properties"></div>
</div>
<div class="splitter vertical" id="detail-pane-splitter"></div>
<div class="basico-title basico-title-compact uppercase title-darker">Events</div>
<div class="basico-container basico-container-compact" id="events-container">
<div class="basico-container" id="events"></div>
</div>
</div>
</div>
</div>
</div>
<script>
require('./app/renderer.js');
</script>
<script>
var resizeObserver = new ResizeObserver(entries => {
document.getElementById('render-canvas').width = entries[0].contentRect.width;
document.getElementById('render-canvas').height = entries[0].contentRect.height;
document.getElementById('render-canvas').style.left = entries[0].target.offsetLeft + "px";
});
resizeObserver.observe(document.getElementById('viewport'));
</script>
</body>
</html>