Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
093bd8cb
Commit
093bd8cb
authored
Feb 21, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated new ticket/server/network to API with url_pointer in state
parent
56afb3e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
data/computer_new.json
data/computer_new.json
+5
-2
data/network_new.json
data/network_new.json
+5
-2
data/ticket_new.json
data/ticket_new.json
+5
-2
No files found.
data/computer_new.json
View file @
093bd8cb
...
...
@@ -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"
}}
]
}]
}
...
...
data/network_new.json
View file @
093bd8cb
...
...
@@ -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"
}}
]
}]
}
...
...
data/ticket_new.json
View file @
093bd8cb
...
...
@@ -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"
}}
]
}]
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment