From b62c61694e66ba29ca2bf70187e182e036fe230b Mon Sep 17 00:00:00 2001 From: Candid Dauth Date: Sat, 23 Dec 2017 15:19:39 +0100 Subject: [PATCH] Add "interactive" URL param --- frontend/README.md | 3 ++- frontend/app/toolbox/toolbox.html | 4 ++-- frontend/app/toolbox/toolbox.js | 7 ++++++- frontend/index/index.ejs | 2 +- frontend/index/index.js | 3 ++- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/frontend/README.md b/frontend/README.md index f68f676a..b8947599 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -19,6 +19,7 @@ You can control the display of different components by using the following query * `search`: Show the search bar (default: `true`) * `autofocus`: Autofocus the search field (default: `false`) * `legend`: Show the legend if available (default: `true`) +* `interactive`: Show certain items (“Create collaborative map”, “Open file”) in the toolbox (default: `false`) Example: @@ -103,7 +104,7 @@ of components by adding them to the element: ```html - + diff --git a/frontend/app/toolbox/toolbox.html b/frontend/app/toolbox/toolbox.html index 99a44a24..cf1f9927 100644 --- a/frontend/app/toolbox/toolbox.html +++ b/frontend/app/toolbox/toolbox.html @@ -3,7 +3,7 @@