module.exports = [ { "type": "section", "items": [ { "type": "heading", "defaultValue": "Locate Me" }, { "type": "toggle", "messageKey": "ping_location_enabled", "label": "Locate me on another server" }, { "type": "input", "messageKey": "ping_location_url", "label": "full URL (https://domain/path/endpoint.php) of server getting the location" }, { "type": "input", "messageKey": "ping_location_login", "label": "Login (unused)" }, { "type": "input", "messageKey": "ping_location_password", "label": "Password (unused)", "attributes": { "type": "password" } } ] }, { "type": "section", "items": [ { "type": "heading", "defaultValue": "strava" }, { "type": "toggle", "messageKey": "strava_enabled", "label": "strava_enabled" }, { "type": "text", "defaultValue": "Grant this application access to upload to Strava
" }, { "type": "toggle", "messageKey": "strava_automatic_upload", "label": "Automatic upload at the end of the track" } ] }, { "type": "section", "items": [ { "type": "heading", "defaultValue": "Send GPX to another server" }, { "type": "toggle", "messageKey": "gpx_web_enabled", "label": "Send GPX to another server" }, { "type": "input", "messageKey": "gpx_web_url", "label": "full URL (https://domain/path/endpoint.php) of server getting the GPX" }, { "type": "input", "messageKey": "gpx_web_login", "label": "Login (unused)" }, { "type": "input", "messageKey": "gpx_web_password", "label": "Password (unused)", "attributes": { "type": "password" } } ] }, { "type": "toggle", "messageKey": "debug", "label": "Debug" }, { "type": "submit", "id": "submitButton", "defaultValue": "Save" } ];