-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
223 lines (162 loc) · 5.94 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
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="modalWindow.css">
<link rel="stylesheet" type="text/css" href="draggable-resizable-dialog.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/delaunay.js" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gifshot/0.3.2/gifshot.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/canvas2image.js" defer></script>
<script src="importColors.js" defer></script>
<script src="plotGraphs.js" defer></script>
<script src="handleFiles.js" defer></script>
<script src="dataParser.js" defer></script>
<script src="soccerParser.js" defer></script>
<script src="socialNetworkParser.js" defer></script>
<script src="parseGravitationalWaves.js" defer></script>
<script src="parseBach.js" defer></script>
<script src="soccerParser.js" defer></script>
<script src="addWorkspace.js" defer></script>
<script src="measures.js" defer></script>
<script src="saveCustomCode.js" defer></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
</head>
<body>
<!-- Menu -->
<div class="menu">
<span class="tabsGroup menuItems">
<ul>
</ul>
</span>
<span class="exportImport menuItems">
<ul>
<!--li id="export">Export</li-->
<li id="import"><label for="files">Import dataset</label><input type="file" id="files" value="Import datasets" name="files[]" multiple/></li>
<li id="addW">Add workspace</li>
</ul>
</span>
</div>
<div style="display: none;" class="container" id="container">
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>Add a new graph</h2>
</div>
<div class="modal-body">
<ul>
<h3>Settings</h3>
<span></span>
<input type="text" class="graphTitle" placeholder="Title of the graph"></input>
<br/><br/>
<select class="selectVis">
<option value="visual">Visualize the events</option>
<option value="noVisual">Don't visualize the events</option>
</select>
<span></span>
<br/><br/>
<h3>Code</h3>
<span>function customGraph(<a href="#" target="_blank" class="showDS">inData</a>) {</span>
<br/>
<textarea placeholder="JavaScript code" class="JSCode" rows="5", cols="60" resizable></textarea>
<br/>
<span>   return outData; <br> }</span>
</ul>
<div class="plotButtonGroup">
<span class="plotButton plotHeat">Plot animated heatmap/GVR</span>
<span class="plotButton plotHeatStatic">Plot static heatmap/GVR</span>
<span class="plotButton plotScatter2d">Plot 2D scatter</span>
<span class="plotButton plotScatter3d">Plot 3D scatter</span>
<span class="plotButton plotBox">Plot box</span>
<span class="plotButton exportJS">Save</span>
</div>
</div>
</div>
</div>
<!-- -->
<!-- left side menu -->
<div class="leftMenu">
<!-- Element -->
<div class="leftGroup">
<div class="select">
<select class="datasetList select-text">
<option></option>
</select>
<span class="select-highlight"></span>
<label class="select-label">Choose a dataset</label>
</div>
</div>
<!-- -->
<!-- Element -->
<div class="leftGroup">
<div class="input">
<input type="text" class="framerate select-text"></input>
<span class="select-highlight"></span>
<span class="select-bar"></span>
<label class="select-label">Frame ratio</label>
</div>
</div>
<!-- -->
<!-- Group title -->
<p class="groupTitle">Frames</p>
<!-- -->
<span>
<input class="frameStartS frameNumSel select-text" type="number"></input>
<span class="smallText">-</span>
<input class="frameEndS frameNumSel select-text" type="number"></input>
</span>
<!-- Group title -->
<p class="groupTitle">Events</p>
<!-- -->
<!-- Element -->
<div class="leftGroup">
<div class="input">
<input type="text" class="eventTitle select-text"></input>
<span class="select-highlight"></span>
<span class="select-bar"></span>
<label class="select-label">Title</label>
</div>
</div>
<!-- -->
<!-- Element -->
<div class="leftGroup">
<div class="input">
<input type="number" class="eventTimestamp selectTimestamp select-text"></input>
<span class="select-highlight"></span>
<span class="select-bar"></span>
<label class="select-label">Timestamp</label>
</div>
</div>
<!-- -->
<!-- Element -->
<div class="leftGroup">
<div class="input">
<input type="text" class="eventColor select-text"></input>
<span class="select-highlight"></span>
<label class="select-label">Color</label>
</div>
<p class="addEvent">Add event</p>
<p class="editEventB">Update</p>
</div>
<!-- -->
<!-- Divider -->
<!-- -->
<div class="leftGroup eventList">
<ul class="ulEvents">
</ul>
</div>
</div>
<!-- END leftMenu -->
<!-- Graphs -->
<div class="graphs">
<ul>
<li>
</li>
</ul>
</div>
</div>
</body>
</html>