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 of server getting the location (https://domain/path/endpoint.php)"
}
]
},
{
"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
(unsaved config will be lost)
"
},
{
"type": "input",
"messageKey": "strava_auth_code",
"label": "oauth Authorization code from strava
(if above link doesn't work)"
}
]
},
{
"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 of server receiving the GPX (https://domain/path/endpoint.php)"
}
]
},
{
"type": "submit",
"id": "submitButton",
"defaultValue": "Save"
}
];