You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.5 KiB
51 lines
1.5 KiB
10 years ago
|
{
|
||
|
"title": "Test server",
|
||
|
"forms": {
|
||
|
"import": {
|
||
|
"title": "Import data",
|
||
|
"description": "Import CSV data into a database",
|
||
|
"submit_title": "Import",
|
||
|
"script": "job_import.sh",
|
||
|
"fields": [
|
||
|
{
|
||
|
"name": "target_db",
|
||
|
"title": "Database to import to",
|
||
|
"type": "select",
|
||
|
"options": [
|
||
|
["devtest", "Dev Test db"],
|
||
|
["prodtest", "Prod Test db"]
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "csv_file",
|
||
|
"title": "CSV file",
|
||
|
"type": "file"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"add_user": {
|
||
|
"title": "Add user",
|
||
|
"description": "Add a user to the htaccess file or change their password",
|
||
|
"submit_title": "Add user",
|
||
|
"script": "job_add_user.sh",
|
||
|
"fields": [
|
||
|
{
|
||
|
"name": "username",
|
||
|
"title": "Username",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "password1",
|
||
|
"title": "Password",
|
||
|
"type": "password"
|
||
|
},
|
||
|
{
|
||
|
"name": "password2",
|
||
|
"title": "Password (Repear)",
|
||
|
"type": "password"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|