-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
223 lines (205 loc) · 8.66 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<title>eede</title>
<link rel="icon" type="image/x-icon" href="./favicon.ico">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/logo.css">
<link rel="stylesheet" href="css/canvas.css">
<link rel="stylesheet" href="css/modal.css">
<link rel="stylesheet" href="css/filter.css">
<link rel="stylesheet" href="css/event.css">
<link rel="stylesheet" href="css/information.css">
<link rel="stylesheet" href="css/contact.css">
<link rel="stylesheet" href="css/views.css">
<link rel="stylesheet" href="css/information-message.css">
<link rel="stylesheet" href="css/switch-deploy.css">
<link rel="stylesheet" href="css/current-file.css">
<link rel="stylesheet" href="css/clean-switch.css">
</head>
<body>
<div id="input-modal" class="modal-background">
<div class="modal-content">
<p>Welcome to <span id="logo">
<span class="logo-letter e1">e</span><span class="logo-letter e2">e</span><span
class="logo-letter d">d</span><span class="logo-letter e3">E</span>
</span></p>
<div id="input-message">
</div>
<form>
<div class="mb-20">
<label class="mr-10" for="input-file">Select EDM4hep JSON:</label>
<input id="input-file" name="input-file" type="file" accept=".json">
<p class="small-text ml-20">Example input files (right click to save):
<ul class="small-text">
<li>
Delphes: <a
href="https://fccsw.web.cern.ch/fccsw/eede/p8_ee_ZH_ecm240.edm4hep.json">p8_ee_ZH_ecm240.edm4hep.json</a>
[5.6 MB]
</li>
<li>
Full Sim: <a
href="https://fccsw.web.cern.ch/fccsw/eede/wzp6_ee_mumuH_ecm240_CLD_RECO.edm4hep.json">wzp6_ee_mumuH_ecm240_CLD_RECO.edm4hep.json</a>
[28 MB]
</li>
</ul>
</p>
</div>
<div id="event-selector">
<label class="mr-10" for="event-number">Select event number:</label>
<select name="event-number" id="event-number"></select>
</div>
<div id="available-views" class="view-selector-menu">
</div>
<br>
<div class="align-right">
<button id="visualize-button">Visualize</button>
</div>
</form>
<div class="file-overview">
</div>
</div>
</div>
<div id="filters">
<div id="filters-header">
<span id="filters-title">Filters</span>
<div id="filter-menu-handler">
<img id="open-filter" src="img/down_arrow.svg" alt="Open filter" width="20" height="20" />
<img id="close-filter" src="img/up_arrow.svg" alt="Close filter" width="20" height="20" />
</div>
</div>
<div id="filters-body">
<div id="filters-content">
</div>
<div id="invert-filters-section">
<input type="checkbox" id="invert-filter" name="invert-filter" value="invert-filter" />
<span>Invert filters?</span>
</div>
<div id="filters-buttons">
<button id="filter-apply" class="filter-action">Apply</button>
<button id="filter-reset" class="filter-action">Reset</button>
</div>
</div>
</div>
<div id="event-switcher">
<img id="previous-event" class="event-switch-arrow event-switch-tool" src="img/left_arrow.svg" alt="Previous event"
width="20" height="20" />
<div>
<span id="selected-event" class="event-switch-tool"></span>
<div id="event-selector-menu"></div>
</div>
<img id="next-event" class="event-switch-arrow event-switch-tool" src="img/right_arrow.svg" alt="Next event"
width="20" height="20" />
</div>
<img id="information-icon" src="img/information.svg" alt="Information" width="35" height="35" />
<div id="information-modal">
<img id="close-information" src="img/close.svg" alt="Close" width="35" height="35" />
<div class="info-modal-content">
<span class="logo-letter e1">e</span><span class="logo-letter e2">e</span><span
class="logo-letter d">d</span><span class="logo-letter e3">E</span>
<div id="information-buttons">
<button id="view-information-button" class="information-button">This view</button>
<button id="information-button" class="information-button">About eede</button>
</div>
<div id="information-options">
<div id="information-content">
<p>Welcome to eede, an EDM4hep Event Data Explorer. Learn more about eede on the <a
href="https://github.com/key4hep/eede/wiki" target="_blank" rel="noopener noreferrer">wiki</a>.
Want to learn more about EDM4hep? Check out the <a href="https://edm4hep.web.cern.ch" target="_blank"
rel="noopener noreferrer">EDM4hep</a> website.
</p>
<p>
Found a bug or have a feature request? Open a new <a href="https://github.com/key4hep/eede/issues"
target="_blank" rel="noopener noreferrer">issue</a>.
</p>
<p>Contact:</p>
<ul>
<li class="contact-element">Juraj Smiesko:
<address class="email">
<a href="mailto:juraj.smiesko@cern.ch">
<img src="img/juraj-email.webp" alt="juraj-email" height="21px" />
</a>
</address>
<button class="copy-email-button" data-email="juraj.smiesko@cern.ch">
<abbr title="Copy to Clipboard">
<img src="img/copy.svg" alt="Copy" width="16" height="16" />
</abbr>
</button>
</li>
<li class="contact-element">Thomas Madlener:
<address class="email">
<a href="mailto:thomas.madlener@desy.de">
<img src="img/thomas-email.webp" alt="thomas-email" height="21px" />
</a>
</address>
<button class="copy-email-button" data-email="thomas.madlener@desy.de">
<abbr title="Copy to Clipboard">
<img src="img/copy.svg" alt="Copy" width="16" height="16" />
</abbr>
</button>
</li>
<li class="contact-element">Braulio Rivas:
<address class="email">
<a href="mailto:brauliorivas@pm.me">
<img src="img/braulio-email.webp" alt="braulio-email" height="21px" />
</a>
</address>
<button class="copy-email-button" data-email="brauliorivas@pm.me">
<abbr title="Copy to Clipboard">
<img src="img/copy.svg" alt="Copy" width="16" height="16" />
</abbr>
</button>
</li>
</ul>
</div>
<div id="view-information-content">
<h2 id="view-title-info"></h2>
<div id="view-description-info"></div>
</div>
</div>
</div>
</div>
<div id="left-menu">
<div id="toggles">
<div id="pdg-toggle" class="toggle">
<span class="toggle-label">Show PDG IDs</span>
<label class="cl-switch cl-switch-black">
<input type="checkbox">
<span id="pdg-toggle-switch" class="switcher"></span>
</label>
</div>
</div>
<div id="views-header">
<span id="views-select-title">Select a view</span>
<div id="views-menu-handler">
<img id="close-views" class="views-handler" src="img/up_arrow.svg" alt="Close" width="20" height="20" />
<img id="open-views" class="views-handler" src="img/down_arrow.svg" alt="Open" width="20" height="20" />
</div>
</div>
<div id="view-selector" class="view-selector-menu"></div>
</div>
<div id="information-message-modal">
<img src="img/blue-info.svg" alt="Empty view" width="20" height="20" />
<p id="information-text">This view has no elements</p>
</div>
<div id="switch-deploy">
<p id="switch-deploy-text">Switch to</p>
<button id="switch-deploy-button">release</button>
</div>
<input id="change-file-input" type="file" accept=".json" hidden>
<div id="current-file">
<span>Current file: <span id="current-file-name">some file name</span></span>
<button id="change-file">
<img src="img/upload.svg" alt="Change file" width="20" height="20" />
</button>
</div>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js" type="text/javascript"></script>
<script type="module" src="js/pixi.min.mjs"> </script>
<script type="module" src="js/main.js"></script>
<script type="module" src="js/information.js"></script>
<script type="module" src="js/views/views.js"></script>
<script type="module" src="js/current-file.js"></script>
<script type="module" src="js/switch-deploy.js"></script>
</body>
</html>