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
e15b1500
Commit
e15b1500
authored
Jan 16, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack: add custom handlers to get live data
parent
8fb24e5f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
15 deletions
+24
-15
data/service_connection.json
data/service_connection.json
+2
-1
data/service_instance_status.json
data/service_instance_status.json
+9
-13
data/service_overview.json
data/service_overview.json
+2
-1
data/service_statusbox.json
data/service_statusbox.json
+11
-0
No files found.
data/service_connection.json
View file @
e15b1500
...
...
@@ -2,8 +2,9 @@
"portal_type_source"
:
"Service"
,
"portal_type_title"
:
"service"
,
"portal_type_fields"
:
"service_fieldlist"
,
"portal_type_mapper"
:
"subscriptions"
,
"form"
:
true
,
"view"
:
"
FOO
"
,
"view"
:
"
web_view
"
,
"property_dict"
:
{
"initial_query_url_identifier"
:
"_id"
,
"dynamic_children"
:
[
1
],
...
...
data/service_instance_status.json
View file @
e15b1500
...
...
@@ -14,23 +14,19 @@
{
"position"
:
"left"
,
"fieldlist"
:
[
{
"field"
:
"id"
,
"overrides"
:
{
"properties"
:
{
"editable"
:
false
,
"required"
:
false
}}},
{
"field"
:
"title"
,
"overrides"
:
{
"widget"
:
{
"title"
:
"Software Type"
,
"title_i18n"
:
"portal_type_dict.service_dict.text_dict.software_type"
},
"properties"
:
{
"editable"
:
false
}}},
{
"field"
:
"status"
,
"overrides"
:
{
"properties"
:
{
"editable"
:
false
,
"required"
:
false
}}},
{
"field"
:
"reference_computer"
,
"overrides"
:
{
"type"
:
"StringField"
,
"properties"
:
{
"editable"
:
false
,
"required"
:
false
}}}
{
"field"
:
"title"
,
"overrides"
:
{
"widget"
:
{
"title"
:
"Partitions Installed For:"
,
"title_i18n"
:
"portal_type_dict.service_dict.text_dict.partitions_installed_for"
},
"properties"
:
{
"editable"
:
false
}}}
]
},
{
"position"
:
"right"
,
"position"
:
"center"
,
"fieldlist"
:
[
{
"type"
:
"a"
,
"direct"
:
{},
"attributes"
:
{},
"logic"
:{
"setters"
:
[
"href"
,
"text"
],
"setValue"
:
"url_string"
}}
]
},
{
"position"
:
"left"
,
"fieldlist"
:
[
{
"field"
:
"detail_description"
,
"overrides"
:
{
"properties"
:
{
"editable"
:
false
},
"required"
:
false
}},
{
"field"
:
"version"
,
"overrides"
:
{
"widget"
:
{
"hidden"
:
true
},
"properties"
:
{
"required"
:
false
}}},
{
"field"
:
"image_type"
,
"overrides"
:
{
"widget"
:
{
"hidden"
:
true
},
"properties"
:
{
"required"
:
false
}}},
{
"field"
:
"image_url"
,
"overrides"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"hidden"
:
true
},
"properties"
:
{
"required"
:
false
}}},
{
"field"
:
"status"
,
"overrides"
:
{
"widget"
:
{
"hidden"
:
true
},
"properties"
:
{
"required"
:
false
}}},
{
"field"
:
"usage"
,
"overrides"
:
{
"widget"
:
{
"hidden"
:
true
},
"properties"
:
{
"required"
:
false
}}},
{
"field"
:
"timestamp"
,
"overrides"
:
{
"widget"
:
{
"hidden"
:
true
},
"properties"
:
{
"required"
:
false
}}},
{
"field"
:
"reference_release"
,
"overrides"
:
{
"widget"
:
{
"hidden"
:
true
},
"properties"
:
{
"required"
:
false
}}}
{
"field"
:
"source_reference"
,
"overrides"
:
{
"properties"
:
{
"editable"
:
false
}}}
]
},
{
...
...
data/service_overview.json
View file @
e15b1500
...
...
@@ -2,9 +2,10 @@
"portal_type_source"
:
"Hosting Subscription"
,
"portal_type_title"
:
"service"
,
"portal_type_fields"
:
"service_fieldlist"
,
"portal_type_mapper"
:
"subscriptions"
,
"initial_query"
:
{
"include_docs"
:
true
,
"limit"
:[
0
,
16
]},
"form"
:
true
,
"view"
:
"
FOO
"
,
"view"
:
"
web_view
"
,
"property_dict"
:
{
"initial_query_url_identifier"
:
"reference_computer"
,
"dynamic_children"
:
[
1
],
...
...
data/service_statusbox.json
View file @
e15b1500
...
...
@@ -2,6 +2,8 @@
"portal_type_source"
:
"Hosting Subscription"
,
"portal_type_title"
:
"service"
,
"portal_type_fields"
:
"service_fieldlist"
,
"portal_type_mapper"
:
"subscription_details"
,
"initial_query"
:
{
"limit"
:
[
0
,
8
]},
"form"
:
true
,
"view"
:
"web_view"
,
"property_dict"
:
{
...
...
@@ -13,6 +15,15 @@
"slot"
:
1
,
"text"
:
"Installations"
,
"text_i18n"
:
"portal_type_dict.service_dict.text_dict.installations"
},
"pagination"
:
{
"slot"
:
2
,
"option_list"
:
[
{
"value"
:
"8"
,
"text"
:
"8"
,
"text_i18n"
:
"portal_type_dict.service_dict.text_dict.8"
},
{
"value"
:
"16"
,
"text"
:
"16"
,
"text_i18n"
:
"portal_type_dict.service_dict.text_dict.16"
},
{
"value"
:
"32"
,
"text"
:
"32"
,
"text_i18n"
:
"portal_type_dict.service_dict.text_dict.32"
},
{
"value"
:
"64"
,
"text"
:
"64"
,
"text_i18n"
:
"portal_type_dict.service_dict.text_dict.64"
}
]
}
},
"scheme"
:
[
...
...
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