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
e26a858b
Commit
e26a858b
authored
Jan 03, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added network remove logic
parent
f59533cb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
11 deletions
+19
-11
data/network_new.json
data/network_new.json
+2
-1
data/network_status.json
data/network_status.json
+11
-2
data/networks.json
data/networks.json
+0
-7
lang/en-EN/dict.json
lang/en-EN/dict.json
+6
-1
No files found.
data/network_new.json
View file @
e26a858b
...
...
@@ -8,7 +8,8 @@
"dynamic_children"
:
[
0
],
"requires_authentication"
:
true
,
"depends_on"
:
"login_state"
,
"wrap_gadget"
:
2
"wrap_gadget"
:
2
,
"submit_to"
:
"#networks::__id__"
},
"children"
:
[{
"generate"
:
"widget"
,
...
...
data/network_status.json
View file @
e26a858b
...
...
@@ -9,7 +9,8 @@
"dynamic_children"
:
[
0
],
"requires_authentication"
:
true
,
"depends_on"
:
"login_state"
,
"wrap_gadget"
:
2
"wrap_gadget"
:
2
,
"submit_to"
:
"#networks"
},
"children"
:
[{
"generate"
:
"widget"
,
...
...
@@ -21,7 +22,15 @@
"secret_hash"
:
"foo"
,
"public_key"
:
"6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children"
:
[],
"children"
:
[
{
"type"
:
"p"
,
"direct"
:
{},
"attributes"
:
{},
"logic"
:
{
"text"
:
"Foo"
}},
{
"type"
:
"a"
,
"direct"
:
{
"href"
:
"#"
,
"className"
:
"action translate right error status ui-btn ui-btn-inline ui-shadow ui-corner-all ui-btn-icon-left ui-icon-trash"
},
"attributes"
:
{
"data-i18n"
:
"page_dict.network.delete"
,
"data-action"
:
"destroy"
},
"logic"
:
{
"text"
:
"Delete"
}
}
],
"layout"
:
[
{
"position"
:
"left"
,
...
...
data/networks.json
View file @
e26a858b
...
...
@@ -49,13 +49,6 @@
}
]
}
},
{
"generate"
:
"widget"
,
"type"
:
"page"
,
"theme"
:
"slapos-white"
,
"title"
:
"Instance Configuration"
,
"title_i18n"
:
"page_dict.servers.configuration"
,
"layout"
:
{}
}
]
}
lang/en-EN/dict.json
View file @
e26a858b
...
...
@@ -70,7 +70,8 @@
"network"
:
{
"add"
:
"Add new network"
,
"title"
:
"Networks"
,
"subtitle"
:
"Generated networks"
"subtitle"
:
"Generated networks"
,
"delete"
:
"Delete"
},
"thanks"
:
{
"title"
:
"Thanks"
,
...
...
@@ -276,6 +277,10 @@
},
"computer_dict"
:
{
"field_list"
:
{
"network"
:
{
"title"
:
"Network"
,
"description"
:
"The network this computer should be associated to."
},
"title"
:
{
"title"
:
"Computer"
,
"description"
:
"The name of a computer."
...
...
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