-
Notifications
You must be signed in to change notification settings - Fork 0
/
Examples.html
302 lines (253 loc) · 6.71 KB
/
Examples.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GraFT-App Examples</title>
<style>
/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
@font-face{
font-family: Neuropol;
src: url(Fonts/Neuropol.ttf);
}
body {
font-family: 'Arial', sans-serif;
background-color: #f8f8f8;
}
header {
background-color: #172628;
color: #38E79D;
padding: 20px;
text-align: center;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.header img {
float: left;
width: 100px;
height: 100px;
background: #555;
}
.header h1 {
position: relative;
font-family: Neuropol;
top: 18px;
left: 10px;
}
a {
color: blue;
text-decoration: none;
}
a:hover {
cursor: pointer;
}
footer {
background-color: #172628;
color: #fff;
padding: 20px;
text-align: center;
box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.1);
margin-top: auto;
}
/* Sticky Footer styles */
.content {
min-height: calc(100vh - 126px); /* Adjust based on your header and footer heights */
display: flex;
flex-direction: column;
}
body {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
position: -webkit-sticky;
position: sticky;
top: 0;
}
/* Style the buttons that are used to open the tab content */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
}
.tabcontent {
animation: fadeEffect 1s; /* Fading effect takes 1 second */
}
/* Go from zero to full opacity */
@keyframes fadeEffect {
from {opacity: 0;}
to {opacity: 1;}
}
/* Modern bullet point styling */
.installation-steps {
list-style: none;
padding-left: 0;
}
.installation-steps li {
margin-bottom: 30px;
}
.step-content {
display: flex;
align-items: flex-start;
}
.step-number {
font-size: 20px;
color: #333;
margin-right: 20px;
}
.step-info {
flex: 1;
}
.step-info h3 {
font-size: 20px;
margin: 0;
margin-bottom: 10px;
}
.step-info p {
font-size: 16px;
line-height: 1.5;
margin: 0;
}
.step-image {
max-width: 50%;
height: auto;
border-radius: 8px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.lone-image {
max-width: 100%;
height: auto;
border-radius: 3px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
/* LIST */
.container {
display: flex;
justify-content: space-around;
<!-- align-items: center;-->
min-height: 100vh;
padding: 20px;
}
.todo-list {
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
width: 45%;
}
.todo-list h2 {
margin-top: 0;
padding-bottom: 10px;
border-bottom: 1px solid #ccc;
}
/* Style for each todo item */
.todo-item {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
padding: 10px 0;
}
.item-name {
flex: 1;
font-weight: bold;
}
.item-description {
flex: 2;
color: #777;
padding-left: 10px;
}
/* Media query for responsiveness */
@media screen and (max-width: 480px) {
.todo-list {
width: 100%;
}
}
</style>
<script>
// Get the element with id="defaultOpen" and click on it
document.getElementById("defaultOpen").click();
function openCity(evt, cityName) {
// Declare all variables
var i, tabcontent, tablinks;
// Get all elements with class="tabcontent" and hide them
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
// Get all elements with class="tablinks" and remove the class "active"
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
// Show the current tab, and add an "active" class to the button that opened the tab
document.getElementById(cityName).style.display = "block";
evt.currentTarget.className += " active";
}
</script>
</head>
<body>
<header>
<!-- ... (header content) ... -->
<div class="header">
<img src="images/graft_adam_logo_gonly.png" alt="logo">
<h1>GraFT-App Examples</h1>
</div>
</header>
<main>
<!-- Tab links -->
<div class="tab">
<button class="tablinks" onclick="openCity(event, 'Example 1')">Uno</button>
<button class="tablinks" onclick="openCity(event, 'Example 2')">Dos</button>
<button class="tablinks" onclick="openCity(event, 'Example 3')">Tres</button>
</div>
<!-- Tab content -->
<!-- Example 1 TAB-->
<div id="Example 1" class="tabcontent">
<h2>Coming soon</h2>
</div>
<!--Example 2 TAB-->
<div id="Example 2" class="tabcontent">
<h2>Coming soon</h2>
</div>
<!-- Example 3 TAB-->
<div id="Example 3" class="tabcontent">
<h2>Coming soon</h2>
</div>
</main>
<footer>
<!-- ... (footer content) ... -->
A. S. Charles, N. Cermak, R. O. Affan, B. B. Scott, J. Schiller and G. Mishne, "GraFT: Graph Filtered Temporal
Dictionary Learning for Functional Neural Imaging," in IEEE Transactions on Image Processing, vol. 31, pp.
3509-3524, 2022, doi: 10.1109/TIP.2022.3171414.<br>
© 2023 GraFT-App
</footer>
</body>
</html>