Skip to content

Commit 45b4af6

Browse files
committed
chore: remove config from index file
1 parent 1359d02 commit 45b4af6

File tree

1 file changed

+1
-152
lines changed

1 file changed

+1
-152
lines changed

index.html

Lines changed: 1 addition & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -27,158 +27,7 @@
2727
<script type="module" src="/src/main.js"></script>
2828
<script>
2929
window.addEventListener('load', function () {
30-
window.tido = new window.Tido({
31-
collection: "https://api.ahiqar.uni-goettingen.de/textapi/ahiqar/arabic-karshuni/collection.json",
32-
container: "#app",
33-
colors: {
34-
primary: "#234ea6"
35-
},
36-
labels: {
37-
item: "Sheet",
38-
manifest: "Manuscript"
39-
},
40-
fitPanels: false,
41-
panels: [
42-
{
43-
label: "contents_and_metadata",
44-
views: [
45-
{
46-
id: "tree",
47-
label: "contents",
48-
connector: {
49-
id: 1
50-
}
51-
},
52-
{
53-
id: "metadata",
54-
label: "metadata",
55-
connector: {
56-
id: 2,
57-
options: {
58-
collection: {
59-
all: true
60-
},
61-
manifest: {
62-
all: true
63-
},
64-
item: {
65-
all: true
66-
}
67-
}
68-
}
69-
}
70-
]
71-
},
72-
{
73-
label: "image",
74-
views: [
75-
{
76-
id: "image",
77-
label: "Image",
78-
connector: {
79-
id: 3
80-
}
81-
}]
82-
},
83-
{
84-
label: "Transcription",
85-
views: [
86-
{
87-
id: "text1",
88-
label: "Transcription",
89-
default: true,
90-
connector: {
91-
id: 4,
92-
options: {
93-
type: "transcription"
94-
}
95-
}
96-
}
97-
]
98-
},
99-
{
100-
label: "Translation",
101-
show: true,
102-
views: [
103-
{
104-
id: "text3",
105-
label: "Translation",
106-
default: true,
107-
connector: {
108-
id: 4,
109-
options: {
110-
type: "translation"
111-
}
112-
}
113-
},
114-
]
115-
},
116-
{
117-
label: "annotations",
118-
views: [
119-
{
120-
id: "annotations1",
121-
label: "Editorial",
122-
connector: {
123-
id: 5,
124-
options: {
125-
types: [
126-
{
127-
name: "Person",
128-
icon: "person"
129-
},
130-
{
131-
name: "Place",
132-
icon: "marker"
133-
},
134-
{
135-
name: "Editorial Comment",
136-
icon: "chat"
137-
},
138-
{
139-
name: "Reference",
140-
icon: "externalLink"
141-
}
142-
]
143-
}
144-
}
145-
},
146-
{
147-
id: "annotations2",
148-
label: "Motif",
149-
connector: {
150-
id: 5,
151-
options: {
152-
types: [
153-
{
154-
name: "Motif",
155-
icon: "pen"
156-
}
157-
]
158-
}
159-
}
160-
},
161-
{
162-
"id": "annotations3",
163-
"label": "Variants",
164-
"connector": {
165-
"id": 6
166-
}
167-
}
168-
]
169-
}
170-
],
171-
translations: {
172-
en: {
173-
contents_and_metadata: "Contents & Metadata",
174-
next_item: "Next Sheet",
175-
previous_item: "Previous Sheet",
176-
next_manifest: "Next Manuscript",
177-
previous_manifest: "Previous Manuscript",
178-
item: "Sheet"
179-
}
180-
}
181-
});
30+
window.tido = new window.Tido();
18231
});
18332
</script>
18433
</body>

0 commit comments

Comments
 (0)