elixir-toolkit-theme 1.20.2 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/_includes/contributor-minitiles-page.html +43 -39
- data/_includes/head.html +1 -1
- data/_includes/more-information-tiles.html +4 -2
- data/_includes/section-navigation-tiles.html +1 -1
- data/assets/css/main.scss +10 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 522b75fb5cbd62f6fb5d66bae29c0f5929e413e2118c18fce4bc5b74032a615d
|
4
|
+
data.tar.gz: 16ba53cdbd49866b5df059376caaa7a795f7b3c2bfe00ba8b0fcc8f1e2a85c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b0509a4ff1137056575618b593017d69b63a61177d6d0c06370bb08f2428ea27d443a00e0bc0b92bca2acd7e0e78f189f360eb0b2a4519c185d565e5472d614
|
7
|
+
data.tar.gz: c457c46790682514abcd7e244be34141cab319611f54b25c91e5e0e76d209006eed117bb126d33a5298f840555ea00b2fbd1a046f8690c7ecdf84f4170fd90fe
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
[![Gem Version](https://badge.fury.io/rb/elixir-toolkit-theme.svg)](https://badge.fury.io/rb/elixir-toolkit-theme) [![Jekyll site CI](https://github.com/ELIXIR-Belgium/elixir-toolkit-theme/actions/workflows/jekyll.yml/badge.svg)](https://github.com/ELIXIR-Belgium/elixir-toolkit-theme/actions/workflows/jekyll.yml)
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/elixir-toolkit-theme.svg)](https://badge.fury.io/rb/elixir-toolkit-theme) [![Jekyll site CI](https://github.com/ELIXIR-Belgium/elixir-toolkit-theme/actions/workflows/jekyll.yml/badge.svg)](https://github.com/ELIXIR-Belgium/elixir-toolkit-theme/actions/workflows/jekyll.yml) [![DOI](https://zenodo.org/badge/421495867.svg)](https://zenodo.org/badge/latestdoi/421495867)
|
2
|
+
|
2
3
|
|
3
4
|
<p align="center">
|
4
5
|
<img src="assets/img/main_logo.svg" width="100" float="center"/>
|
@@ -108,7 +109,6 @@ This will start the docker container and serve the website locally. Make sure th
|
|
108
109
|
- [Applied Bioinformatics and Biostatistics intranet page](https://intranet.psb.ugent.be/abb/)
|
109
110
|
- [FAIRDOM](https://fair-dom.org/)
|
110
111
|
- [Australian BioCommons How-to-Guides](https://australianbiocommons.github.io/how-to-guides/)
|
111
|
-
- [Human 'Omics Data Sharing Field Guide](https://australianbiocommons.github.io/human-omics-data-sharing-field-guide/)
|
112
112
|
|
113
113
|
## Used packages
|
114
114
|
|
@@ -5,44 +5,8 @@
|
|
5
5
|
{%- assign page_contributors = page.contributors | sort %}
|
6
6
|
{%- for contributor in page_contributors %}
|
7
7
|
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
8
|
-
|
9
|
-
|
10
|
-
<div class="card">
|
11
|
-
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
12
|
-
<div class="position-relative d-flex justify-content-center">
|
13
|
-
{%- if contributors[contributor].image_url %}
|
14
|
-
<img src="{{ contributors[contributor].image_url }}" class="card-img-top p-3 rounded-circle contributor-img" alt="{{ stripped_name }}">
|
15
|
-
{%- else %}
|
16
|
-
<img src="https://avatars.githubusercontent.com/{{id}}" class="card-img-top p-3 rounded-circle contributor-img" alt="{{ stripped_name }}">
|
17
|
-
{%- endif %}
|
18
|
-
{%- if contributors[contributor].role %}
|
19
|
-
<span class="badge position-absolute top-0 end-0">{{ contributors[contributor].role | capitalize }}</span>
|
20
|
-
{%- endif %}
|
21
|
-
</div>
|
22
|
-
<div class="card-body text-center py-0">
|
23
|
-
<p class="card-title">{{ stripped_name }}</p>
|
24
|
-
{%- if contributors[contributor].affiliation %}
|
25
|
-
<p class="card-affiliation">{{ contributors[contributor].affiliation | replace: "'", "’" }}</p>
|
26
|
-
{%- endif %}
|
27
|
-
</div>
|
28
|
-
{%- if contributors[contributor].git or contributors[contributor].email or contributors[contributor].orcid %}
|
29
|
-
<div class="card-footer">
|
30
|
-
<div class="d-flex justify-content-center">
|
31
|
-
{%- if contributors[contributor].git %}
|
32
|
-
<div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://github.com/{{id}}"><i class="fa-brands fa-github"></i></a></div>
|
33
|
-
{%- endif %}
|
34
|
-
{%- if contributors[contributor].email %}
|
35
|
-
<div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="mailto:{{contributors[contributor].email}}"><i class="fa-solid fa-envelope"></i></a></div>
|
36
|
-
{%- endif %}
|
37
|
-
{%- if contributors[contributor].orcid %}
|
38
|
-
<div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://orcid.org/{{contributors[contributor].orcid}}"><i class="fa-brands fa-orcid"></i></a></div>
|
39
|
-
{%- endif %}
|
40
|
-
</div>
|
41
|
-
</div>
|
42
|
-
{%- endif %}
|
43
|
-
</div>
|
44
|
-
{%- endcapture %}
|
45
|
-
<a tabindex="0" role="button" class="btn btn-sm contributor-link hover-primary m-1 position-relative" data-bs-html="true" data-bs-trigger="focus" data-bs-container="body" data-bs-template='<div class="popover shadow border-0 contributor-cards" role="tooltip"><div class="popover-body p-0"></div></div>' data-bs-toggle="popover" data-bs-placement="top" data-bs-content='{{html_code}}'>
|
8
|
+
<div class="dropdown d-inline-block">
|
9
|
+
<button class="btn btn-sm dropdown-toggle contributor-link d-flex hover-primary m-1 position-relative" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
46
10
|
<div class="d-flex align-items-center">
|
47
11
|
<div class="flex-shrink-0">
|
48
12
|
{%- if contributors[contributor].image_url %}
|
@@ -60,12 +24,52 @@
|
|
60
24
|
{%- if coordinator == contributor %}
|
61
25
|
<div class="position-absolute top-0 start-100 translate-middle">
|
62
26
|
<div class="rounded-circle coordinator-crown">
|
27
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="Coordinator of the {{page.title}} page.">
|
63
28
|
<i class="fa-solid fa-crown"></i>
|
29
|
+
</a>
|
64
30
|
</div>
|
65
31
|
</div>
|
66
32
|
{%- endif %}
|
67
33
|
{%- endfor %}
|
68
34
|
{%- endif %}
|
69
|
-
|
35
|
+
</button>
|
36
|
+
<div class="dropdown-menu shadow p-0 border-0 contributor-cards">
|
37
|
+
{%- assign stripped_name = contributor | replace: "'", "’" %}
|
38
|
+
<div class="card">
|
39
|
+
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
40
|
+
<div class="position-relative d-flex justify-content-center">
|
41
|
+
{%- if contributors[contributor].image_url %}
|
42
|
+
<img src="{{ contributors[contributor].image_url }}" class="card-img-top p-3 rounded-circle" alt="{{ stripped_name }}">
|
43
|
+
{%- else %}
|
44
|
+
<img src="https://avatars.githubusercontent.com/{{id}}" class="card-img-top p-3 rounded-circle" alt="{{ stripped_name }}">
|
45
|
+
{%- endif %}
|
46
|
+
{%- if contributors[contributor].role %}
|
47
|
+
<span class="badge position-absolute top-0 end-0">{{ contributors[contributor].role | capitalize }}</span>
|
48
|
+
{%- endif %}
|
49
|
+
</div>
|
50
|
+
<div class="card-body text-center py-0">
|
51
|
+
<p class="card-title">{{ stripped_name }}</p>
|
52
|
+
{%- if contributors[contributor].affiliation %}
|
53
|
+
<p class="card-affiliation">{{ contributors[contributor].affiliation | replace: "'", "’" }}</p>
|
54
|
+
{%- endif %}
|
55
|
+
</div>
|
56
|
+
{%- if contributors[contributor].git or contributors[contributor].email or contributors[contributor].orcid %}
|
57
|
+
<div class="card-footer">
|
58
|
+
<div class="d-flex justify-content-center">
|
59
|
+
{%- if contributors[contributor].git %}
|
60
|
+
<div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://github.com/{{id}}"><i class="fa-brands fa-github"></i></a></div>
|
61
|
+
{%- endif %}
|
62
|
+
{%- if contributors[contributor].email %}
|
63
|
+
<div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="mailto:{{contributors[contributor].email}}"><i class="fa-solid fa-envelope"></i></a></div>
|
64
|
+
{%- endif %}
|
65
|
+
{%- if contributors[contributor].orcid %}
|
66
|
+
<div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://orcid.org/{{contributors[contributor].orcid}}"><i class="fa-brands fa-orcid"></i></a></div>
|
67
|
+
{%- endif %}
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
{%- endif %}
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
</div>{%- endfor %}
|
70
74
|
</div>
|
71
75
|
{%- endif %}
|
data/_includes/head.html
CHANGED
@@ -40,7 +40,7 @@
|
|
40
40
|
<!-- Font Awesome -->
|
41
41
|
<link rel="stylesheet" type="text/css" href="{{ 'assets/css/all.min.css' | relative_url }}">
|
42
42
|
<!-- Main css file -->
|
43
|
-
<link rel="stylesheet" href="{{ 'assets/css/main.css' | relative_url }}">
|
43
|
+
<link rel="stylesheet" href="{{ 'assets/css/main.css' | relative_url }}?{{site.time | date: '%s'}}">
|
44
44
|
{%- if site.theme_variables.fonts.size != 0 %}
|
45
45
|
<!-- Main font(s) -->
|
46
46
|
{%- for font in site.theme_variables.fonts %}
|
@@ -60,11 +60,13 @@
|
|
60
60
|
{%- elsif registry == "zenodo" %}
|
61
61
|
<img alt="Zenodo logo" class="img-fluid" src="{{ 'assets/img/zenodo_logo.svg' | relative_url }}">
|
62
62
|
{%- elsif registry == "youtube" %}
|
63
|
-
<img alt="
|
63
|
+
<img alt="YouTube logo" class="img-fluid" src="{{ 'assets/img/youtube_logo.svg' | relative_url }}">
|
64
64
|
{%- elsif registry == "carpentries" %}
|
65
65
|
<img alt="Carpentries" class="img-fluid" src="{{ 'assets/img/carpentries_logo.svg' | relative_url }}">
|
66
|
+
{%- elsif registry == "github" %}
|
67
|
+
<i class="fa-brands fa-github text-dark fa-2xl my-3"></i>
|
66
68
|
{%- else %}
|
67
|
-
<i class="fa-solid fa-external-link-alt text-primary
|
69
|
+
<i class="fa-solid fa-external-link-alt text-primary fa-lg my-3"></i>
|
68
70
|
{%- endif %}
|
69
71
|
</div>
|
70
72
|
<div class="col-10 d-flex align-items-center">
|
@@ -145,7 +145,7 @@
|
|
145
145
|
{%- if affiliation.size == 2 %}
|
146
146
|
{%- assign country_link = site.pages | where:"country_code",country | first %}
|
147
147
|
{%- if country_link %}
|
148
|
-
<a role="button" href="{{
|
148
|
+
<a role="button" href="{{country_link.url | relative_url}}" data-bs-toggle="tooltip" title="{{allcountries[country]}}" class="btn btn-sm bg-white hover-primary">
|
149
149
|
{%- else %}
|
150
150
|
<a role="button" data-bs-toggle="tooltip" title="{{allcountries[country]}}" class="btn btn-sm bg-white hover-primary disabled" aria-disabled="true">
|
151
151
|
{%- endif %}
|
data/assets/css/main.scss
CHANGED
@@ -559,9 +559,19 @@ footer {
|
|
559
559
|
background-color: $contr-bg;
|
560
560
|
font-size: 0;
|
561
561
|
|
562
|
+
.contributor-cards .card {
|
563
|
+
background-color: $contr-popover-bg;
|
564
|
+
}
|
565
|
+
.dropdown-menu {
|
566
|
+
width: 11em;
|
567
|
+
}
|
568
|
+
|
562
569
|
/* Gets rid of extra white space */
|
563
570
|
.contributor-link {
|
564
571
|
background-color: $contr-link-bg;
|
572
|
+
&::after {
|
573
|
+
display: none;
|
574
|
+
}
|
565
575
|
|
566
576
|
.contributor-img-sm {
|
567
577
|
height: 1.7em;
|
@@ -581,16 +591,6 @@ footer {
|
|
581
591
|
}
|
582
592
|
}
|
583
593
|
|
584
|
-
.popover.contributor-cards {
|
585
|
-
.contributor-img {
|
586
|
-
width: 11em;
|
587
|
-
}
|
588
|
-
|
589
|
-
.card {
|
590
|
-
background-color: $contr-popover-bg;
|
591
|
-
}
|
592
|
-
}
|
593
|
-
|
594
594
|
/*-----Cookie consent banner-----*/
|
595
595
|
|
596
596
|
.cookiealert {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elixir-toolkit-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bedroesb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|