Development
This commit is contained in:
parent
916d238602
commit
6c3abca58c
4 changed files with 208 additions and 303 deletions
|
|
@ -95,7 +95,7 @@
|
|||
{
|
||||
"client_requirement": "client_is_administrator+",
|
||||
"method": "js_edit",
|
||||
"target": "edit-vlan-form",
|
||||
"target": "add-form",
|
||||
"text": "Edit",
|
||||
"class": "btn-ghost btn-sm"
|
||||
},
|
||||
|
|
@ -112,14 +112,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "card",
|
||||
"id": "edit-vlan-form",
|
||||
"label": "Edit VLAN",
|
||||
"hidden": true,
|
||||
"client_requirement": "client_is_administrator+",
|
||||
"items": []
|
||||
},
|
||||
{
|
||||
"type": "card",
|
||||
"id": "add-form",
|
||||
|
|
@ -128,9 +120,14 @@
|
|||
"items": [
|
||||
{
|
||||
"type": "form",
|
||||
"action": "/action/networklayout/addvlan_add",
|
||||
"action": "/action/networklayout/vlans_addedit",
|
||||
"method": "post",
|
||||
"items": [
|
||||
{
|
||||
"type": "hidden",
|
||||
"name": "row_index",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"type": "field_row",
|
||||
"cols": 4,
|
||||
|
|
@ -342,7 +339,7 @@
|
|||
"items": [
|
||||
{
|
||||
"type": "button_primary",
|
||||
"action": "/action/networklayout/addvlan_add",
|
||||
"action": "/action/networklayout/vlans_addedit",
|
||||
"method": "post",
|
||||
"text": "Add VLAN",
|
||||
"class": "add-vlan-btn",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue