-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.html
627 lines (575 loc) · 25 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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="./graphics/cms-favicon.png" type="image/png" />
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./css/fontawesome.min.css">
<link rel="stylesheet" href="./css/solid.min.css">
<link rel="stylesheet" href="./css/ispy.css">
<script src="js/lib/jquery-1.11.1.min.js"></script>
<script src="js/lib/jquery.scrollintoview.min.js"></script>
<script src="js/lib/stupidtable.min.js"></script>
<script src="js/lib/bootstrap.min.js"></script>
<script src="js/lib/stats.min.js"></script>
<script src="js/lib/dat.gui.min.js"></script>
<script src="js/lib/three.js"></script>
<script src="js/lib/tween.min.js"></script>
<script src="js/lib/BufferGeometryUtils.js"></script>
<script src="js/lib/TrackballControls.js"></script>
<script src="js/lib/OrbitControls.js"></script>
<script src="js/lib/Projector.js"></script>
<script src="js/lib/SVGRenderer.js"></script>
<script src="js/lib/MTLLoader.js"></script>
<script src="js/lib/OBJLoader.js"></script>
<script src="js/lib/GLTFLoader.js"></script>
<script src="js/lib/OBJExporter.js"></script>
<script src="js/lib/GLTFExporter.js"></script>
<script src="js/lib/jszip.min.js"></script>
<script src="js/lib/DeviceOrientationControls.js"></script>
<script src="js/lib/StereoEffect.js"></script>
<script src="js/lib/StereoCamera.js"></script>
<script src="js/lib/LineSegments2.js"></script>
<script src="js/lib/Line2.js"></script>
<script src="js/lib/LineMaterial.js"></script>
<script src="js/lib/LineSegmentsGeometry.js"></script>
<script src="js/lib/LineGeometry.js"></script>
<script src="js/config.js"></script>
<script src="js/setup.js"></script>
<script src="js/animate.js"></script>
<script src="js/files-load.js"></script>
<script src="js/objects-draw.js"></script>
<script src="js/objects-add.js"></script>
<script src="js/objects-config.js"></script>
<script src="js/controls.js"></script>
<script src="js/tree-view.js"></script>
<script src="js/display.js"></script>
<script src="js/ispy.js"></script>
<title>iSpy WebGL</title>
</head>
<body id="ispy" class="black">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 bordered black" id="titlebar">
<div class=row">
<div class="col-lg-2" id="application-name">iSpy WebGL</div>
<div class="col-lg-6" id="event-loaded"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 bordered black" id="toolbar">
<div class="button-toolbar" role="toolbar">
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#open-files" title="Open File">
<i class="fa fa-folder-open"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" onclick="ispy.reload();" title="Reload page">
<i class="fa fa-redo"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default disabled" id="prev-event-button" onclick="ispy.prevEvent();" title="Previous Event [Left Arrow]">
<i class="fa fa-step-backward"></i>
</button>
<button type="button" class="btn btn-default disabled" id="next-event-button" onclick="ispy.nextEvent();" title="Next Event [Right Arrow]">
<i class="fa fa-step-forward"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" onclick="ispy.resetView();" title="Return to Start View">
<i class="fa fa-home"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" onclick="ispy.zoomIn();" title="Zoom In [Shift + Up Arrow]">
<i class="fa fa-search-plus"></i>
</button>
<button type="button" class="btn btn-default" onclick="ispy.zoomOut();" title="Zoom Out [Shift + Down Arrow]">
<i class="fa fa-search-minus"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="autorotate" class="btn btn-default" onclick="ispy.autoRotate();" title="Autorotate about Y axis">
<i class="fa fa-undo"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="3d" class="btn btn-default active" onclick="ispy.showView('3D');" title="3d view">3D</button>
<button type="button" id="rphi" class="btn btn-default" onclick="ispy.showView('RPhi');" title="rphi view">rφ</button>
<button type="button" id="rhoz" class="btn btn-default" onclick="ispy.showView('RhoZ');" title="rhoz view">ρz</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="xy" class="btn btn-default" onclick="ispy.setXY();" title="YX Plane">
<img src="./graphics/yx_small.png" class="img-responsive"/>
</button>
<button type="button" id="yz" class="btn btn-default" onclick="ispy.setYZ();" title="YZ plane">
<img src="./graphics/yz_small.png" class="img-responsive"/>
</button>
<button type="button" id="xz" class="btn btn-default" onclick="ispy.setZX();" title="XZ plane">
<img src="./graphics/xz_small.png" class="img-responsive" title=""/>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="perspective" class="btn btn-default active" onclick="ispy.setPerspective();" title="Perspective Projection">
<i class="fa fa-cube"></i>
</button>
<button type="button" id="orthographic" class="btn btn-default" onclick="ispy.setOrthographic();" title="Orthographic Projection">
<i class="fa fa-dice-d6"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="enterFullscreen" class="btn btn-default" onclick="ispy.enterFullscreen();" title="Expand to Fullscreen">
<i class="fa fa-expand"></i>
</button>
<button type="button" id="exitFullscreen" class="btn btn-default active" onclick="ispy.exitFullscreen();" title="Exit Fullscreen">
<i class="fa fa-compress"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#settings" title="Settings">
<i class="fa fa-sliders-h"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#statistics" onclick="ispy.updateRendererInfo();" title="Stats">
<i class="fa fa-chart-bar"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#about" title="About">
<i class="fa fa-info"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" onclick="ispy.printImage();" title="Print Image to File">
<i class="fa fa-camera"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="animate" class="btn btn-default" onclick="ispy.toggleAnimation();" title="Start/Stop Animation [Shift + A]">
<i class="fa fa-film"></i>
</button>
</div>
<!--
<div class="btn-group" role="group">
<button type="button" id="record" class="btn btn-default" onclick="ispy.toggleRecording();" title="Start/Stop Recording">
<i class="fa fa-video-camera"></i>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="stereo" class="btn btn-default" data-toggle="modal" data-target="#stereo-modal" title="Stereo View">
<i class="fa fa-vr-cardboard"></i>
</button>
</div>
-->
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#export-model" title="Export 3D Model">
<i class="fa fa-upload"></i>
</button>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#import-model" title="Import 3D Model (obj format)">
<i class="fa fa-download"></i>
</button>
</div>
</div>
</div>
</div>
<div class="row">
<!--
<div class="col-lg-3 bordered black" id="treeview">
<div class="table-responsive">
<table class="table table-hover">
</table>
</div>
</div>
-->
<!-- The canvas goes into this div -->
<div class="col-lg-12 bordered black" id="display">
<div id="axes"></div>
</div>
</div>
<div class="row">
<div class="col-lg-12 bordered black" id="tableview">
<table id="collection-table" class="table table-hover"></table>
</div>
</div>
</div>
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.web.cern.ch/" : "http://piwik.web.cern.ch/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 8061);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://piwik.web.cern.ch/piwik.php?idsite=8061" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->
</body>
<div id="event-info" class="black">
<table>
<tr>
<td id="cms-logo"><img src='./graphics/cms-color-medium.png'></img></td>
<td id="event-text"></td>
</tr>
</table>
</div>
<div id="open-files" role="dialog" class="modal">
<div class="modal-dialog modal-sm">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 class="modal-title black">Open File</h4>
</div>
<div class="modal-body">
<table>
<p><button type="button" class="btn btn-default" onclick="ispy.showWebFiles();">Open file(s) from the Web</button></p>
<p>
Open local file(s): <input type="file" id="local-files" onchange="ispy.loadLocalFiles();" onclick="$('#open-files').modal('hide');" multiple/>
</p>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="files" role="dialog" class="modal">
<div class="modal-dialog">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 class="modal-title black">Open Event</h4>
</div>
<div class="modal-body">
<table class="table black" width="100%" id="browser-table">
<tr>
<th class="browser-header bordered black" width="50%">Files</th>
<th class="browser-header bordered black">Events</th>
</tr>
<tr>
<td class="bordered">
<table class="table table-hover black" id="browser-files"></table>
</td>
<td class="bordered">
<table class="table table-hover black" id="browser-events"></table>
</td>
</tr>
</table>
</div>
<div class="modal-footer">
<div class="bordered" id="selected-event"> </div>
<div id="event-buttons">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" id="load-event" class="btn btn-default disabled" onclick="$('#files').modal('hide'); ispy.loadEvent();">Load</button>
</div>
</div>
</div>
</div>
</div>
<div id="loading" role="dialog" class="modal">
<div class="modal-dialog">
<div class="modal-content bordered black">
<div class="modal-header"></div>
<div class="modal-body">
<h4><i class="fa fa-spinner fa-spin"></i> Loading...</h4>
</div>
<div class="modal-footer"></div>
</div>
</div>
</div>
<div id="progress" role="dialog" class="modal">
<div class="modal-dialog">
<div class="modal-content bordered black">
<div class="modal-header"></div>
<div class="modal-body">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>
</div>
</div>
<div class="modal-footer"></div>
</div>
</div>
</div>
<div id="settings" role="dialog" class="modal">
<div class="modal-dialog modal-sm">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 class="modal-title black">Settings</h4>
</div>
<div class="modal-body">
<p>
Invert colors: <input id='invert-colors' type='checkbox' onchange='ispy.invertColors();'>
</p>
<p>
Show clipping plane controls: <input id='clipping' type='checkbox'>
</p>
<p>
Hide axes: <input id='show-axes' type='checkbox'>
</p>
<p>
Enable variable line thickness: <input id='pickable_lines' type='checkbox'>
</p>
<p>
Show information dialogs: <input id='show-info' type='checkbox'>
</p>
<p>
Show experiment logo: <input id='show-logo' type='checkbox'>
</p>
<p>
Set vertical extent of display: <span id='vh'></span> %
<input type='range' min='75' max='100' value='75' id='vh-slider' step='1' oninput='ispy.setDisplayVerticalHeight(value);'>
</p>
<p>
Set maximum frame rate: <span id='fr'></span> fps
<input type='range' min='1' max='60' value='30' id='fps-slider' step='1' oninput='ispy.setFramerate(value);'>
</p>
<p>
Set imported geometry transparency: <span id='trspy'></span>
<input type='range' min='0.0' max='1.0' value='1.0' id='transparency-slider' step='0.05' oninput='ispy.setTransparency(value);'>
</p>
<p>
<div class="btn-group">
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false">
Select renderer <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="#" onclick="ispy.updateRenderer('WebGLRenderer');">WebGLRenderer</a></li>
<li><a href="#" onclick="ispy.updateRenderer('SVGRenderer');">SVGRenderer</a></li>
</ul>
</div>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="statistics" role="dialog" class="modal">
<div class="modal-dialog modal-sm">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 class="modal-title black">Statistics</h4>
</div>
<div class="modal-body">
<p>
Show display statistics: <input id='show-stats' type='checkbox'>
</p>
<div id="renderer-info"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="about" role="dialog" class="modal">
<div class="modal-dialog">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 class="modal-title black">About</h4>
</div>
<div class="modal-body">
<p>
<h4>iSpy-WebGL <span id="version"></span></h4>
</p>
<p>
A browser-based event display for the <a target="_blank" href="http://cms.cern/">CMS Experiment</a> at the LHC using WebGL
</p>
<p>
<a href="mailto:[email protected]">Questions/comments/problems</a>
</p>
<p>
<a target="_blank" href="https://github.com/cms-outreach/ispy-webgl/tree/master#readme">Documentation and FAQ</a>
<p>
<a target="_blank" href="https://github.com/cms-outreach/ispy-webgl">Code</a> and
<a target="_blank" href="https://github.com/cms-outreach/ispy-webgl/issues">Issues</a>
</p>
<p>Contributors:
<a href="https://github.com/9inpachi" target="_blank">F. Ali</a>,
<a href="https://github.com/lukebarnard1" target="_blank">L. Barnard</a>,
<a href="https://github.com/hategan" target="_blank">M. Hategan</a>,
<a href="https://github.com/SeungJunLee0" target="_blank">S. Lee</a>,
<a href="https://github.com/carpppa" target="_blank">C. Logren</a>,
<a href="https://github.com/tpmccauley" target="_blank">T. McCauley</a>,
<a href="https://github.com/phongn" target="_blank"> P. Nguyen</a>,
<a href="https://github.com/msaunby" target="_blank">M. Saunby</a>
</p>
<p>Reference: <a target="_blank" href="https://doi.org/10.1088/1742-6596/898/7/072030">T McCauley 2017 J. Phys.: Conf. Ser. 898 072030</a></p>
<p>This application uses <a target="_blank" href="http://threejs.org/">three.js</a> <span id="threejs"></span></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="stereo-modal" role="dialog" class="modal">
<div class="modal-dialog modal-sm">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 class="modal-title black">Set to Stereo View</h4>
</div>
<div class="modal-body">
<p>
This view is specifically designed for use in a
<a href="https://www.google.com/get/cardboard/" target="_blank">Google Cardboard</a> viewer
and therefore requires a viewer and a suitable mobile phone.
</p>
<p>
To use with the viewer, rotate the phone to landscape, press the button below, and insert into the viewer. The view automatically
pans forward in the direction of view. To exit, tap the screen.
</p>
<button type="button" class="btn btn-default" data-dismiss="modal" onclick="ispy.setStereo();">Start</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="export-model" role="dialog" class="modal">
<div class="modal-dialog modal-sm">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 class="modal-title black">Export model</h4>
</div>
<div class="modal-body">
<p>
<div class="btn-group">
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false">
Select export format <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="#" onclick="ispy.exportOBJ();">Export OBJ</a></li>
<li><a href="#" onclick="ispy.exportGLTF_text();">Export GLTF (text)</a></li>
<li><a href="#" onclick="ispy.exportGLTF_binary();">Export GLTF (binary)</a></li>
</ul>
</div>
</p>
<div id="renderer-info"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="import-model" role="dialog" class="modal">
<div class="modal-dialog modal-sm">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 class="modal-title black">Import 3D Model</h4>
</div>
<div class="modal-body">
<p>
Select a 3D model to load.
</p>
<p>
Currently only .obj format is supported.
If an additional .mtl is available and loaded it will be used as well.
</p>
<p>
<i>Nota bene</i>: a large complicated 3D model may take minutes to load.
</p>
<p>
Files available via the web have been created from <a href="http://www.sketchup.com">SketchUp</a>
models created by <a href="https://twiki.cern.ch/twiki/bin/view/CMSPublic/SketchUpCMS">T. Sakuma.</a>
</p>
</p>
<table>
<p><button type="button" class="btn btn-default" onclick="ispy.openDialog('#geometry-files'); ispy.loadObjFiles(); $('#import-model').modal('hide');">Open file(s) from the Web</button></p>
<p>
Open local file(s): <input type="file" id="import-file" onchange="ispy.importModel();" multiple/>
</p>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="geometry-files" role="dialog" class="modal">
<div class="modal-dialog">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 class="modal-title black">Open Model</h4>
</div>
<div class="modal-body">
<table class="table black" width="100%" id="obj-table">
<tr>
<th class="browser-header bordered black" width="100%">Files</th>
</tr>
<tr>
<td class="bordered">
<table class="table table-hover black" id="obj-files"></table>
</td>
</tr>
</table>
</div>
<div class="modal-footer">
<div class="bordered" id="selected-obj"> </div>
<div id="event-buttons">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" id="load-obj" class="btn btn-default disabled" onclick="$('#geometry-files').modal('hide'); ispy.loadSelectedObj();">Load</button>
</div>
</div>
</div>
</div>
</div>
<div id="data-EventObjects" role="dialog" class="modal">
<div class="modal-dialog">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 id="title-data-EventObjects" class="modal-title black"></h4>
</div>
<div class="modal-body">
<div class="table-responsive">
<table id="table-data-eventObject" class="black table table-hover">
<thead>
<tr>
<th class="group">Type</th>
<th class="group">Value</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="invariant-mass-modal" role="dialog" class="modal">
<div class="modal-dialog modal-sm">
<div class="modal-content bordered black">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i><span class="sr-only">Close</span></button>
<h4 class="modal-title black">Invariant mass</h4>
</div>
<div class="modal-body">
<span id="invariant-mass"></span> GeV
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>