Skip to content

Commit 6e3906c

Browse files
author
despadam
committed
update ui, query githb api
1 parent eddee6f commit 6e3906c

File tree

2,155 files changed

+1253
-361728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,155 files changed

+1253
-361728
lines changed

Gemfile.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,17 @@ GEM
6363
ffi (~> 1.9)
6464
terminal-table (2.0.0)
6565
unicode-display_width (~> 1.1, >= 1.1.1)
66+
thread_safe (0.3.6)
67+
tzinfo (1.2.11)
68+
thread_safe (~> 0.1)
69+
tzinfo-data (1.2025.1)
70+
tzinfo (>= 1.0.0)
6671
unicode-display_width (1.8.0)
72+
wdm (0.1.1)
6773
webrick (1.8.1)
6874

6975
PLATFORMS
76+
x64-mingw-ucrt
7077
x86_64-linux
7178

7279
DEPENDENCIES

_config.yml

Lines changed: 49 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -20,59 +20,14 @@
2020

2121
title: SciCat
2222
23-
slogan: Manage and annotate your scientific data
24-
description: >- # this means to ignore newlines until "baseurl:"
25-
SciCat (Scientific Catalog) and its ecosystem provides all the right tools to ingest, curate, maintain and publish all your scientific metadata.
23+
description: Advance your data to advance your science
2624
baseurl: "" # the subpath of your site, e.g. /blog
2725
url: "http://scicatproject.github.io" # the base hostname & protocol for your site, e.g. http://example.com
2826

2927
version: 2.2.1
3028
last_updated: 2024/01/09
3129

