From 3deb5a6c17aac479fcef1b1ba318c8685befee43 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 23 Oct 2017 22:38:18 +0200 Subject: [PATCH] Add Pandora layers and adjust config --- pandora/srv/pandora/pandora/config.jsonc | 40 +++++++++++++++++++++--- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/pandora/srv/pandora/pandora/config.jsonc b/pandora/srv/pandora/pandora/config.jsonc index a0976f7..26862f5 100644 --- a/pandora/srv/pandora/pandora/config.jsonc +++ b/pandora/srv/pandora/pandora/config.jsonc @@ -99,7 +99,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. text of clips (in grid view, below the icon). Excluding a layer from this list means it will not be included in find annotations. */ - "clipLayers": ["publicnotes", "keywords", "subtitles"], + "clipLayers": ["publicnotes", "keywords", "subtitles", "places", "events"], /* "documentKeys" defines the metadata associated with each document. Required keys are "*", "id" and "title". @@ -796,6 +796,20 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "title": "Random", "type": "integer", "sort": true + }, + { + "id": "places", + "title": "Places", + "type": "layer", + "filter": true, + "find": true + }, + { + "id": "events", + "title": "Events", + "type": "layer", + "filter": true, + "find": true } ], /* @@ -907,6 +921,22 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "isSubtitles": true, "item": "Subtitle", "type": "text" + }, + { + "id": "places", + "title": "Places", + "canAddAnnotations": {"member": true, "staff": true, "admin": true}, + "item": "Place", + "overlap": true, + "type": "place" + }, + { + "id": "events", + "title": "Events", + "canAddAnnotations": {"member": true, "staff": true, "admin": true}, + "item": "Event", + "overlap": true, + "type": "event" } ], /* @@ -1142,7 +1172,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "findDocuments": {"conditions": [], "operator": "&"}, "followPlayer": true, "help": "", - "icons": "posters", + "icons": "frames", "infoIconSize": 256, "item": "", "itemFind": "", @@ -1186,7 +1216,9 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "keywords": true, "privatenotes": true, "publicnotes": true, - "subtitles": true + "subtitles": true, + "places": true, + "events": true }, "showMapControls": false, "showMapLabels": false, @@ -1216,7 +1248,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "sidebarSize": 256, "text": "", "texts": {}, - "theme": "oxmedium", + "theme": "oxdark", "updateAdvancedFindResults": false, "videoLoop": false, "videoMuted": false,