-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprinciples.html
More file actions
208 lines (199 loc) · 6.16 KB
/
principles.html
File metadata and controls
208 lines (199 loc) · 6.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>IDEAL Guide</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Crimson+Text:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/ideal-style.css">
<style>
.page-header {
padding: 110px 0 24px;
background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
margin-top: 70px;
}
.page-title {
font-family: 'Crimson Text', serif;
font-size: 2rem;
font-weight: 600;
color: #1a365d;
text-align: center;
}
.pdf-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px 48px 24px;
}
.pdf-frame {
width: 100%;
height: 85vh;
border: 1px solid #e2e8f0;
border-radius: 8px;
background: #ffffff;
}
.pdf-fallback {
margin-top: 12px;
font-size: 0.95rem;
}
.flowchart {
margin: 0 0 48px;
}
.flowchart-title {
margin: 14px 0 0;
text-align: center;
color: #1f3667;
font-family: 'Crimson Text', serif;
font-size: 1.5rem;
font-weight: 600;
}
.flowchart img {
width: 100%;
max-width: 1200px;
height: auto;
display: block;
margin: 0 auto;
cursor: zoom-in;
}
/* Flowchart lightbox modal */
.flowchart-modal {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.75);
display: none;
align-items: center;
justify-content: center;
padding: 2rem;
z-index: 2000;
}
.flowchart-modal.is-open {
display: flex;
}
.flowchart-modal__dialog {
position: relative;
width: min(1200px, 100%);
max-height: 90vh;
background: #ffffff;
border-radius: 14px;
box-shadow: 0 12px 40px rgba(0,0,0,0.35);
overflow: hidden;
}
.flowchart-modal__header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 1rem;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
.flowchart-modal__title {
margin: 0;
font-size: 1rem;
color: #1f3667;
font-weight: 600;
}
.flowchart-modal__close {
appearance: none;
border: 1px solid rgba(31, 54, 103, 0.2);
background: #fff;
color: #1f3667;
border-radius: 10px;
padding: 0.35rem 0.6rem;
font-size: 1rem;
cursor: pointer;
}
.flowchart-modal__body {
padding: 1rem;
overflow: auto;
max-height: calc(90vh - 56px);
}
.flowchart-modal__img {
width: 100%;
height: auto;
display: block;
}
</style>
<script defer src="assets/js/navigation.js"></script>
</head>
<body>
<!-- Shared Navigation -->
<nav class="nav">
<div class="container">
<div class="nav-content">
<div class="nav-brand">
<a href="index.html"><img class="nav-logo" src="assets/images/logos/ideal.png" alt="IDEAL Logo"></a>
<span class="logo-subtitle">Impact Data and Evidence Aggregation Library</span>
</div>
<ul class="nav-menu"></ul>
<div class="nav-auth"></div>
</div>
</div>
</nav>
<header class="page-header">
<div class="container">
<h1 class="page-title">Data Extraction Principles and Objectives</h1>
</div>
</header>
<main class="pdf-container">
<div class="flowchart">
<img
id="principlesFlowchartImg"
src="assets/images/flowcharts/Project%20Flowchart%20(Data%20extraction).png"
alt="IDEAL Project Flowchart (Data Extraction)"
loading="lazy"
/>
<h2 class="flowchart-title">IDEAL Data Extraction Flowchart</h2>
</div>
<iframe class="pdf-frame" src="assets/IDEAL_Review_Guide_v102825_clean.pdf#view=FitH" title="IDEAL Guide"></iframe>
<p class="pdf-fallback">
If the document does not load, <a href="assets/IDEAL_Review_Guide_v102825_clean.pdf" target="_blank" rel="noopener noreferrer">open the PDF in a new tab</a>.
</p>
</main>
<!-- Flowchart Lightbox Modal -->
<div class="flowchart-modal" id="principlesFlowchartModal" aria-hidden="true">
<div class="flowchart-modal__dialog" role="dialog" aria-modal="true" aria-labelledby="principlesFlowchartModalTitle">
<div class="flowchart-modal__header">
<p class="flowchart-modal__title" id="principlesFlowchartModalTitle">IDEAL Project Flowchart (Data Extraction)</p>
<button type="button" class="flowchart-modal__close" id="principlesFlowchartModalClose" aria-label="Close">×</button>
</div>
<div class="flowchart-modal__body">
<img class="flowchart-modal__img" id="principlesFlowchartModalImg" alt="IDEAL Project Flowchart (Data Extraction) large view" />
</div>
</div>
</div>
<!-- Shared Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content"></div>
<div class="footer-bottom"></div>
</div>
</footer>
<script src="assets/js/footer.js"></script>
<script>
(function() {
const img = document.getElementById('principlesFlowchartImg');
const modal = document.getElementById('principlesFlowchartModal');
const modalImg = document.getElementById('principlesFlowchartModalImg');
const modalClose = document.getElementById('principlesFlowchartModalClose');
if (!img || !modal || !modalImg) return;
const openModal = () => {
modalImg.src = img.getAttribute('src') || '';
modal.classList.add('is-open');
modal.setAttribute('aria-hidden', 'false');
if (modalClose) modalClose.focus();
};
const closeModal = () => {
modal.classList.remove('is-open');
modal.setAttribute('aria-hidden', 'true');
};
img.addEventListener('click', openModal);
if (modalClose) modalClose.addEventListener('click', closeModal);
modal.addEventListener('click', (e) => {
if (e.target === modal) closeModal();
});
document.addEventListener('keydown', (e) => {
if (e.key === 'Escape') closeModal();
});
})();
</script>
</body>
</html>