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
6ab42332
Commit
6ab42332
authored
Jan 22, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated networks to match SlapOS
parent
0d7d64c4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
44 deletions
+16
-44
data/network_assigned_computers.json
data/network_assigned_computers.json
+0
-9
data/network_new.json
data/network_new.json
+1
-6
data/network_overview.json
data/network_overview.json
+9
-23
lang/en-EN/dict.json
lang/en-EN/dict.json
+6
-6
No files found.
data/network_assigned_computers.json
View file @
6ab42332
...
...
@@ -22,15 +22,6 @@
"slot"
:
1
,
"text"
:
"Associated Servers"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.associated_servers"
},
"pagination"
:
{
"slot"
:
2
,
"option_list"
:
[
{
"value"
:
"8"
,
"text"
:
"8"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.8"
},
{
"value"
:
"16"
,
"text"
:
"16"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.16"
},
{
"value"
:
"32"
,
"text"
:
"32"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.32"
},
{
"value"
:
"64"
,
"text"
:
"64"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.64"
}
]
}
},
"scheme"
:
[
...
...
data/network_new.json
View file @
6ab42332
...
...
@@ -15,12 +15,8 @@
{
"position"
:
"left"
,
"fieldlist"
:
[
{
"type"
:
"input"
,
"direct"
:
{
"name"
:
"network_title"
,
"id"
:
"network_title"
,
"className"
:
"required"
},
"attributes"
:
{
"data-enhanced"
:
true
,
"type"
:
"text"
},
"logic"
:
{
"clear"
:
true
,
"label"
:
"
Computer
Title"
,
"setValue"
:
"network_"
,
"label_i18n"
:
"portal_type_dict.network_dict.text_dict.title"
,
"skip"
:
false
}}
{
"type"
:
"input"
,
"direct"
:
{
"name"
:
"network_title"
,
"id"
:
"network_title"
,
"className"
:
"required"
},
"attributes"
:
{
"data-enhanced"
:
true
,
"type"
:
"text"
},
"logic"
:
{
"clear"
:
true
,
"label"
:
"Title"
,
"setValue"
:
"network_"
,
"label_i18n"
:
"portal_type_dict.network_dict.text_dict.title"
,
"skip"
:
false
}}
]
},
{
"position"
:
"right"
,
"fieldlist"
:
[]
}
],
"children"
:
[{
...
...
@@ -41,7 +37,6 @@
"direction"
:
"horizontal"
},
"children"
:
[
{
"type"
:
"input"
,
"direct"
:
{
"value"
:
"Reset"
,
"className"
:
"translate"
},
"attributes"
:
{
"type"
:
"reset"
,
"data-i18n"
:
"[value]portal_type_dict.network_dict.text_dict.cancel"
}},
{
"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"
}}
]
}]
...
...
data/network_overview.json
View file @
6ab42332
...
...
@@ -7,7 +7,7 @@
"form"
:
true
,
"view"
:
"FOO"
,
"property_dict"
:
{
"dynamic_children"
:
[
1
],
"dynamic_children"
:
[
0
],
"requires_authentication"
:
true
,
"depends_on"
:
"login_state"
,
"wrap_gadget"
:
2
,
...
...
@@ -18,23 +18,9 @@
"text"
:
"Created Networks"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.created_networks"
},
"pagination"
:
{
"slot"
:
2
,
"option_list"
:
[
{
"value"
:
"8"
,
"text"
:
"8"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.8"
},
{
"value"
:
"16"
,
"text"
:
"16"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.16"
},
{
"value"
:
"32"
,
"text"
:
"32"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.32"
},
{
"value"
:
"64"
,
"text"
:
"64"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.64"
}
]
},
"no_items"
:
{
"message"
:
"No networks found."
,
"message_i18n"
:
"portal_type_dict.network_dict.text_dict.nonet"
},
"search"
:
{
"text"
:
"Search available networks"
,
"text_i18n"
:
"portal_type_dict.network_dict.text_dict.search"
,
"info_list"
:
[
"records"
,
"filter"
,
"sorted"
]
}
},
"scheme"
:
[
...
...
@@ -53,14 +39,6 @@
}
],
"children"
:
[{
"type"
:
"a"
,
"direct"
:
{
"className"
:
"translate ui-btn ui-icon-edit ui-btn-icon-left ui-corner-all ui-btn-inline ui-btn-slapos-black ui-link"
,
"href"
:
"#networks/new"
},
"attributes"
:
{
"data-i18n"
:
"portal_type_dict.network_dict.text_dict.add"
,
"data-icon"
:
"edit"
},
"logic"
:
{
"text"
:
"Add network"
}
},
{
"generate"
:
"widget"
,
"type"
:
"table"
,
"class_list"
:
"table-stroke ui-responsive"
,
...
...
@@ -72,6 +50,14 @@
"bottom_grid"
:
1
},
"children"
:
[]
},
{
"type"
:
"a"
,
"direct"
:
{
"className"
:
"translate ui-btn ui-icon-edit ui-btn-icon-left ui-corner-all ui-btn-inline ui-btn-slapos-black ui-link"
,
"href"
:
"#networks/new"
},
"attributes"
:
{
"data-i18n"
:
"portal_type_dict.network_dict.text_dict.add"
,
"data-icon"
:
"edit"
},
"logic"
:
{
"text"
:
"New network"
}
}]
}
lang/en-EN/dict.json
View file @
6ab42332
...
...
@@ -13,8 +13,8 @@
"servers_subtitle"
:
"Server instances being used"
,
"services"
:
"Services"
,
"services_subtitle"
:
"Administration of Installed Software"
,
"networks"
:
"Networks"
,
"networks_subtitle"
:
"
Network Administration
"
,
"networks"
:
"
My
Networks"
,
"networks_subtitle"
:
"
Administration of your networks
"
,
"monitoring"
:
"Monitoring"
,
"monitoring_subtitle"
:
"Server Status Reports"
,
"help"
:
"Help"
,
...
...
@@ -90,13 +90,13 @@
"portal_type_dict"
:
{
"network_dict"
:
{
"text_dict"
:
{
"title"
:
"
Network
Title"
,
"title"
:
"Title"
,
"status"
:
"Status"
,
"parse_error"
:
"Parsing Error"
,
"networks"
:
"Networks"
,
"network_instance"
:
"Network Instance"
,
"nonet"
:
"No
networks found.
"
,
"add"
:
"
Add
network"
,
"nonet"
:
"No
result
"
,
"add"
:
"
New
network"
,
"created_networks"
:
"Created Networks"
,
"8"
:
"8"
,
"16"
:
"16"
,
...
...
@@ -104,7 +104,7 @@
"64"
:
"64"
,
"search"
:
"Search available networks"
,
"delete"
:
"Delete"
,
"submit"
:
"
Submit
"
,
"submit"
:
"
Add
"
,
"cancel"
:
"Cancel"
,
"nodata"
:
"No servers associated with this network."
,
"associated_servers"
:
"Associated Servers"
...
...
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