forked from JuliaHealth/KomaMRI.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.html
More file actions
222 lines (216 loc) · 13.1 KB
/
sidebar.html
File metadata and controls
222 lines (216 loc) · 13.1 KB
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
<main id="main">
<div class="navbar-dark d-flex flex-column p-3 bg-dark vh-100" style="width: 200px">
<a href="#" onclick='Blink.msg("index", 1)' class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-decoration-none">
<input type="image" class="mx-auto d-block" height="55px" src="LOGO"/>
</a>
<ul class="navbar-nav nav-pills flex-column mb-auto">
<hr>
<!-- SEQUENCE -->
<li id="pulses" class="nav-item dropdown dropdown-dark" style="padding-bottom:0; margin-bottom:0">
<a class="nav-link dropdown-toggle" href="#" role="button" id="seq-dropdown" data-bs-toggle="dropdown">
<span class="iconkoma"><span class="icon-wave-square me-2 "></span><span class="w-100 ">Sequence</span></span>
</a>
<ul class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="seq-dropdown" style="position: absolute;">
<li><a id="button_pulses_seq" class="dropdown-item" href="#" onclick='Blink.msg("pulses_seq", 1)'>View Sequence</a></li>
<!-- Sequence (MPS) -->
<!--<li><a class="dropdown-item disabled" href="#" onclick='Blink.msg("pulses_seqxyz", 1)'>Sequence (XYZ)</a></li>-->
<li><a id="button_pulses_kspace" class="dropdown-item" href="#" onclick='Blink.msg("pulses_kspace", 1)'>View $k$-space</a></li>
<li>
<a class="dropdown-item" href="#">
View Moments »
</a>
<ul class="dropdown-menu dropdown-menu-dark dropdown-submenu">
<li><a id="button_pulses_M0" class="dropdown-item" href="#" onclick='Blink.msg("pulses_M0", 1)'>$M_0(t)$</a></li>
<li><a id="button_pulses_M1" class="dropdown-item" href="#" onclick='Blink.msg("pulses_M1", 1)'>$M_1(t)$</a></li>
<li><a id="button_pulses_M2" class="dropdown-item" href="#" onclick='Blink.msg("pulses_M2", 1)'>$M_2(t)$</a></li>
</ul>
</li>
<li><hr class="dropdown-divider"></li>
<li class="dropdown-interact">
<div class="seq-filepicker-row">
<span id="seqfilepicker"></span>
<button id="button_reload_seq" class="btn btn-dark seq-reload-button" type="button" onclick='Blink.msg("reload_seq", 1)' title="Reload sequence">
<i class="bi bi-arrow-clockwise"></i>
</button>
</div>
</li>
</ul>
</li>
<p id="seqname" class="pname"><abbr title="epi.seq">epi.seq</abbr></p>
<!-- PHANTOM -->
<li id="phantom" class="nav-item dropdown dropdown-dark">
<a class="nav-link dropdown-toggle iconkoma" href="#" role="button" id="pha-dropdown" data-bs-toggle="dropdown">
<span class="iconkoma"><span class="icon-brain me-2 "></span><span class="w-100 ">Phantom</span></span>
</a>
<ul class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="pha-dropdown">
<li><a id="button_phantom" class="dropdown-item" href="#" onclick='Blink.msg("phantom", 1)'>View Phantom</a></li>
<li><hr class="dropdown-divider"></li>
<li class="dropdown-interact" id="phafilepicker"></li>
</ul>
</li>
<p id="phaname" class="pname"><abbr title="brain2D_axial.h5">brain2D_axial.h5</abbr></p>
<!-- SCANNER -->
<li id="scanner" class="nav-item dropdown dropdown-dark">
<a class="nav-link dropdown-toggle iconkoma" href="#" role="button" id="seq-dropdown" data-bs-toggle="dropdown">
<span class="iconkoma"><span class="icon-magnet me-2 "></span><span class="w-100 ">Scanner</span></span>
</a>
<ul class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="pha-dropdown">
<li><a id="button_scanner" class="dropdown-item" href="#" onclick='Blink.msg("scanner", 1)'>View Scanner</a></li>
</ul>
</li>
<p id="scaname" class="pname"><abbr title="default.scanner">default.scanner</abbr></p>
<hr>
<!-- SIMULATE -->
<li class="nav-item">
<div class="btn-group btn-group-sm d-flex">
<button type="button" class="btn btn-primary w-100" id="simulate!" onclick='Blink.msg("simulate", 1)'>Simulate!</button>
<button type="button" class="btn btn-outline-primary btn-sm dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
</button>
<div class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="btnDropdownDemo">
<a class="dropdown-item disabled" href="#"><i class="bi bi-upload me-2"></i>Load Options</a>
<a class="dropdown-item" href="#" id="button_sim_params" onclick='Blink.msg("sim_params", 1)'><i class="bi bi-gear-fill me-2"></i>View Options</a>
</div>
</div>
</li>
<!-- SIGNAL -->
<li id="sig" class="nav-item dropdown dropdown-dark">
<a class="nav-link dropdown-toggle iconkoma" href="#" role="button" id="sig-dropdown" data-bs-toggle="dropdown">
<span class="iconkoma"><span class="icon-oscilloscope me-2 "></span><span class="w-100 ">RawData</span></span>
</a>
<ul class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="sig-dropdown">
<li><a id="button_sig" class="dropdown-item" href="#" onclick='Blink.msg("sig", 1)'>View RawData</a></li>
<li><hr class="dropdown-divider"></li>
<li class="dropdown-interact" id="sigfilepicker"></li>
</ul>
</li>
<p id="rawname" class="pname"><abbr title="empty.mrd">empty.mrd</abbr></p>
<hr>
<!-- RECON -->
<li class="nav-item">
<div class="btn-group btn-group-sm d-flex">
<!-- <button type="button" class="btn btn-primary w-100" id="recon!" onclick='Blink.msg("recon", 1)' disabled>Reconstruct!</button> -->
<button type="button" class="btn btn-primary w-100" id="recon!" onclick='Blink.msg("recon", 1)'>Reconstruct!</button>
<button type="button" class="btn btn-outline-primary btn-sm dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
</button>
<div class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="btnDropdownDemo">
<a class="dropdown-item disabled" href="#"><i class="bi bi-upload me-2"></i>Load Options</a>
<a class="dropdown-item" href="#" id="button_rec_params" onclick='Blink.msg("rec_params", 1)'><i class="bi bi-gear-fill me-2"></i>View Options</a>
</div>
</div>
</li>
<!-- RECOND IMAGE -->
<li id="recon" class="nav-item dropdown dropdown-dark">
<a class="nav-link dropdown-toggle iconkoma" href="#" role="button" id="rec-dropdown" data-bs-toggle="dropdown">
<span class="iconkoma"><span class="icon-images me-2 "></span><span class="w-100 ">Image</span></span>
</a>
<ul class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="rec-dropdown">
<li><a id="button_reconstruction_absI" class="dropdown-item" href="#" onclick='Blink.msg("reconstruction_absI", 1)'>View $|\mathrm{Image}|$</a></li>
<li><a id="button_reconstruction_angI" class="dropdown-item" href="#" onclick='Blink.msg("reconstruction_angI", 1)'>View $\angle\mathrm{Image}$</a></li>
<li><a id="button_reconstruction_absK" class="dropdown-item" href="#" onclick='Blink.msg("reconstruction_absK", 1)'>View $\log(|k$-data$|+1)$</a></li>
</ul>
</li>
<hr>
<!-- EXPORT -->
<li id="export" class="nav-item dropdown dropdown-dark">
<a class="nav-link dropdown-toggle" href="#" role="button" id="exp-dropdown" data-bs-toggle="dropdown">
<span class="iconkoma"><span class="bi-download me-2"></span><span class="w-100">Export to .mat</span></span>
</a>
<ul class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="exp-dropdown">
<!--<li><a class="dropdown-interact" id="matfolder" href="#" >All</a></li>-->
<li><a id="button_matfolder" class="dropdown-item" href="#" onclick='Blink.msg("matfolder", 1)'>All</a></li>
<li><hr class="dropdown-divider"></li>
<li><a id="button_matfolderseq" class="dropdown-item" href="#" onclick='Blink.msg("matfolderseq", 1)'>Sequence</a></li>
<li><a id="button_matfolderpha" class="dropdown-item" href="#" onclick='Blink.msg("matfolderpha", 1)'>Phantom</a></li>
<li><a id="button_matfoldersca" class="dropdown-item" href="#" onclick='Blink.msg("matfoldersca", 1)'>Scanner</a></li>
<li><a id="button_matfolderraw" class="dropdown-item" href="#" onclick='Blink.msg("matfolderraw", 1)'>RawData</a></li>
<li><a id="button_matfolderima" class="dropdown-item" href="#" onclick='Blink.msg("matfolderima", 1)'>Image</a></li>
<!--
<li><a class="dropdown-interact" id="matfolderseq" href="#">Sequence</a></li>
<li><a class="dropdown-interact" id="matfolderpha" href="#">Phantom</a></li>
<li><a class="dropdown-interact" id="matfoldersca" href="#">Scanner</a></li>
<li><a class="dropdown-interact" id="matfolderraw" href="#">RawData</a></li>
<li><a class="dropdown-interact" id="matfolderima" href="#">Image</a></li>
-->
</ul>
</li>
</ul>
<hr>
<!-- Koma GITHUB -->
<div class="dropdown">
<a class="d-flex align-items-center text-decoration-none dropdown-toggle iconkoma" href="#"
id="dropdownUser1" data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-github me-2"></i><span class="w-100">KomaMRI</span>
</a>
<ul class="dropdown-menu dropdown-menu-dark text-small shadow" aria-labelledby="dropdownUser1">
<li><a class="dropdown-item" id="Github" target="_blank" href="https://github.com/cncastillo/KomaMRI.jl/"
data-bs-toggle="tooltip" data-bs-placement="right" title="Hooray!">
<i class="bi bi-box-seam me-2"></i>Go to Koma's GitHub
</a></li>
<li><a class="dropdown-item" id="Documentation" target="_blank" href="https://cncastillo.github.io/KomaMRI.jl/">
<i class="bi bi-file-earmark-text me-2"></i>Documentation
</a></li>
<li><a class="dropdown-item" id="Issues" target="_blank" href="https://github.com/cncastillo/KomaMRI.jl/issues/new">
<i class="bi bi-exclamation-circle me-2"></i>Post an Issue/Bug
</a></li>
</ul>
</div>
</div>
<!-- TOAST MESSAGES -->
<div class="toast-container position-absolute bottom-0 end-0 p-3" style="z-index: 11;">
<div id="liveToast0" class="toast hide" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header bg-dark">
<svg class="bd-placeholder-img rounded me-2" width="20" height="20" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img"><rect width="100%" height="100%" fill="grey"></rect></svg>
<strong class="me-auto text-white" id="toastTitle0">Data Loader</strong>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body" id="toastBody0">
Hello, world! This is a toast message.
</div>
</div>
<div id="liveToast1" class="toast hide" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header bg-dark">
<svg class="bd-placeholder-img rounded me-2" width="20" height="20" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img"><rect width="100%" height="100%" fill="#2a7fb8"></rect></svg>
<strong class="me-auto text-white" id="toastTitle1">Simulator</strong>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body" id="toastBody1">
Hello, world! This is a toast message.
</div>
</div>
<div id="liveToast2" class="toast hide" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header bg-dark">
<svg class="bd-placeholder-img rounded me-2" width="20" height="20" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img"><rect width="100%" height="100%" fill="#2a7fb8"></rect></svg>
<strong class="me-auto text-white" id="toastTitle2">Reconstructor</strong>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body" id="toastBody2">
Hello, world! This is a toast message.
</div>
</div>
</div>
<script type="text/javascript">
// function updateMath(){
// // MathJax.typeset() //3
// window.MathJax.Hub.Queue(["Typeset",MathJax.Hub]); //2
// }
//Toasts (Popover messages)
var option = {
animation : true,
delay: 3000
};
function Toasty(id, title, text)
{
var toastHTMLElement = document.getElementById("liveToast"+id);
document.getElementById("toastTitle"+id).innerHTML=title;
document.getElementById("toastBody"+id).innerHTML=text;
var toastElemnt = new bootstrap.Toast(toastHTMLElement, option);
toastElemnt.show();
}
// Initialize tooltips
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl, {trigger : 'hover'})
})
</script>
<!-- For index.html -->
<div class="container" style="padding: 0px !important;" id="content" data-content="index">