Skip to content

Commit 0f93a63

Browse files
committed
RF: Fixed Schedule js issue, removed numbers in why section, removed conference management
1 parent 2b42a25 commit 0f93a63

File tree

8 files changed

+59
-65
lines changed

8 files changed

+59
-65
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
args: [--allow-missing-credentials]
2626
- id: detect-private-key
2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: v0.14.1
28+
rev: v0.14.3
2929
hooks:
3030
# Run the linter
3131
- id: ruff

2026.rst

Lines changed: 27 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,24 @@ About
2929
.. workshop-about::
3030
:template: _templates/v2/about_template.html
3131
:watermark_image_url: _static/images/dipy-watermark.svg
32-
:note_name: DIPY Team
32+
:note_name: Learn Diffusion MRI
3333

34-
Attention grads, researchers, physicists, radiologists, doctors and technicians interested in medical imaging! Join us for an exciting online workshop hosted by DIPY. Our comprehensive program is designed to equip you with the skills and knowledge needed to master the latest techniques and tools in structural and diffusion imaging.
35-
Our team of expert instructors will guide you through the fundamentals of diffusion theory, data pre-processing, fiber tracking, and much more. You'll have the opportunity to learn from industry-leading professionals, ask questions, and network with like-minded peers.
36-
Whether you're new to diffusion imaging or an experienced practitioner, this workshop is perfect for you. Our curriculum is tailored to meet the needs of individuals at all levels of expertise. Don't miss this chance to enhance your skills and advance your career.
37-
Register today to secure your spot in this highly anticipated event. We can't wait to see you in the event!
34+
A 5-day workshop covering the fundamentals of structural and diffusion MRI analysis. No coding experience needed. You'll learn everything from preprocessing to tractography and analytics through practical, hands-on sessions. Whether you're a student, researcher, or clinician, our curriculum meets you at your level. Complete the workshop to earn your certificate and connect with neuroimaging professionals worldwide.
3835

3936
.. about-stat-card::
40-
:icon: 🏆
37+
:icon:
4138
:number: 18
42-
:label: Years of Excellence
39+
:label: Years in development
4340

4441
.. about-stat-card::
45-
:icon: 👤
46-
:number: 2000+
47-
:label: Participants Worldwide
42+
:icon: 🏛️
43+
:number: 40+
44+
:label: Contributing Universities
4845

4946
.. about-stat-card::
50-
:icon: 🎤
51-
:number: 100+
52-
:label: Distinguished Speakers
47+
:icon: 🔬
48+
:number: 1500+
49+
:label: Projects Powered by DIPY
5350

5451
####
5552
Why?
@@ -111,18 +108,18 @@ Speakers
111108
:title: Associate DIPY Lead, eScience Institute
112109
:affiliation: Research Associate Professor, University of Washington, Seattle
113110

111+
.. workshop-speaker::
112+
:name: Jaroslaw Harezlak
113+
:image: jarek.jpeg
114+
:title: DIPY Advisor on Statistics
115+
:affiliation: Professor, Indiana University
116+
114117
.. workshop-speaker::
115118
:name: Rafael Neto Henriques
116119
:image: henriques.jpeg
117120
:title: Assistant Professor
118121
:affiliation: Institute of Biophysics and Biomedical Engineering, Department of Physics, Faculty of Science, University of Lisbon
119122

120-
.. workshop-speaker::
121-
:name: Wei Tang
122-
:image: wei.jpeg
123-
:title: Assistant Professor
124-
:affiliation: Department of Psychological and Brain Sciences, Indiana University
125-
126123
.. workshop-speaker::
127124
:name: Serge Koudoro
128125
:image: serge.png
@@ -132,7 +129,7 @@ Speakers
132129
.. workshop-speaker::
133130
:name: Bramsh Qamar Chandio
134131
:image: Chandio.jpeg
135-
:title: Associate Professor
132+
:title: Assistant Professor
136133
:affiliation: West Virginia University
137134

138135
.. workshop-speaker::
@@ -171,27 +168,12 @@ Speakers
171168
:title: PhD Student
172169
:affiliation: Indiana University
173170

174-
175-
---------------------
176-
Conference Management
177-
---------------------
178-
179-
.. workshop-speakers::
180-
:template: _templates/v2/speaker_template.html
181-
:title: Conference Management
182-
:subtitle: Our dedicated team
183-
184171
.. workshop-speaker::
185172
:name: Sai Prajwal Reddy
186173
:image: Prajwal.jpeg
187174
:title: PhD Student
188175
:affiliation: Indiana University
189176

190-
.. workshop-speaker::
191-
:name: Kaustav Deka
192-
:image: Kaustav.png
193-
:title: Graduate Student
194-
:affiliation: Indiana University
195177

