8000 Worked on the filtering for the ecosystem page · NetFPGA/NetFPGA.github.io@13f0b3d · GitHub
[go: up one dir, main page]

Skip to content

Commit 13f0b3d

Browse files
Worked on the filtering for the ecosystem page
1 parent 26350ef commit 13f0b3d

10 files changed

+77
-23
lines changed

_includes/ecosystem-buttons.html

Lines changed: 45 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,60 @@
11
<p><i>Organisation</i></p>
22
<p class="card btn btn-primary check-container">
3-
<input id="check-news" class="stretched-link" type="checkbox" data-toggle="collapse" href=".NetFPGA-collapse" role="button" aria-controls="newsCollapse" checked>
4-
<label class="check-label" for="check-news">NetFPGA</label>
3+
<input id="check-organisation-NetFPGA" class="stretched-link" type="checkbox" data-toggle="collapse" href=".NetFPGA-collapse" role="button" aria-controls="NetFPGACollapse" checked>
4+
<label class="check-label" for="check-organisation-NetFPGA">NetFPGA</label>
55
</p>
66
<p class="card btn btn-primary check-container">
7-
<input id="check-events" class="stretched-link" type="checkbox" data-toggle="collapse" href=".OSNT-collapse" role="button" aria-controls="eventsCollapse" checked>
8-
<label class="check-label" for="check-events">OSNT</label>
7+
<input id="check-organisation-OSNT" class="stretched-link" type="checkbox" data-toggle="collapse" href=".OSNT-collapse" role="button" aria-controls="OSNTCollapse" checked>
8+
<label class="check-label" for="check-organisation-OSNT">OSNT</label>
99
</p>
1010
<p><i>Organisation Type</i></p>
1111
<p class="card btn btn-primary check-container">
12-
<input id="check-events" class="stretched-link" type="checkbox" data-toggle="collapse" href=".academic-collapse" role="button" aria-controls="eventsCollapse" checked>
13-
<label class="check-label" for="check-events">Academic</label>
12+
<input id="check-organisation-type-Academic" class="stretched-link" type="checkbox" data-toggle="collapse" href=".academic-collapse" role="button" aria-controls="AcademicCollapse" checked>
13+
<label class="check-label" for="check-organisation-type-Academic">Academic</label>
1414
</p>
1515
<p class="card btn btn-primary check-container">
16-
<input id="check-news" class="stretched-link" type="checkbox" data-toggle="collapse" href=".non-profit-collapse" role="button" aria-controls="newsCollapse" checked>
17-
<label class="check-label" for="check-news">Non-Profit</label>
16+
<input id="check-organisation-type-Non-Profit" class="stretched-link" type="checkbox" data-toggle="collapse" href=".non-profit-collapse" role="button" aria-controls="Non-ProfitCollapse" checked>
17+
<label class="check-label" for="check-organisation-type-Non-Profit">Non-Profit</label>
1818
</p>
1919
<p class="card btn btn-primary check-container">
20-
<input id="check-events" class="stretched-link" type="checkbox" data-toggle="collapse" href=".vendor-collapse" role="button" aria-controls="eventsCollapse" checked>
21-
<label class="check-label" for="check-events">Vendor</label>
20+
<input id="check-organisation-type-Vendor" class="stretched-link" type="checkbox" data-toggle="collapse" href=".vendor-collapse" role="button" aria-controls="VendorCollapse" checked>
21+
<label class="check-label" for="check-organisation-type-Vendor">Vendor</label>
2222
</p>
2323
<p><i>Product Type</i></p>
2424
<p class="card btn btn-primary check-container">
25-
<input id="check-news" class="stretched-link" type="checkbox" data-toggle="collapse" href=".product-collapse" role="button" aria-controls="newsCollapse" checked>
26-
<label class="check-label" for="check-news">Product</label>
25+
<input id="check-product-type-Product" class="stretched-link" type="checkbox" data-toggle="collapse" href=".product-collapse" role="button" aria-controls="ProductCollapse" checked>
26+
<label class="check-label" for="check-product-type-Product">Product</label>
27+
</p>
28+
<p class="card btn btn-primary check-container">
29+
<input id="check-product-type-Project" class="stretched-link" type="checkbox" data-toggle="collapse" href=".project-collapse" role="button" aria-controls="ProjectCollapse" checked>
30+
<label class="check-label" for="check-product-type-Project">Project</label>
31+
</p>
32+
<p class="card btn btn-primary check-container">
33+
<input id="check-product-type-Software" class="stretched-link" type="checkbox" data-toggle="collapse" href=".software-collapse" role="button" aria-controls="SoftwareCollapse" checked>
34+
<label class="check-label" for="check-product-type-Software">Software</label>
35+
</p>
36+
<p class="card btn btn-primary check-container">
37+
<input id="check-product-type-Other" class="stretched-link" type="checkbox" data-toggle="collapse" href=".other-collapse" role="button" aria-controls="OtherCollapse" checked>
38+
<label class="check-label" for="check-product-type-Other">Other</label>
39+
</p>
40+
<p><i>Target Platform</i></p>
41+
<p class="card btn btn-primary check-container">
42+
<input id="check-target-PLUS" class="stretched-link" type="checkbox" data-toggle="collapse" href=".PLUS-collapse" role="button" aria-controls="PLUSCollapse" checked>
43+
<label class="check-label" for="check-target-PLUS">PLUS</label>
44+
</p>
45+
<p class="card btn btn-primary check-container">
46+
<input id="check-target-SUME" class="stretched-link" type="checkbox" data-toggle="collapse" href=".SUME-collapse" role="button" aria-controls="SUMECollapse" checked>
47+
<label class="check-label" for="check-target-SUME">SUME</label>
48+
</p>
49+
<p class="card btn btn-primary check-container mr-5">
50+
<input id="check-target-CML" class="stretched-link" type="checkbox" data-toggle="collapse" href=".CML-collapse" role="button" aria-controls="CMLCollapse" checked>
51+
<label class="check-label" for="check-target-CML">CML</label>
52+
</p>
53+
<p class="card btn btn-primary check-container mr-5">
54+
<input id="check-target-10G" class="stretched-link" type="checkbox" data-toggle="collapse" href=".10G-collapse" role="button" aria-controls="10GCollapse" checked>
55+
<label class="check-label" for="check-target-10G">10G</label>
56+
</p>
57+
<p class="card btn btn-primary check-container">
58+
<input id="check-target-1G" class="stretched-link" type="checkbox" data-toggle="collapse" href=".1G-collapse" role="button" aria-controls="1GCollapse" checked>
59+
<label class="check-label" for="check-target-1G">1G</label>
2760
</p>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
collapse show {{ post.organisation }}-collapse {{ post.type }}-collapse {{ post.organisation-type }}-collapse
2+
{% if post.target-platform1 %}
3+
{{ post.target-platform1 }}-collapse
4+
{% endif %}
5+
{% if post.target-platform2 %}
6+
{{ post.target-platform2 }}-collapse
7+
{% endif %}
8+
{% if post.target-platform3 %}
9+
{{ post.target-platform3 }}-collapse
10+
{% endif %}
11+
{% if post.target-platform4 %}
12+
{{ post.target-platform4 }}-collapse
13+
{% endif %}
14+
{% if post.target-platform5 %}
15+
{{ post.target-platform5 }}-collapse
16+
{% endif %}

