forked from q02/pool.v0.trr379.de-ui
128 lines
3.8 KiB
YAML
128 lines
3.8 KiB
YAML
app_name: TRR379 Knowledge Pooling Tool (v0)
|
|
page_title: TRR379 Knowledge
|
|
documentation_url: https://docs.trr379.de/howtos/pool-tool/index.html
|
|
source_code_url: https://hub.trr379.de/q02/pool.v0.trr379.de-ui
|
|
external_config_url: https://pool.v0.trr379.de/ui/config_ri_default.yaml
|
|
app_theme:
|
|
link_color: '#ffa200'
|
|
hover_color: '#ffa200'
|
|
active_color: '#ffa201'
|
|
visited_color: '#ffa201'
|
|
panel_color: '#333333'
|
|
logo: logo.png
|
|
id_resolves_externally:
|
|
- trr379root
|
|
show_classes:
|
|
- https://concepts.datalad.org/s/things/v2/AnnotationTag
|
|
- https://concepts.datalad.org/s/things/v2/Convention
|
|
# must list the next to get all identifiers to show
|
|
- https://concepts.datalad.org/s/things/v2/Identifier
|
|
- https://concepts.datalad.org/s/things/v2/DOI
|
|
- https://concepts.datalad.org/s/things/v2/ISSN
|
|
- https://concepts.datalad.org/s/things/v2/ORCID
|
|
- https://concepts.datalad.org/s/things/v2/Rule
|
|
- https://concepts.datalad.org/s/things/v2/Property
|
|
component_config:
|
|
NodeShapeViewer:
|
|
recordNumberStepSize: 5
|
|
textTruncateWidth: '85%'
|
|
W3CISO8601DateTimeEditor:
|
|
yearStart: 1990
|
|
yearEnd: 2028
|
|
use_service: true
|
|
use_token: true
|
|
token_info: Please refer to the documentation on how to obtain a new token.
|
|
token_info_url: https://docs.trr379.de/howtos/pool-tool/setup/index.html
|
|
service_base_url:
|
|
- url: https://pool.v0.trr379.de/api/protected/
|
|
type: write
|
|
- url: https://pool.v0.trr379.de/api/public/
|
|
type: read
|
|
service_fetch_before:
|
|
get-record: []
|
|
get-records: []
|
|
footer_links:
|
|
- url: https://www.fz-juelich.de/en/legal-notice
|
|
text: Legal notice
|
|
- url: https://dfg-cp-survey.trr379.de/#privacy-policy
|
|
text: Privacy policy
|
|
|
|
# ----------------
|
|
# File upload
|
|
# ----------------
|
|
gitannex_p2phttp_config:
|
|
base_url: "https://hub.trr379.de/git-annex-p2phttp/git-annex"
|
|
annex_uuid: d10eeb70-bb68-4ae4-8c5a-713203d86733
|
|
client_uuid: trr379-pool-ui
|
|
use_gitannex_p2phttp: true
|
|
|
|
gitannex_p2phttp_config_wizard:
|
|
client_uuid: trr379-pool-ui
|
|
targets:
|
|
- name: TRR379 Hub
|
|
base_url: https://hub.trr379.de/git-annex-p2phttp/git-annex
|
|
repositories:
|
|
- name: File Upload Repo
|
|
annex_uuid: d10eeb70-bb68-4ae4-8c5a-713203d86733
|
|
|
|
# -------
|
|
# Content
|
|
# -------
|
|
content:
|
|
depiction-upload-template:
|
|
url: templates/depiction-upload.ttl
|
|
doi-template:
|
|
url: templates/doi.ttl
|
|
doi-logo:
|
|
url: https://hub.psychoinformatics.de/datalink/assets/raw/branch/main/shacl-vue/DOI_logo_24.svg
|
|
file-upload-template:
|
|
url: templates/file-upload.ttl
|
|
|
|
# -------------
|
|
# Update Shapes
|
|
# -------------
|
|
# would also work for any usage of a slot via update_shapes_default + _all_property_shapes
|
|
update_shapes:
|
|
trr379ri:TRR379Person:
|
|
dlthings:depiction:
|
|
# this triggers the button
|
|
shaclvue:gitAnnexUpload: true
|
|
|
|
# -------
|
|
# Wizards
|
|
# -------
|
|
wizard_editors:
|
|
DOIWizard:
|
|
name: DOI Wizard
|
|
tooltip: Add a Digital Object Identifier
|
|
icon: content:doi-logo
|
|
description: Enter the 'Notation' field and hit *Save* in order to create a DOI record
|
|
inputs:
|
|
- prop: notation
|
|
name: Notation
|
|
description: This is the unique DOI identifier text following the creator URI (typically 'http://doi.org/')
|
|
type: text
|
|
placeholder: 'example: 10.21105/joss.03262'
|
|
required: true
|
|
# pattern:
|
|
# default:
|
|
template: content:doi-template
|
|
FileUploadWizard:
|
|
name: File Upload Wizard
|
|
tooltip: Upload a file
|
|
icon: mdi-file-upload-outline
|
|
description: Upload a file and hit *Save*
|
|
inputs:
|
|
- prop: file
|
|
name: File
|
|
type: upload
|
|
required: true
|
|
template: content:file-upload-template
|
|
wizard_editor_selection:
|
|
trr379ri:TRR379Publication:
|
|
_record:
|
|
- DOIWizard
|
|
_slots:
|
|
dlthings:distributions:
|
|
_record:
|
|
- FileUploadWizard |