-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
195 lines (180 loc) · 8.5 KB
/
Copy pathindex.html
File metadata and controls
195 lines (180 loc) · 8.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>2Pipe</title>
<link rel="icon" type="image/png" href="images/2Pipe.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<button id="theme-toggle" class="theme-toggle" title="Toggle theme">
<i class="fas fa-moon"></i>
</button>
<div class="container">
<div id="intro-section" class="intro-section">
<img src="images/2Pipe.png" alt="2Pipe Logo" class="logo">
<h1>Welcome to 2Pipe:</h1>
<h2> It starts with a question!</h2>
<p>We help you to identify the most suitable pipeline for MAG reconstruction according to your needs.</p>
<div class="intro-buttons">
<div class="intro-row">
<button id="start-btn" class="start-btn">Get Started</button>
<button id="gallery-btn" class="gallery-btn">Pipeline Gallery</button>
</div>
<div class="intro-row">
<button id="workflow-btn" class="workflow-btn">Pipeline Workflows</button>
<button id="selector-page-btn" class="workflow-btn">Tool Gallery</button>
</div>
<div class="intro-row">
<button id="table-btn" class="table-btn">Technical Comparison</button>
<button id="tools-table-btn" class="table-btn">Advanced Comparison</button>
</div>
<div class="intro-row">
<button id="papers-btn" class="gallery-btn">Benchmarks & Literature</button>
<button id="general-workflow-btn" class="workflow-btn">General Workflow</button>
</div>
</div>
<div class="resource-buttons">
<a href="https://journals.asm.org/doi/10.1128/msystems.00844-25" target="_blank" class="resource-btn docs-btn">
<i class="fas fa-book"></i>
Documentation
</a>
<a href="https://form.jotform.com/jeffe10789/2pipe-form" target="_blank" class="resource-btn submit-btn">
<i class="fas fa-plus-circle"></i>
Add your pipeline
</a>
<a href="https://github.com/jeffe107/2pipe" target="_blank" class="resource-btn github-btn">
<i class="fab fa-github"></i>
Source Code
</a>
</div>
</div>
<div id="question-section" class="question-section" style="display: none;">
<div class="progress-container">
<div class="progress-bar"></div>
</div>
<div class="question-container">
<div class="question-content">
<h2 id="question-text"></h2>
<div id="options-container"></div>
</div>
<div class="navigation">
<button id="back-to-intro-btn" class="back-btn">Back to Introduction</button>
<div class="nav-buttons">
<button id="prev-btn" class="nav-btn" disabled>Previous</button>
<button id="next-btn" class="nav-btn">Next</button>
</div>
</div>
</div>
</div>
</div>
<!-- Workflow Info Section -->
<div id="workflow-info-section" class="workflow-info-section" style="display: none;">
<div class="workflow-info-header">
<h2>General Workflow</h2>
<button id="close-workflow-info-btn" class="close-btn">×</button>
</div>
<div class="workflow-info-container">
<!-- Content will be loaded here -->
</div>
</div>
<!-- Gallery Section -->
<div id="gallery-section" class="gallery-section" style="display: none;">
<div class="gallery-header">
<h2>Pipeline Gallery</h2>
<button id="close-gallery-btn" class="close-btn">×</button>
</div>
<div id="gallery-container" class="gallery-container"></div>
</div>
<!-- Table Section -->
<div id="table-section" class="table-section" style="display: none;">
<div class="table-header">
<h2>Technical Comparison</h2>
<button id="close-table-btn" class="close-btn">×</button>
</div>
<div id="table-container" class="table-container"></div>
</div>
<!-- Tools Table Section -->
<div id="tools-table-section" class="table-section" style="display: none;">
<div class="table-header">
<h2>Advanced Comparison</h2>
<button id="close-tools-table-btn" class="close-btn">×</button>
</div>
<div id="tools-table-container" class="table-container"></div>
</div>
<!-- Papers Section -->
<div id="papers-section" class="gallery-section" style="display: none;">
<div class="gallery-header">
<h2>Benchmarks & Literature</h2>
<button id="close-papers-btn" class="close-btn">×</button>
</div>
<div id="papers-container" class="gallery-container"></div>
</div>
<!-- Tools Selector Page Section -->
<div id="selector-page-section" class="workflow-info-section" style="display: none;">
<div class="workflow-info-header">
<h2>Tool Gallery</h2>
<button id="close-selector-page-btn" class="close-btn">×</button>
</div>
<div class="workflow-info-container">
<div id="selector-page-mount" class="tools-container"></div>
</div>
</div>
<!-- Workflow Section -->
<div id="workflow-section" class="workflow-section" style="display: none;">
<div class="workflow-header">
<h2>Pipeline Workflows</h2>
<button id="close-workflow-btn" class="close-btn">×</button>
</div>
<div class="workflow-container">
<div class="workflow-selector">
<div class="workflow-selector-content">
<div class="selector-left">
<label for="pipeline-select">Select a Pipeline:</label>
<select id="pipeline-select" class="pipeline-select">
<option value="">Choose a pipeline...</option>
</select>
</div>
<button id="back-to-gallery-btn" class="back-to-gallery-btn">
<i class="fas fa-arrow-left"></i> Go to Gallery
</button>
<button id="back-to-comparison-btn" class="back-to-gallery-btn">
<i class="fas fa-arrow-left"></i> Technical Comparison
</button>
<button id="back-to-workflow-info-btn" class="back-to-gallery-btn">
<i class="fas fa-arrow-left"></i> Tool Gallery
</button>
<button id="back-to-tools-table-btn" class="back-to-gallery-btn">
<i class="fas fa-arrow-left"></i> Advanced Comparison
</button>
</div>
</div>
<div id="workflow-display" class="workflow-display">
<!-- Workflow content will be dynamically inserted here -->
</div>
</div>
</div>
<script src="pipelineObjects.js"></script>
<script src="githubMetrics.js"></script>
<script src="toolsPipelines.js"></script>
<script src="papersReview.js"></script>
<script src="gallery.js"></script>
<script src="table.js"></script>
<script src="toolsTable.js"></script>
<script src="papersGallery.js"></script>
<script src="workflow.js"></script>
<script src="workflow-info.js"></script>
<script src="toolsSelectorPage.js"></script>
<script src="toolsSelector.js"></script>
<script src="script.js"></script>
<div class="signature">
<span>Developed by</span>
<a href="https://www.unifr.ch/bio/en/groups/falquet/" target="_blank" class="developer-link">
<img src="images/unifr-logo.png" alt="University of Fribourg" class="unifr-logo">
BugFri
</a>
</div>
</body>
</html>