_posts/ecosystem/2021-07-15-NetFPGA.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ organisation: NetFPGA
99
organisation-logo: ./assets/images/thumbnail.png
1010
organisation-type: academic
1111
product-repo: https://github.com/NetFPGA/NetFPGA-public
12-
product-site: https://netfpga.org
12+
product-site: ./index.html
1313
product-image: ./assets/images/Boards/NetFPGA-SUME.jpg
1414
primary-contact-name: Andrew Moore
1515
primary-contact-email: enquiries@netfpga.org
@@ -19,4 +19,9 @@ seller: Xilinx
1919
seller-url: https://www.xilinx.com/products/boards-and-kits/alveo.html
2020
seller-email:
2121
seller-phone:
22+
target-platform1: 1G
23+
target-platform2: 10G
24+
target-platform3: CML
25+
target-platform4: SUME
26+
target-platform5: PLUS
2227
---

_posts/ecosystem/2021-07-16-IIsy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: IIsy
33
date: 2021-07-16
44
posttype: ecosystem
5-
type:
5+
type: other
66
category:
77
description:
88
organisation:

_posts/ecosystem/2021-07-16-In-Networking-Computing-on-Demand.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
title: In Networking Computing on Demand
33
date: 2021-07-16
44
posttype: ecosystem
5-
type:
5+
type: other
66
category:
77
description:
88
organisation:
99
organisation-logo:
1010
organisation-type:
11-
product-repo:
12-
product-site: https://github.com/cucl-srg/INC-ondemand
11+
product-repo: https://github.com/cucl-srg/INC-ondemand
12+
product-site:
1313
primary-contact-name:
1414
primary-contact-email:
1515
secondary-contact-name:

_posts/ecosystem/2021-07-16-MTPSA.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: MTPSA
33
date: 2021-07-16
44
posttype: ecosystem
5-
type:
5+
type: other
66
category:
77
description:
88
organisation:

_posts/ecosystem/2021-07-16-OSNT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: OSNT
33
date: 2021-07-16
44
posttype: ecosystem
5-
type:
5+
type: other
66
category:
77
description:
88
organisation: OSNT

_posts/ecosystem/2021-07-16-P4DNS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: P4DNS
33
date: 2021-07-16
44
posttype: ecosystem
5-
type:
5+
type: other
66
category:
77
description:
88
organisation:

_posts/ecosystem/2021-07-16-PTA.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: PTA
33
date: 2021-07-16
44
posttype: ecosystem
5-
type:
5+
type: other
66
category:
77
description:
88
organisation:

ecosystem.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ <h1>The NetFPGA Ecosystem</h1>
77

88
{% for post in site.posts %}
99
{% if post.posttype == "ecosystem" %}
10-
<div class="row">
10+
<div class="row {% include ecosystem-filter-classes.html %}">
1111
<div class="col-12 col-md-12 col-lg-12 mb-5">
12-
<div class="card border-1 h-100 collapse show {{ post.organisation }}-collapse {{ post.type }}-collapse {{ post.organisation-type }}-collapse">
12+
<div class="card border-1 h-100">
1313
<div class="card-body">
1414
<div class="row">
1515
<h2 class="card-title col-6">{{post.title}}</h2>

0 commit comments

Comments
 (0)
0