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
446610a6
Commit
446610a6
authored
Jan 16, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update services pageindex and field_dict for instance_details
parent
c4e101c2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
64 additions
and
5 deletions
+64
-5
data/service_fieldlist.json
data/service_fieldlist.json
+44
-3
data/service_instance_status.json
data/service_instance_status.json
+2
-2
data/service_statusbox.json
data/service_statusbox.json
+2
-0
data/services.json
data/services.json
+12
-0
lang/en-EN/dict.json
lang/en-EN/dict.json
+4
-0
No files found.
data/service_fieldlist.json
View file @
446610a6
...
@@ -372,6 +372,47 @@
...
@@ -372,6 +372,47 @@
}
}
}
}
},
},
"reference"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"reference"
,
"title"
:
"Reference"
,
"title_i18n"
:
"portal_type_dict.service_dict.field_dict.reference.title"
,
"description"
:
"The reference for this service instance."
,
"description_i18n"
:
"portal_type_dict.service_dict.field_dict.reference.description"
,
"alternate_name"
:
"reference"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
"maximum_input"
:
null
,
"extra"
:
null
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"message"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input required but not found."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input give."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"timestamp"
:
{
"timestamp"
:
{
"type"
:
"DateTimeField"
,
"type"
:
"DateTimeField"
,
"widget"
:
{
"widget"
:
{
...
@@ -495,15 +536,15 @@
...
@@ -495,15 +536,15 @@
}
}
}
}
},
},
"
xml_recipe
"
:
{
"
text_content
"
:
{
"type"
:
"TextareaField"
,
"type"
:
"TextareaField"
,
"widget"
:
{
"widget"
:
{
"id"
:
"
xml_recipe
"
,
"id"
:
"
text_content
"
,
"title"
:
"Parameter XML"
,
"title"
:
"Parameter XML"
,
"title_i18n"
:
"portal_type_dict.service_dict.field_dict.recipe.title"
,
"title_i18n"
:
"portal_type_dict.service_dict.field_dict.recipe.title"
,
"description"
:
"The XML recipe for this software installation."
,
"description"
:
"The XML recipe for this software installation."
,
"description_i18n"
:
"portal_type_dict.service_dict.field_dict.recipe.description"
,
"description_i18n"
:
"portal_type_dict.service_dict.field_dict.recipe.description"
,
"alternate_name"
:
"
xml_recipe
"
,
"alternate_name"
:
"
text_content
"
,
"default_value"
:
null
,
"default_value"
:
null
,
"css_class"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"hidden"
:
null
,
...
...
data/service_instance_status.json
View file @
446610a6
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
{
{
"position"
:
"center"
,
"position"
:
"center"
,
"fieldlist"
:
[
"fieldlist"
:
[
{
"type"
:
"a"
,
"direct"
:
{},
"attributes"
:
{},
"logic"
:{
"setters"
:
[
"href"
,
"text"
],
"setValue"
:
"url_string"
}}
{
"type"
:
"a"
,
"direct"
:
{},
"attributes"
:
{
"data-external"
:
true
},
"logic"
:{
"setters"
:
[
"href"
,
"text"
],
"setValue"
:
"url_string"
}}
]
]
},
},
{
{
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
{
{
"position"
:
"center"
,
"position"
:
"center"
,
"fieldlist"
:
[
"fieldlist"
:
[
{
"field"
:
"
xml_recipe
"
,
"overrides"
:
{
"widget"
:
{
"title"
:
"Instance XML Recipe"
,
"title_i18n"
:
"portal_type_dict.service_dict.text_dict.recipe"
}}}
{
"field"
:
"
text_content
"
,
"overrides"
:
{
"widget"
:
{
"title"
:
"Instance XML Recipe"
,
"title_i18n"
:
"portal_type_dict.service_dict.text_dict.recipe"
}}}
]
]
}
}
],
],
...
...
data/service_statusbox.json
View file @
446610a6
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
"property_dict"
:
{
"property_dict"
:
{
"initial_query_url_identifier"
:
"_id"
,
"initial_query_url_identifier"
:
"_id"
,
"dynamic_children"
:
[
0
],
"dynamic_children"
:
[
0
],
"link"
:
true
,
"link_identifier"
:
"_id"
,
"wrap_gadget"
:
2
,
"wrap_gadget"
:
2
,
"submit_to"
:
"#services"
,
"submit_to"
:
"#services"
,
"caption"
:
{
"caption"
:
{
...
...
data/services.json
View file @
446610a6
...
@@ -57,6 +57,18 @@
...
@@ -57,6 +57,18 @@
"title_i18n"
:
"portal_type_dict.service_dict.text_dict.select_release"
,
"title_i18n"
:
"portal_type_dict.service_dict.text_dict.select_release"
,
"theme"
:
"slapos-white"
,
"theme"
:
"slapos-white"
,
"view_dict"
:
{
"view_dict"
:
{
"default"
:
[
{
"generate"
:
"gadget"
,
"type"
:
"fieldlist"
,
"href"
:
"instance_configuration"
},
{
"generate"
:
"gadget"
,
"type"
:
"listbox"
,
"href"
:
"instance_connection"
}
],
"add"
:
[
"add"
:
[
{
{
"generate"
:
"gadget"
,
"generate"
:
"gadget"
,
...
...
lang/en-EN/dict.json
View file @
446610a6
...
@@ -134,6 +134,10 @@
...
@@ -134,6 +134,10 @@
"64"
:
"64"
"64"
:
"64"
},
},
"field_dict"
:
{
"field_dict"
:
{
"reference"
:
{
"title"
:
"Reference"
,
"description"
:
"The reference for this service instance."
},
"source_reference"
:
{
"source_reference"
:
{
"title"
:
"Software Type"
,
"title"
:
"Software Type"
,
"description"
:
"The software type of this service."
"description"
:
"The software type of this service."
...
...
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