-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
389 lines (370 loc) · 17.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Fiji: A batteries-included distribution of ImageJ.">
<meta name="author" content="The Fiji Team">
<link rel="shortcut icon" href="site/ico/favicon.ico">
<title>Fiji: ImageJ, with "Batteries Included"</title>
<!-- Bootstrap core CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-wEmeIV1mKuiNpC+IOBjI7aAzPcEZeedi5yW5f2yOq55WWLwNGmvvx4Um1vskeMj0" crossorigin="anonymous">
<!-- Custom site styling -->
<link href="site/css/style.css?v1.0.0" rel="stylesheet">
<!-- Font Awesome -->
<script defer src="https://use.fontawesome.com/releases/v5.8.1/js/solid.js"
integrity="sha384-IA6YnujJIO+z1m4NKyAGvZ9Wmxrd4Px8WFqhFcgRmwLaJaiwijYgApVpo1MV8p77" crossorigin="anonymous">
</script>
<script defer src="https://use.fontawesome.com/releases/v5.8.1/js/brands.js"
integrity="sha384-rUOIFHM3HXni/WG5pzDhA1e2Js5nn4bWudTYujHbbI9ztBIxK54CL4ZNZWwcBQeD" crossorigin="anonymous">
</script>
<script defer src="https://use.fontawesome.com/releases/v5.8.1/js/fontawesome.js"
integrity="sha384-EMmnH+Njn8umuoSMZ3Ae3bC9hDknHKOWL2e9WJD/cN6XLeAN7tr5ZQ0Hx5HDHtkS" crossorigin="anonymous">
</script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body role="document">
<!-- Fixed navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top" role="navigation">
<div class="container">
<a class="navbar-brand" href="/">
<img width="30" height="30" class="d-inline-block align-top" src="site/logo.png" alt="Fiji logo" /> Fiji</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="visually-hidden">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://imagej.net/software/fiji">Wiki</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/fiji">Source</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://forum.image.sc/tag/fiji">Forum</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container" role="main">
<!-- Main jumbotron for a primary marketing message or call to action -->
<!-- See: https://getbootstrap.com/docs/5.0/examples/jumbotron/ -->
<div class="p-5 mb-4 bg-light rounded-3">
<div class="row">
<div class="col-12 col-md-4 col-lg-3">
<img class="img-fluid img-logo" src="site/logo.png" alt="Fiji logo" />
</div>
<div class="col-12 col-md-8 col-lg-9">
<h1 class="display-3">Fiji</h1>
<p>
Fiji is an image processing package — a "batteries-included" distribution of <a
href="https://imagej.net/">ImageJ</a>, bundling many plugins which facilitate scientific image analysis.
</p>
<div class="btn-group">
<a href="#" class="btn btn-lg btn-success" id="auto-download">
Choose a download →
</a>
<button type="button" class="btn btn-lg btn-success dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
<span class="visually-hidden">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu dropdown-menu-end">
<li>
<a class="dropdown-item" href="https://downloads.imagej.net/fiji/latest/fiji-win64.zip">
<span class="fab fa-fw fa-windows"></span> Download for Windows (64-bit)
</a>
</li>
<li>
<a class="dropdown-item" href="https://downloads.imagej.net/fiji/latest/fiji-win32.zip">
<span class="fab fa-fw fa-windows"></span> Download for Windows (32-bit)
</a>
</li>
<li>
<div class="dropdown-divider"></div>
</li>
<li>
<a class="dropdown-item" href="https://downloads.imagej.net/fiji/latest/fiji-macosx.zip">
<span class="fab fa-fw fa-apple"></span> Download for macOS
</a>
</li>
<li>
<div class="dropdown-divider"></div>
</li>
<li>
<a class="dropdown-item" href="https://downloads.imagej.net/fiji/latest/fiji-linux64.zip">
<span class="fab fa-fw fa-linux"></span> Download for Linux (64-bit)
</a>
</li>
<li>
<div class="dropdown-divider"></div>
</li>
<li>
<a class="dropdown-item" href="https://downloads.imagej.net/fiji/latest/fiji-nojre.zip">
<span class="fa-layers">
<span class="fab fa-java"></span>
<span class="fas fa-times" data-fa-transform="shrink-7 up-4.2 right-5"></span>
</span> Download the no-JRE Version
</a>
</li>
</ul>
</div>
<hr />
<p>
<a href="https://imagej.net/software/fiji/downloads" class="btn btn-success"><span class="fas fa-download"></span> More Downloads</a>
<a class="btn btn-primary" href="#cite"><span class="fas fa-quote-left"></span> Cite</a>
<a class="btn btn-dark" href="https://github.com/fiji"><span class="fab fa-github"></span> Contribute</a>
</p>
</div>
</div>
</div>
<h1 class="text-center">Why Fiji?</h1>
<div class="row text-center">
<div class="col-12 col-md-4">
<div class=" fa-5x text-success"><span class="fas fa-check-circle"></span></div>
<h2>Easy to Use</h2>
<p>
Fiji is easy to use and install - in one-click, Fiji installs all of its plugins, features an automatic updater, and offers comprehensive documentation.
</p>
</div>
<div class="col-12 col-md-4">
<div class=" fa-5x text-primary"><span class="fas fa-cogs"></span></div>
<h2>Powerful</h2>
<p>
Fiji bundles together many popular and useful ImageJ plugins for image analysis into one installation, and automatically manages their dependencies and updating.
</p>
</div>
<div class="col-12 col-md-4">
<div class=" fa-5x text-danger"><span class="fas fa-heart"></span></div>
<h2>Free & Open Source</h2>
<p>
Like ImageJ itself, Fiji is an <a href="https://imagej.net/licensing/open-source">open source</a> project hosted on <a href="https://github.com/fiji">GitHub</a>, developed and written by the community.
</p>
</div>
</div>
<hr />
<div class="row">
<div class="col-md-4">
<h2>Plugins</h2>
<p>
Fiji features thousands of plugins that aid in scientific image processing and analysis. Here are a few featured plugins hand-picked by the Fiji community - refresh the page to see different plugins!
</p>
<p>
<a class="btn btn-outline-primary" href="https://imagej.net/list-of-extensions">List of All Plugins</a>
</p>
</div>
<div class="col-md-8">
<div class="card text-center">
<div class="card-header">
<ul class="nav nav-tabs card-header-tabs" id="plugin-tabs" role="tablist">
<!-- dynamically generated from plugins.json -->
</ul>
</div>
<div class="card-body">
<div class="tab-content" id="plugin-tab-content">
<!-- dynamically generated from plugins.json -->
</div>
</div>
</div>
</div>
</div>
<hr />
<div class="row">
<div class="col-md-6">
<h2>Contributors</h2>
<p>
Fiji is developed by <a href="https://imagej.net/people">contributors around the world</a>, and <a href="https://imagej.net/contribute/funding">funded from various sources</a>. It is maintained by the <a href="https://imagej.net/orgs/loci">Eliceiri/LOCI group</a> at the University of Wisconsin-Madison, the <a href="https://imagej.net/people/fjug">Jug</a> group at <a href="https://imagej.net/orgs/human-technopole">Human Technopole</a> in Milan, and <a href="https://imagej.net/people/tomancak">Tomancak</a> lab at the <a href="https://imagej.net/orgs/mpi-cbg">MPI-CBG</a> in Dresden.
</p>
<p class="card-text">
Fiji is an <a href="https://imagej.net/licensing/open-source">open source</a> project, so everybody is welcome to <a href="https://imagej.net/software/fiji/#contributing">contribute</a> with plugins, patches, bug reports, tutorials, documentation, and artwork.
</p>
<p>
<a class="btn btn-outline-primary" href="https://imagej.net/software/fiji/#contributing">Read more</a>
</p>
<hr />
<h2>Licensing</h2>
<p>
Fiji is licensed under the <a href="https://imagej.net/licensing/gpl">GNU General Public License</a>. It builds on top of the <a href="https://imagej.net/software/imagej2">ImageJ2</a> core, which is licensed under the permissive <a href="https://imagej.net/licensing/bsd#simplified-bsd-license">BSD 2-clause license</a>. Plugins and other components have <a href="https://github.com/fiji/fiji/blob/master/LICENSES">their own licenses</a>.
</p>
<p>
<a class="btn btn-outline-primary btn-lg" href="https://imagej.net/licensing">Read more</a>
</p>
<hr />
<h2 id="cite">Citing Fiji</h2>
<p>
Like most scientific software, funding for the Fiji project is driven by <a href="https://scholar.google.com/scholar?as_sdt=0,5&hl=en&scisbd=1&sciodt=0,5&cites=17249863664147333646&scipsc=">citations</a>. If you use Fiji, please <a href="https://imagej.net/contribute/citing">cite it</a> in your publications!
</p>
<p>
<a class="btn btn-outline-primary btn-lg" href="https://imagej.net/contribute/citing">Read more</a>
</p>
<hr class="d-md-none" />
</div>
<div class="col-md-6">
<h2>Partnered Projects</h2>
<p>
The Fiji project is driven by a strong desire to improve the tools available for life sciences to process and analyze data. To this end, Fiji collaborates closely with the following projects:
</p>
<style>.partner-icon { max-width: 128px; }</style>
<div class="row text-center d-flex align-items-end">
<div class="col-4">
<a href="https://imagej.net/software/imagej">
<img class="img-fluid partner-icon" src="site/img/imagej.png" alt="ImageJ logo" />
</a>
<p>
<a href="https://imagej.net/software/imagej">ImageJ</a>
</p>
</div>
<div class="col-4">
<a href="https://imagej.net/software/imagej2">
<img class="img-fluid partner-icon" src="site/img/imagej2.png" alt="ImageJ2 logo" />
</a>
<p>
<a href="https://imagej.net/software/imagej2">ImageJ2</a>
</p>
</div>
<div class="col-4">
<a href="https://imagej.net/software/micro-manager">
<img class="img-fluid partner-icon" src="site/img/micromanager.jpg" alt="Micro-Manager logo" />
</a>
<p>
<a href="https://imagej.net/software/micro-manager">µManager</a>
</p>
</div>
<div class="col-4">
<a href="https://imagej.net/software/knime">
<img class="img-fluid partner-icon" src="site/img/knime.svg" alt="KNIME logo" />
</a>
<p>
<a href="https://imagej.net/software/knime">KNIME</a>
</p>
</div>
<div class="col-4">
<a href="https://imagej.net/formats/bio-formats">
<img class="img-fluid partner-icon" src="site/img/bio-formats.png" alt="Bio-Formats logo" />
</a>
<p>
<a href="https://imagej.net/formats/bio-formats">Bio-Formats</a>
</p>
</div>
<div class="col-4">
<a href="https://imagej.net/software/omero">
<img class="img-fluid partner-icon" src="site/img/ome.png" alt="OME logo" />
</a>
<p>
<a href="https://imagej.net/software/omero">OME</a>
</p>
</div>
</div>
</div>
</div>
<hr />
<footer class="text-center">
<p>
Made with <span class="fas fa-heart" style="color:red"></span> by the <a href="https://imagej.net/people/#fiji">Fiji team</a>
</p>
<p>
<a href="https://github.com/fiji"><span class="fab fa-lg fa-github" style="color:black"></span></a>
<a href="https://twitter.com/FijiSc"><span class="fab fa-lg fa-twitter" style="color:#48A1EB"></span></a>
</p>
</footer>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-p34f1UUtsS3wqzfto5wAAmdvj+osOnFyQFpp4Ua3gs/ZVWx6oOypYoCJhGGScy+8" crossorigin="anonymous"></script>
<script>
const osLinks = {
windows: {
link: "https://downloads.imagej.net/fiji/latest/fiji-win64.zip",
icon: "windows",
text: "Download for Windows (64-bit)"
},
osx: {
link: "https://downloads.imagej.net/fiji/latest/fiji-macosx.zip",
icon: "apple",
text: "Download for macOS"
},
linux:{
link: "https://downloads.imagej.net/fiji/latest/fiji-linux64.zip",
icon: "linux",
text: "Download for Linux (64-bit)"
}
}
function setDownload(currentOS){
const autoDownload = document.getElementById("auto-download");
autoDownload.classList.remove('btn-danger');
autoDownload.classList.add('btn-success');
autoDownload.href = osLinks[currentOS]["link"];
autoDownload.innerHTML =
`<span class="fab fa-${osLinks[currentOS]["icon"]}"></span>
${osLinks[currentOS]["text"]}`
}
if (navigator.platform.indexOf("Win")!=-1){
setDownload("windows");
}
else if (navigator.platform.indexOf("Mac")!=-1){
setDownload("osx");
}
else if (navigator.platform.indexOf("Linux")!=-1){
setDownload("linux");
}
function slugify(text){
return text.toString().toLowerCase()
.replace(/\s+/g, '-') // Replace spaces with -
.replace(/[^\w\-]+/g, '') // Remove all non-word chars
.replace(/\-\-+/g, '-') // Replace multiple - with single -
.replace(/^-+/, '') // Trim - from start of text
.replace(/-+$/, ''); // Trim - from end of text
}
let first = true;
const MAX_PLUGIN_COUNT = 6; // controls max number of tabs shown
fetch('site/plugins.json')
.then(response => response.json())
.then((json) => {
let plugins = json.plugins;
// Fisher-Yates shuffle; see: https://javascript.info/task/shuffle
for (let i = plugins.length - 1; i > 0; i--) {
let j = Math.floor(Math.random() * (i + 1)); // random index from 0 to i
[plugins[i], plugins[j]] = [plugins[j], plugins[i]]; // swap elements
}
if (plugins.length > MAX_PLUGIN_COUNT){
plugins = plugins.slice(0,MAX_PLUGIN_COUNT);
}
// TODO(mattxwang): we should probably properly sanitize inputs before injecting them
plugins.map((val) => {
// generating the tab header
let nameSlug = 'plugin-' + slugify(val.name);
let tabString = `
<li class="nav-item" role="presentation">
<button class="nav-link ${first ? 'active' : ''}" id="${nameSlug}-tab-header" data-bs-toggle="tab" data-bs-target="#${nameSlug}-tab" role="tab" aria-controls="${nameSlug}" aria-selected="true">${val.name}</button>
</li>
`
// generating the tab panel
let paneString = `
<div class="tab-pane fade ${first ? 'show active' : ''}" id="${nameSlug}-tab" role="tabpanel" aria-labelledby="${nameSlug}-tab-header">
${val.imgUrl ?
'<img class="img-fluid img-plugin" alt="image showing ' + val.name + ' in action" src = "' + val.imgUrl + '" /> <hr />'
: ''
}
<h5 class="card-title">${val.name}</h5>
<p class="card-text">${val.description}</p>
<a href="${val.link}" class="btn btn-primary">More information</a>
</div>
`
document.getElementById("plugin-tabs").innerHTML += tabString;
document.getElementById("plugin-tab-content").innerHTML += paneString;
if (first){
first = false;
}
})
});
</script>
</body>
</html>