diff --git a/_includes/pathway-card.html b/_includes/pathway-card.html new file mode 100644 index 00000000000000..88f1f1553e84f7 --- /dev/null +++ b/_includes/pathway-card.html @@ -0,0 +1,32 @@ +{% assign path = include.path %} + +{% assign coverimage = path.coverimage | default: "/assets/images/GTNLogo1000.png" %} +{% assign coverimagealt = path.coverimagealt | default: "GTN logo with a multi-coloured star and the words Galaxy Training Network"%} + + +
+ + diff --git a/assets/css/main.scss b/assets/css/main.scss index 60c34d713be902..bf33ce320262ed 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -572,7 +572,7 @@ blockquote { } } -.pathway{ +.pathwaylist{ display: flex; flex-wrap: wrap; flex-direction: row; @@ -580,19 +580,31 @@ blockquote { margin-bottom: 2rem; .pathwayitem { - width: 100%; background: transparent; - border: 1px solid var(--border-light); + + .card{ + margin-bottom: 1em; + } + .card-body{ + height: 17rem; + overflow: hidden; + } + .card-text{ + margin: 1rem; + vertical-align: center; + } + .card-title{ + height: 5rem; + } .card-header { - background: var(--brand-color); - border-bottom: 1px solid var(--border-light); + background: var(--brand-color); + border-bottom: 1px solid var(--border-light); } } .pathwaycover { width: 100%; object-fit: cover; - margin-top: auto; - margin-bottom: auto; + margin-top: 1em; background-color: white; border-radius: 2rem;; padding: 1rem; diff --git a/learning-pathways/admin-training.md b/learning-pathways/admin-training.md index cc338b90969f0e..61fce4be9a50e4 100644 --- a/learning-pathways/admin-training.md +++ b/learning-pathways/admin-training.md @@ -1,6 +1,7 @@ --- layout: learning-pathway title: Admin Training Course +type: admin-dev description: | Learn how to setup, configure, and maintain your own Galaxy server. This learning pathway will guide you through all the steps required to setup your own Galaxy server with Ansible, diff --git a/learning-pathways/genome-annotation-eukaryote.md b/learning-pathways/genome-annotation-eukaryote.md index 2b2668b9b62d93..f27edf38d3961f 100644 --- a/learning-pathways/genome-annotation-eukaryote.md +++ b/learning-pathways/genome-annotation-eukaryote.md @@ -3,6 +3,7 @@ layout: learning-pathway title: Genome annotation for eukaryotes description: | Learn how to annotate an eukaryotic genome sequence: identify repeated regions, find the position and function of genes, and even set up a manual curation environment with Apollo. +type: use tags: [genome annotation, eukaryote] cover-image: assets/images/gga.png @@ -12,6 +13,8 @@ maintainers: funding: - erasmusplus + + pathway: - section: "Module 1: Introduction" description: | diff --git a/learning-pathways/genome-annotation-prokaryote.md b/learning-pathways/genome-annotation-prokaryote.md index e0b5ba98fc8d7e..3d98afb34c5419 100644 --- a/learning-pathways/genome-annotation-prokaryote.md +++ b/learning-pathways/genome-annotation-prokaryote.md @@ -3,6 +3,7 @@ layout: learning-pathway title: Genome annotation for prokaryotes description: | Learn how to annotate a prokaryotic genome sequence: find the position and function of genes, and even set up a manual curation environment with Apollo. +type: use tags: [genome annotation, prokaryote] cover-image: assets/images/gga.png diff --git a/learning-pathways/index.md b/learning-pathways/index.md index 16b4311a4b24cd..8c52972c511538 100644 --- a/learning-pathways/index.md +++ b/learning-pathways/index.md @@ -2,46 +2,40 @@ layout: page --- -{% assign pathways = site.pages | where: "layout", "learning-pathway" | sort: "priority", "last" %} +{% assign pathways_science = site.pages | where: "layout", "learning-pathway" | where: "type", "use" | sort: "priority", "last" %} + +{% assign pathways_other = site.pages | where: "layout", "learning-pathway" | where_exp: "item", "item.type != 'use'" | sort: "priority", "last" %} # Learning Pathways Learning pathways are sets of tutorials curated for you by community experts to form a coherent set of lessons around a topic, building up knowledge as you go. We always recommend to follow the tutorials in the order they are listed in the pathway. +## For Scientists + + -- {{ path.description }} -
- View Learning Pathway -