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.
52 lines
1.5 KiB
52 lines
1.5 KiB
{
|
|
"title": "Test server",
|
|
"forms": [
|
|
{
|
|
"name": "import",
|
|
"title": "Import data",
|
|
"description": "Import SQL 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": "sql_file",
|
|
"title": "SQL file",
|
|
"type": "file"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|