196178
-----------------
197179
Participants from
@@ -335,12 +317,7 @@ Special Thanks
335317
.. workshop-thanks::
336318
:template: _templates/v2/thanks_template.html
337319
:title: Special Thanks
338-
:note: Multiple speakers including <b>Garyfallidis, Landman and Harezlak</b> are funded by the <br/><a href="https://www.nih.gov/">National Institutes of Health</a>.<br/> In addition, <b>Koudoro, Rokem and Girard</b> are funded froman EOSS grant through the <br/><a href="https://chanzuckerberg.com/eoss/proposals/strengthening-computational-neuroanatomy-using-dipy/">Chan Zuckerberg Initiative</a>.
339-
340-
.. workshop-thanks-item::
341-
:name: Garyfallidis Research Group (GRG)
342-
:image: _static/images/universities/GRG.png
343-
:url: https://grg.luddy.indiana.edu/
320+
:note: Multiple speakers including <b>Garyfallidis and Harezlak</b> are funded by the <br/><a href="https://www.nih.gov/">National Institutes of Health</a>.<br/> In addition, <b>Koudoro and Rokem</b> are funded from an EOSS grant through the <br/><a href="https://chanzuckerberg.com/eoss/proposals/strengthening-computational-neuroanatomy-using-dipy/">Chan Zuckerberg Initiative</a>.
344321

345322
.. workshop-thanks-item::
346323
:name: Intelligent Systems Engineering (IU)
@@ -354,6 +331,11 @@ Highlights
354331
.. carousel::
355332
:template: _templates/v2/swipe_carousel.html
356333

334+
.. carousel-item::
335+
:image: _static/images/carousel/trct.png
336+
:title: DIPY GUI
337+
:description: DIPY's intuitive graphical interface for advanced visualization and analysis
338+
357339
.. carousel-item::
358340
:image: https://raw.githubusercontent.com/dipy/dipy_data/master/tractometry.png?raw=true
359341
:title: Advanced tractometry
@@ -455,7 +437,7 @@ Schedule
455437

456438
.. workshop-timeline-item::
457439
:time: 10:00 - 10:50
458-
:title: DIPY Reconstruction Overview
440+
:title: Reconstruction Overview
459441
:info: Comprehensive overview of reconstruction methods including DTI, DKI, CSD, and advanced multi-shell techniques.
460442
:speaker: TBA
461443
:image: dipy-all.svg
@@ -499,7 +481,7 @@ Schedule
499481

500482
.. workshop-timeline-item::
501483
:time: 09:00 - 09:50
502-
:title: DIPY Tractography Overview
484+
:title: Tractography Overview
503485
:info: Comprehensive introduction to fiber tracking algorithms including deterministic and probabilistic methods.
504486
:speaker: TBA
505487
:image: dipy-all.svg
@@ -513,7 +495,7 @@ Schedule
513495

514496
.. workshop-timeline-item::
515497
:time: 11:00 - 11:50
516-
:title: DIPY Registration Overview
498+
:title: Registration Overview
517499
:info: Image registration techniques for aligning diffusion data across subjects and to anatomical templates.
518500
:speaker: TBA
519501
:image: dipy-all.svg
@@ -602,7 +584,7 @@ Schedule
602584

603585
.. workshop-timeline-item::
604586
:time: 11:00 - 11:50
605-
:title: DIPY Skyline
587+
:title: Skyline
606588
:info: The Crown Jewel of Insight: The World's Most Exquisite Visualization Platform for Immersive Data Exploration.
607589
:speaker: Maharshi Gor
608590
:image: maharshi.jpeg

_static/css/v2/thanks.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414
}
1515

1616
.thanks-grid {
17-
display: grid;
18-
grid-template-columns: repeat(2, 1fr);
17+
display: flex;
18+
flex-wrap: wrap;
1919
gap: 2rem;
2020
max-width: 60rem;
2121
margin: 0 auto;
22+
justify-content: center;
2223
}
2324

2425
.thanks-card {
@@ -92,7 +93,6 @@
9293
}
9394

9495
.thanks-grid {
95-
grid-template-columns: repeat(2, 1fr);
9696
gap: 2.5rem;
9797
}
9898

_static/images/carousel/trct.png

699 KB
Loading
7.33 KB
Loading

_static/images/speakers/jarek.jpeg

67.3 KB
Loading

_static/js/schedule-carousel.js

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
let currentX = 0;
1414
let isDragging = false;
1515

