-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathworkflows.html
More file actions
76 lines (76 loc) · 3.29 KB
/
Copy pathworkflows.html
File metadata and controls
76 lines (76 loc) · 3.29 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
{%- if include.tag %}
{%- assign tools = site.data.communities.microgalaxy.curated_workflows | add_related_pages | where:"related_pages", include.tag | sort_natural: "name" %}
{%- else %}
{%- assign tools = site.data.communities.microgalaxy.curated_workflows | add_related_pages | sort_natural: "name" %}
{%- endif %}
{%- assign country_pages = site.pages | where_exp: "item", "item.search_exclude != true" | where_exp:"item","item.national_resources != nil" %}
{%- unless tools.size == 0 or tools == nil %}
<a class="visually-hidden-focusable" href='#skip-tool-table'>Skip tool table</a>
<div class="table-responsive mt-4 mb-5">
<table class="tooltable table display table-bordered table-striped w-100">
<thead>
<tr>
<th style="text-align: center">Workflow name (+link)</th>
<th style="text-align: center">Creation time</th>
<th style="text-align: center">Last updated</th>
<th style="text-align: center">License</th>
<th style="text-align: center">EDAM topic(s)</th>
<th style="text-align: center">EDAM operation(s)</th>
<th style="text-align: center">Tag(s)</th>
<th style="text-align: center">DOI</th>
<th style="text-align: center">Source</th>
</tr>
</thead>
<tbody>
{%- for tool in tools %}
<tr>
<td>
<div>
{% if tool.name != "" %}
<a href='{{ tool.link }}'>{{ tool.name }}</a>
{% else %}
<a href="#">{{ tool.name }}</a>
{% endif %}
</div>
</td>
<td style="text-align: center">{{ tool.create_time }}</td>
<td style="text-align: center">{{ tool.update_time }}</td>
<td style="text-align: center">{{ tool.license }}</td>
<td style="text-align: center">
{% if tool.edam_topic %} {%- for topic in tool.edam_topic %}
<span class="badge text-bg-light">
{{topic}}
</span>
{%- endfor %} {%- endif %}
</td>
<td style="text-align: center">
{% if tool.edam_operation %} {%- for operation in tool.edam_operation %}
<span class="badge text-bg-light">
{{operation}}
</span>
{%- endfor %} {%- endif %}
</td>
<td style="text-align: center">
{% if tool.tags %} {%- for tag in tool.tags %}
<span class="badge text-bg-light">
{{tag}}
</span>
{%- endfor %} {%- endif %}
</td>
<td>
<div>
{% if tool.doi != "null" %}
<a href='{{ tool.doi }}'>DOI</a>
{% else %}
""
{% endif %}
</div>
</td>
<td style="text-align: center">{{ tool.source }}</td>
</tr>
{%- endfor %}
</tbody>
</table>
</div>
{%- endunless %}
<div id="skip-tool-table"></div>