Development
This commit is contained in:
parent
c63098edc0
commit
91b11c618b
8 changed files with 112 additions and 231 deletions
|
|
@ -41,31 +41,10 @@
|
|||
"row_actions": [
|
||||
{
|
||||
"client_requirement": "client_is_administrator+",
|
||||
"action": "/action/dnsblocking/blocklists_edit",
|
||||
"method": "inline_edit",
|
||||
"method": "js_edit",
|
||||
"target": "add-form",
|
||||
"text": "Edit",
|
||||
"class": "btn-ghost btn-sm",
|
||||
"fields": [
|
||||
{
|
||||
"col": "name",
|
||||
"input_type": "text",
|
||||
"validate": "VALIDATION_DASH_NAME"
|
||||
},
|
||||
{
|
||||
"col": "description",
|
||||
"input_type": "text"
|
||||
},
|
||||
{
|
||||
"col": "format",
|
||||
"input_type": "select",
|
||||
"options": "%BLOCKLIST_FORMAT_OPTIONS%"
|
||||
},
|
||||
{
|
||||
"col": "url",
|
||||
"input_type": "text",
|
||||
"validate": "VALIDATION_URL"
|
||||
}
|
||||
]
|
||||
"class": "btn-ghost btn-sm"
|
||||
},
|
||||
{
|
||||
"client_requirement": "client_is_administrator+",
|
||||
|
|
@ -87,6 +66,11 @@
|
|||
"action": "/action/dnsblocking/addblocklist_add",
|
||||
"method": "post",
|
||||
"items": [
|
||||
{
|
||||
"type": "hidden",
|
||||
"name": "row_index",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"label": "Name",
|
||||
|
|
@ -243,4 +227,4 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue