module.exports = [{
type: "section",
items: [{
type: "heading",
defaultValue: "Locate Me"
},
{
type: "toggle",
messageKey: "ping_location_enable",
label: "Locate me on another server"
},
{
type: "text",
messageKey: "ping_location_url",
label: "full URL 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: "Send GPX to another server"
},
{
type: "toggle",
messageKey: "gpx_web_enable",
label: "Send GPX to another server"
},
{
type: "text",
messageKey: "gpx_web_url",
label: "full URL 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: "section",
items: [{
type: "heading",
defaultValue: "strava"
},
{
type: "text",
defaultValue: "Grant this application access to upload to Strava
"
},
{
type: "toggle",
messageKey: "strava_upload",
label: "strava_upload"
},
{
type: "toggle",
messageKey: "strava_automatic_upload",
label: "Automatic upload at the end of the track"
}
]
},
{
type: "toggle",
messageKey: "debug",
label: "Debug"
},
{
type: "submit",
id: "submitButton",
defaultValue: "Save"
}
];