32-
pill_1:
33-
icon: fa-gears
34-
title: Ingest
35-
oneline: Automate data importing
36-
37-
pill_2:
38-
icon: fa-tag
39-
title: Annotate
40-
oneline: Enrich your data
41-
42-
pill_3:
43-
icon: fa-magnifying-glass
44-
title: Find
45-
oneline: Browse and search your data
46-
47-
pill_4:
48-
icon: fa-globe
49-
title: Publish
50-
oneline: Add DOI and share
51-
52-
53-
feature_1:
54-
image: /assets/images/ball.jpg
55-
title: FAIR data
56-
text: SciCat is an important building block to implement a FAIR data management policy
57-
attribution: (Image by <a href="https://pixabay.com/users/geralt-9301/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=457334">Gerd Altmann</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=457334">Pixabay</a>)
58-
59-
feature_2:
60-
image: /assets/images/extend.jpg
61-
title: Integrate, Extend, and Automate
62-
text: Easily extend functionality through the RESTful OpenAPI. Automate connecting to message systems.
63-
attribution: (Image by <a href="https://pixabay.com/users/geralt-9301/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1307227">Gerd Altmann</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1307227">Pixabay</a>)
64-
65-
feature_3:
66-
image: /assets/images/stack.jpg
67-
title: Modern Technology Stack
68-
text: Built on Node.js, Angular, Nest.js and MongoDB
69-
attribution: (Image by <a href="https://pixabay.com/users/ar130405-423602/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2082642">ar130405</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2082642">Pixabay</a>)
70-
71-
feature_4:
72-
image: /assets/images/open.jpg
73-
title: Open Source
74-
text: Fully open source with a committed and welcoming team of developers.
75-
attribution: (Photo by <a href="https://unsplash.com/@timmossholder?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Tim Mossholder</a> on <a href="https://unsplash.com/s/photos/open-source?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>)
30+
github_organization: SciCatProject
7631

7732

7833
backend_release:
@@ -88,120 +43,101 @@ facilities:
8843
- image: /assets/images/ess_logo.png
8944
url: https://www.ess.eu
9045
name: European Spallation Source
46+
contactName: Junjie Quan
47+
contactEmail:
9148
- image: /assets/images/psi_logo.png
9249
url: https://www.psi.ch
9350
name: Paul Scherrer Institut
51+
contactName: Carlo Minotti
52+
contactEmail:
9453
- image: /assets/images/maxiv_logo.png
9554
url: https://www.maxiv.lu.se/
9655
name: MAX IV
56+
contactName:
57+
contactEmail:
9758
- image: /assets/images/rfi_logo.png
9859
url: https://www.rfi.ac.uk/
9960
name: Rosalind Franklin Institute
61+
contactName:
62+
contactEmail:
10063
- image: /assets/images/mlz_blue_rgb.png
10164
url: https://mlz-garching.de/
10265
name: Heinz Maier-Leibnitz Zentrum
66+
contactName:
67+
contactEmail:
10368
- image: /assets/images/als_logo.png
10469
url: https://als.lbl.gov/
10570
name: Advanced Light Source
71+
contactName: Dylan McReynolds
72+
contactEmail:
10673
- image: /assets/images/desy_logo.png
10774
url: https://www.desy.de/
10875
name: Deutsches Elektronen-Synchrotron DESY
76+
contactName:
77+
contactEmail:
10978
- image: /assets/images/soleil_logo.png
11079
url: https://www.synchrotron-soleil.fr
11180
name: Synchrotron SOLEIL
81+
contactName: Javier Perez, Majid Ounsy, Patrick Madela
82+
contactEmail:
11283
- image: /assets/images/daphne_logo.png
11384
url: https://www.daphne4nfdi.de
11485
name: DAta from PHoton and Neutron Experiments
86+
contactName:
87+
contactEmail:
11588

11689

11790
team:
11891
leaders:
11992
- name: Max Novelli
12093
company: European Spallation Source
121-
email: max dot novelli at ess dot eu
12294
role: Project Leader
95+
url: https://github.com/nitrosx
12396
- name: Laura Shemilt
12497
company: Rosalind Franklin Institute
125-
email:
12698
role: Documentation Leader
99+
url: https://github.com/LAShemilt
127100
- name: Björn Pedersen
128101
company: Heinz Maier-Leibnitz Zentrum
129-
email:
130102
role: PR and Issue Review Leader
103+
url: https://github.com/bpedersen2
131104
- name: Spencer Bliven
132105
company: PSI
133-
email:
134106
role: Release Jobs Leader
107+
url: https://github.com/sbliven
135108
- name: Igor Khokhriakov
136109
company: DESY
137-
email:
138110
role: Release Search UI Leader
139-
collaborators:
140-
- name: Junjie Quan
141-
company: European Spallation Source
142-
email:
143-
- name: Carlo Minotti
144-
company: Paul Scherrer Institut
145-
email:
146-
- name: Dylan McReynolds
147-
company: Advance Light Source
148-
email:
149-
- name: Javier Perez
150-
company: Synchrotron SOLEIL
151-
email: javier dot perez at synchrotron dash soleil dot fr
152-
- name: Majid Ounsy
153-
company: Synchrotron SOLEIL
154-
email: majid dot ounsy at synchrotron dash soleil dot fr
155-
- name: Patrick Madela
156-
company: Synchrotron SOLEIL
157-
email: patrick dot madela at synchrotron soleil dot fr
158-
159-
160-
efforts:
161-
- name: Release Jobs
162-
type: release
163-
leader: Daphne Van Dijken
164-
description: Complete migration and refactor of jobs in backend v4.x
165-
link: https://github.com/orgs/SciCatProject/projects/3
166-
- name: Release Search UI
167-
type: release
168-
leader: Igor Khokhriakov
169-
description: Improving usability of frontend search UI and adding needed functionality to backend
170-
link: https://github.com/orgs/SciCatProject/projects/5
171-
- name: pySciCat
172-
type: official project
173-
description: Low level python library that offers each endpoint as function in python. It requires a good level of knowledge of SciCat backend. Suggested for developing third party applications that will interface with SciCat, like data ingestors, dedicated custom UIs, or ETL processes retrieving data from and storing results in SciCat
174-
link: https://github.com/SciCatProject/pyscicat
175-
- name: Scitacean
176-
type: official project
177-
description: High level python library hiding all the inner intricacies of SciCat. It is designed for users concentrating on data analysis, exploratory tasks. It allows the user to transparently retrieve existing datasets and creating new ones with only few lines of code. It also provide functionalities for data transferring.
178-
link: https://github.com/SciCatProject/scitacean
111+
url: https://github.com/Ingvord
179112

180113

181-
documentation:
114+
repositories:
115+
- name: frontend
116+
- name: scicat-backend-next
117+
- name: scicatlive
118+
- name: scitacean
119+
- name: pyscicat
120+
- name: scicat-sdk
182121

183-
- name: Official github project
184-
description: All software packages that are part of the SciCat ecosystem are in the Github project. For documentation see each project.
185-
url: https://github.com/ScicatProject
186-
- name: User Guides
187-
description: Experience SciCat as a user
188-
url: https://scicatproject.github.io/documentation/
189-
- name: Get Started
122+
123+
documentation:
124+
main:
125+
name: Get Started with SciCat Live
190126
description: To get started with a standalone installation of SciCat and to know more about how to add it to your infrastructure visit the SciCat Live repository.
191127
url: https://scicatproject.github.io/scicatlive/latest/
192-
- name: Backend
193-
description: For developer documentation on the SciCat backend.
194-
url: https://github.com/ScicatProject/scicat-backend-next
195-
- name: Frontend
196-
description: For more information on the SciCat frontend and developer documentation.
197-
url: https://github.com/ScicatProject/frontend
198-
- name: pySciCat
199-
description: The pyscicat project is a python client library to interact with the SciCat backend.
200-
url: https://scicatproject.github.io/pyscicat/
201-
- name: Scitacean
202-
description: Scictacean is a high level python packaging for uploading and downloading data to and from SciCat.
203-
url: https://scicatproject.github.io/scitacean/
204-
128+
others:
129+
- name: User Guides
130+
description: Experience SciCat as a user.
131+
url: https://scicatproject.github.io/documentation/
132+
- name: Ingestor
133+
description: Ingesting Data into SciCat.
134+
url: https://github.com/SciCatProject/documentation/tree/master/Ingestor
135+
- name: Developer
136+
description: The SciCat Data Catalogue Developer Guide.
137+
url: https://github.com/SciCatProject/documentation/tree/master/Development
138+
- name: Operator
139+
description: The SciCat Data Catalogue Operator Guide.
140+
url: https://github.com/SciCatProject/documentation/tree/master/Operator
205141

206142

207143
# Build settings

_includes/breaker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<aside class="bg-dark section-breaker">
1+
<aside class="section-breaker">
22
<div class="container text-center">
33
</div>
44
</aside>

_includes/contact.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<section id="contact" class="contact">
2+
<div class="container mb-3">
3+
<h1 class="mt-5 mb-5">Contact</h1>
4+
<div class="row justify-content-center">
5+
<div class="col-lg-3 text-center">
6+
<a href="" class="contact-link" target="_blank">
7+
<div class="contact-link-img">
8+
<img src="../assets/svgs/email-arrow-right-outline.svg" alt="Email">
9+
</div>
10+
<p>Email</p>
11+
</a>
12+
</div>
13+
<div class="col-lg-3 text-center">
14+
<a href="https://github.com/SciCatProject/scicat-backend-next/discussions" class="contact-link" target="_blank">
15+
<img src="../assets/images/github_logo.jpg" alt="GitHub Logo">
16+
<p>GitHub Discussions</p>
17+
</a>
18+
</div>
19+
<div class="col-lg-3 text-center">
20+
<a href="https://google.com" class="contact-link" target="_blank">
21+
<img src="../assets/images/slack_logo.jpg" alt="Slack Logo">
22+
<p>Slack Channel</p>
23+
</a>
24+
</div>
25+
<div class="col-lg-3 text-center">
26+
<a href="" class="contact-link" target="_blank">
27+
<div class="contact-link-img">
28+
<img src="../assets/svgs/email-arrow-left-outline.svg" alt="Email">
29+
</div>
30+
<p>Mailing List</p>
31+
</a>
32+
</div>
33+
</div>
34+
</div>
35+
</section>

_includes/documentation.html

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
1-
<section id="documentation" class="effort text-center bg-light">
2-
<div class="container">
3-
<h1 class="mt-5 mb-5">Documentation</h1>
4-
<div class="row">
5-
{% for document in site.documentation %}
6-
<div class="documentation"> <div class="documentation-name">
7-
<div class="name">{{ document.name }}</div>
8-
</div>
9-
<div class="documentation-info">
10-
<div class="text">{{ document.description }}</div>
11-
<div class="text"><a href="{{ document.link }}" target="_blank">{{ document.link }}</a></div>
12-
<a href="{{ document.url }}" target="_blank">{{ document.name }}</a>
13-
</div>
14-
{% endfor %}
1+
<section id="documentation" class="documentation text-center bg-light">
2+
<div class="container mb-3">
3+
<h1 class="mt-5 mb-5">Documentation</h1>
4+
<div class="row justify-content-center">
5+
<div class="documentation-section card card-lg">
6+
<div class="details">
7+
<a href="{{ site.documentation.main.url }}" target="_blank">
8+
<div class="name">{{ site.documentation.main.name }}</div>
9+
</a>
10+
<div class="text">{{ site.documentation.main.description }}</div>
11+
</div>
12+
</div>
13+
</div>
14+
<div class="row justify-content-center">
15+
{% for document in site.documentation.others %}
16+
<div class="documentation-section col-lg-4 card">
17+
<div class="details">
18+
<a href="{{ document.url }}" target="_blank">
19+
<div class="name">{{ document.name }}</div>
20+
</a>
21+
<div class="text">{{ document.description }}</div>
22+
</div>
23+
</div>
24+
{% endfor %}
25+
</div>
1526
</div>
16-
</div>
1727
</section>
18-

_includes/effort.html

Lines changed: 0 additions & 19 deletions
This file was deleted.

_includes/facilities.html

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
11
<section id="facilities" class="facilities text-center bg-light">
2-
<div class="container mb-3">
3-
<h1 class="mt-5 mb-5">Facilities</h1>
4-
<div class="row">
5-
{% for facility in site.facilities %}
6-
<div class="col-lg-4 facility mb-5 mb-lg-0">
7-
<a href="{{ facility.url }}" target="_blank">
8-
<img class="img-fluid rounded-3 mb-3" src="{{ facility.image }}">
9-
<h5>{{ facility.name }}</h5>
10-
</a>
11-
</div>
12-
{% endfor %}
2+
<div class="container mb-3">
3+
<h1 class="mt-5 mb-5">Facilities</h1>
4+
<div class="row justify-content-center">
5+
{% for facility in site.facilities %}
6+
<div class="facility col-lg-4 card">
7+
<a href="{{ facility.url }}" target="_blank">
8+
<img class="facility-logo" src="{{ facility.image }}" alt="{{ facility.name }}">
9+
</a>
10+
<div class="details">
11+
<p class="contact-name mt-2 mb-1">
12+
{{ facility.contactName | default: "Contact Name" }}
13+
</p>
14+
<p class="contact-email">
15+
{{ facility.contactEmail | default: "[email protected]" }}
16+
</p>
17+
</div>
18+
</div>
19+
{% endfor %}
20+
</div>
1321
</div>
1422
</section>
1523

24+
<script>
25+
document.addEventListener('DOMContentLoaded', function() {
26+
document.querySelectorAll('.contact-email').forEach(function(element) {
27+
element.addEventListener('click', function() {
28+
const email = this.textContent.trim();
29+
window.location.href = `mailto:${email}`;
30+
});
31+
});
32+
});
33+
</script>

0 commit comments

Comments
 (0)