16+
function isMobile() {
17+
return window.innerWidth <= 768;
18+
}
19+
1620
function initCarousel() {
1721
scheduleGrid = document.querySelector('.schedule-grid');
1822
prevButton = document.querySelector('.schedule-nav-prev');
@@ -36,37 +40,47 @@
3640
scheduleGrid.addEventListener('touchmove', handleTouchMove, { passive: true });
3741
scheduleGrid.addEventListener('touchend', handleTouchEnd);
3842

39-
scheduleGrid.addEventListener('mousedown', handleMouseDown);
40-
scheduleGrid.addEventListener('mousemove', handleMouseMove);
41-
scheduleGrid.addEventListener('mouseup', handleMouseUp);
42-
scheduleGrid.addEventListener('mouseleave', handleMouseUp);
43+
// Only add mouse drag events on mobile
44+
if (isMobile()) {
45+
scheduleGrid.addEventListener('mousedown', handleMouseDown);
46+
scheduleGrid.addEventListener('mousemove', handleMouseMove);
47+
scheduleGrid.addEventListener('mouseup', handleMouseUp);
48+
scheduleGrid.addEventListener('mouseleave', handleMouseUp);
49+
}
4350

4451
updateCarousel();
4552
}
4653

4754
function goToSlide(index) {
48-
if (index < 0 || index >= totalSlides) {
55+
if (!isMobile() || index < 0 || index >= totalSlides) {
4956
return;
5057
}
5158
currentSlide = index;
5259
updateCarousel();
5360
}
5461

5562
function nextSlide() {
63+
if (!isMobile()) return;
5664
if (currentSlide < totalSlides - 1) {
5765
currentSlide++;
5866
updateCarousel();
5967
}
6068
}
6169

6270
function prevSlide() {
71+
if (!isMobile()) return;
6372
if (currentSlide > 0) {
6473
currentSlide--;
6574
updateCarousel();
6675
}
6776
}
6877

6978
function updateCarousel() {
79+
if (!isMobile()) {
80+
scheduleGrid.style.transform = '';
81+
return;
82+
}
83+
7084
const offset = -currentSlide * 100;
7185
scheduleGrid.style.transform = `translateX(${offset}%)`;
7286

@@ -89,17 +103,18 @@
89103
}
90104

91105
function handleTouchStart(e) {
106+
if (!isMobile()) return;
92107
startX = e.touches[0].clientX;
93108
isDragging = true;
94109
}
95110

96111
function handleTouchMove(e) {
97-
if (!isDragging) return;
112+
if (!isMobile() || !isDragging) return;
98113
currentX = e.touches[0].clientX;
99114
}
100115

101116
function handleTouchEnd() {
102-
if (!isDragging) return;
117+
if (!isMobile() || !isDragging) return;
103118
isDragging = false;
104119

105120
const diff = startX - currentX;
@@ -115,18 +130,19 @@
115130
}
116131

117132
function handleMouseDown(e) {
133+
if (!isMobile()) return;
118134
startX = e.clientX;
119135
isDragging = true;
120136
scheduleGrid.style.cursor = 'grabbing';
121137
}
122138

123139
function handleMouseMove(e) {
124-
if (!isDragging) return;
140+
if (!isMobile() || !isDragging) return;
125141
currentX = e.clientX;
126142
}
127143

128144
function handleMouseUp() {
129-
if (!isDragging) return;
145+
if (!isMobile() || !isDragging) return;
130146
isDragging = false;
131147
scheduleGrid.style.cursor = 'grab';
132148

@@ -143,7 +159,7 @@
143159
}
144160

145161
function handleKeyDown(e) {
146-
if (window.innerWidth > 768) return;
162+
if (!isMobile()) return;
147163

148164
if (e.key === 'ArrowLeft') {
149165
prevSlide();
@@ -164,11 +180,12 @@
164180
window.addEventListener('resize', () => {
165181
clearTimeout(resizeTimeout);
166182
resizeTimeout = setTimeout(() => {
167-
if (window.innerWidth <= 768) {
183+
if (isMobile()) {
168184
updateCarousel();
169185
} else {
170186
if (scheduleGrid) {
171187
scheduleGrid.style.transform = '';
188+
currentSlide = 0;
172189
}
173190
}
174191
}, 250);

_templates/v2/why_template.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ <h2 class="why-title">
2525
{# Icon and Number Side #}
2626
<div class="why-icon-side">
2727
<div class="why-icon-container">
28-
{# Number Background #}
29-
<div class="why-number-background">
30-
{{ "%02d"|format(loop.index) }}
31-
</div>
3228
{# Icon #}
3329
<div class="why-icon-box">
3430
<div class="why-icon">
@@ -46,7 +42,6 @@ <h2 class="why-title">
4642
<div class="why-content-side">
4743
<div class="why-content-card">
4844
<h3 class="why-content-title">
49-
<span class="why-content-number">{{ "%02d"|format(loop.index) }}.</span>
5045
{{ item.title }}
5146
</h3>
5247
<p class="why-content-description">

0 commit comments

Comments
 (0)