Commit 093bd8cb authored by Sven Franck's avatar Sven Franck

updated new ticket/server/network to API with url_pointer in state

parent 56afb3e3
......@@ -9,7 +9,10 @@
"requires_authentication": true,
"depends_on": "login_state",
"wrap_gadget": 2,
"submit_to": "#servers/__id__"
"submit_to": "#servers/__id__",
"url_pointer": {
"new": "request_computer"
}
},
"scheme": [
{
......@@ -40,7 +43,7 @@
"property_dict": {
"direction": "horizontal"
},
"children": [{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add_server", "data-icon":"save", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.submit", "data-theme": "slapos-black"}}
"children": [{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"new", "data-icon":"save", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.submit", "data-theme": "slapos-black"}}
]
}]
}
......
......@@ -9,7 +9,10 @@
"requires_authentication": true,
"depends_on": "login_state",
"wrap_gadget": 2,
"submit_to": "#networks/__id__"
"submit_to": "#networks/__id__",
"url_pointer": {
"new": "request_computer_network"
}
},
"scheme": [
{
......@@ -37,7 +40,7 @@
"direction": "horizontal"
},
"children": [
{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add_network", "data-icon":"save", "data-i18n":"[value]portal_type_dict.network_dict.text_dict.submit", "data-theme": "slapos-black"}}
{"type": "input", "direct": {"value": "Submit", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"new", "data-icon":"save", "data-i18n":"[value]portal_type_dict.network_dict.text_dict.submit", "data-theme": "slapos-black"}}
]
}]
}
......
......@@ -9,7 +9,10 @@
"requires_authentication": true,
"depends_on": "login_state",
"wrap_gadget": 2,
"submit_to": "#help"
"submit_to": "#help",
"url_pointer": {
"new": "request_ticket"
}
},
"scheme": [
{
......@@ -43,7 +46,7 @@
"direction": "horizontal"
},
"children": [
{"type": "input", "direct": {"value": "Add", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add_ticket", "data-icon":"check", "data-i18n":"[value]portal_type_dict.ticket_dict.text_dict.generate", "data-theme": "slapos-black"}}
{"type": "input", "direct": {"value": "Add", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"new", "data-icon":"check", "data-i18n":"[value]portal_type_dict.ticket_dict.text_dict.generate", "data-theme": "slapos-black"}}
]
}]
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment