Skip to content
Snippets Groups Projects
Commit e0ea9200 authored by Paul Pestov's avatar Paul Pestov
Browse files

chore: update GFL example config

parent 48f5dfae
No related branches found
No related tags found
1 merge request!289Fix scroll text
...@@ -27,139 +27,147 @@ ...@@ -27,139 +27,147 @@
<script src="config-menu/config-menu.js"></script> <script src="config-menu/config-menu.js"></script>
<script> <script>
window.addEventListener('load', function () { window.addEventListener('load', function () {
window.tido = new window.Tido({ window.tido = new window.Tido({
"manifest": "https://goethes-farbenlehre-berlin.sub.uni-goettingen.de/tido/gfl/Z_1822-02-20_k/manifest.json", manifest: "https://goethes-farbenlehre-berlin.sub.uni-goettingen.de/tido/gfl/Z_1822-02-20_k/manifest.json",
"labels": { labels: {
"item": "Seite", item: "Seite",
"manifest": "Dokument" manifest: "Dokument"
},
"lang": "de",
"panels": [
{
"views": [{
"id": "image",
"label": "Manuskript",
"connector": {
"id": 3
}
}]
}, },
{ colors: {
"label": "Text", forceMode: "light",
"views": [ primary: "#4569cc"
{ },
"id": "text1", lang: "de",
"label": "Edierter Text", panels: [
"connector": { {
"id": 4, views: [{
"options": { id: "image",
"type": "Edierter Text" label: "Manuskript",
} connector: {
id: 3
} }
}, }]
{ },
"id": "text2", {
"connector": { label: "Text",
"id": 4, views: [
"options": { {
"type": "Transcription" id: "text1",
label: "Edierter Text",
connector: {
id: 4,
options: {
type: "edited"
}
}
},
{
id: "text2",
label: "Transkription",
connector: {
id: 4,
options: {
type: "transcription"
}
} }
} }
} ]
] },
}, {
{ label: "Kommentar",
"label": "Kommentar", views: [
"views": [ {
{ id: "annotations1",
"id": "annotations1", label: "Kommentare",
"label": "Kommentare", connector: {
"connector": { id: 5,
"id": 5, options: {
"options": { types: [
"types": [ {
{ name: "Editorial Comment",
"name": "Editorial Comment", icon: "biChatFill"
"icon": "biChatFill" },
}, {
{ name: "Abstract",
"name": "Abstract", annotationType: "text",
"annotationType": "text", displayWhen: "edited"
"displayWhen": "Edierter Text" }
} ]
] }
}
},
{
id: "annotations2",
label: "Register",
connector: {
id: 5,
options: {
types: [
{
name: "Person",
icon: "biPersonFill"
},
{
name: "Place",
icon: "biGeoAltFill"
},
{
name: "Org",
icon: "biBank2"
},
{
name: "Object",
icon: "biArchiveFill"
},
{
name: "Date",
icon: "biCalendarWeek"
},
{
name: "Work",
icon: "biJournals"
}
]
}
} }
} }
}, ]
{ },
"id": "annotations2", {
"label": "Register", label: "Dokumentdaten",
"connector": { views: [
"id": 5, {
"options": { id: "meta",
"types": [ label: "Metadaten",
{ connector: {
"name": "Person", id: 2,
"icon": "biPersonFill" options: {
}, collection: {
{ all: true
"name": "Place",
"icon": "biGeoAltFill"
},
{
"name": "Org",
"icon": "biBank2"
}, },
{ manifest: {
"name": "Object", all: true
"icon": "biArchiveFill"
}, },
{ item: {
"name": "Date", all: true
"icon": "biCalendarWeek"
},
{
"name": "Work",
"icon": "biJournals"
} }
]
}
}
}
]
},
{
"label": "Dokumentdaten",
"views": [
{
"id": "meta",
"label": "Metadaten",
"connector": {
"id": 2,
"options": {
"collection": {
"all": true
},
"manifest": {
"all": true
},
"item": {
"all": true
} }
} }
},
{
id: "tree",
label: "Inhalt",
connector: {
id: 1
}
} }
}, ]
{ }
"id": "tree", ],
"label": "Inhalt", translations: {
"connector": { Edition_license: 'Editionslizenz'
"id": 1
}
}
]
} }
] });
});
}); });
</script> </script>
</body> </body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment