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
c4e101c2
Commit
c4e101c2
authored
Jan 16, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add gadgets for instance detail page
parent
eb88c798
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
95 additions
and
0 deletions
+95
-0
data/instance_configuration.json
data/instance_configuration.json
+45
-0
data/instance_connection.json
data/instance_connection.json
+50
-0
No files found.
data/instance_configuration.json
0 → 100644
View file @
c4e101c2
{
"portal_type_source"
:
"Hosting Subscription"
,
"portal_type_title"
:
"service"
,
"portal_type_fields"
:
"service_fieldlist"
,
"form"
:
true
,
"view"
:
"web_view"
,
"property_dict"
:
{
"initial_query_url_identifier"
:
"_id"
,
"dynamic_children"
:
[
0
],
"requires_authentication"
:
true
,
"depends_on"
:
"login_state"
},
"scheme"
:
[
{
"position"
:
"left"
,
"fieldlist"
:
[
{
"field"
:
"reference"
,
"overrides"
:
{
"properties"
:
{
"editable"
:
false
}}},
{
"field"
:
"title"
,
"overrides"
:
{
"properties"
:
{
"editable"
:
false
}}},
{
"field"
:
"source_reference"
,
"overrides"
:
{
"properties"
:
{
"editable"
:
false
}}},
{
"field"
:
"status"
,
"overrides"
:
{
"properties"
:
{
"editable"
:
false
}}}
]
},
{
"position"
:
"center"
,
"fieldlist"
:
[
{
"type"
:
"a"
,
"direct"
:
{},
"attributes"
:
{
"data-external"
:
true
},
"logic"
:{
"setters"
:
[
"href"
,
"text"
],
"setValue"
:
"url_string"
}},
{
"field"
:
"text_content"
,
"overrides"
:
{
"widget"
:
{
"title"
:
"Instance XML Recipe"
,
"title_i18n"
:
"portal_type_dict.service_dict.text_dict.recipe"
}}}
]
}
],
"children"
:
[
{
"generate"
:
"widget"
,
"type"
:
"form"
,
"class_list"
:
"responsive"
,
"property_dict"
:
{
"editable"
:
true
,
"secure"
:
"default"
,
"secret_hash"
:
"foo"
,
"public_key"
:
"6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children"
:
[]
}
]
}
data/instance_connection.json
0 → 100644
View file @
c4e101c2
{
"portal_type_source"
:
"Hosting Subscription"
,
"portal_type_title"
:
"service"
,
"portal_type_fields"
:
"service_fieldlist"
,
"portal_type_mapper"
:
"subscriptions"
,
"form"
:
true
,
"view"
:
"web_view"
,
"property_dict"
:
{
"initial_query_url_identifier"
:
"_id"
,
"dynamic_children"
:
[
1
],
"wrap_gadget"
:
2
,
"caption"
:
{
"slot"
:
1
,
"text"
:
"Connection parameters"
,
"text_i18n"
:
"portal_type_dict.service_dict.text_dict.connection_param"
}
},
"scheme"
:
[
{
"position"
:
"header"
,
"fieldlist"
:
[
{
"field"
:
"connection_url"
,
"show"
:
true
,
"priority"
:
1
},
{
"field"
:
"connection_backend_url"
,
"show"
:
true
,
"priority"
:
2
},
{
"field"
:
"connection_password"
,
"show"
:
true
,
"priority"
:
6
}
]
},
{
"position"
:
"body"
,
"fieldlist"
:
[
{
"field"
:
"connection_url"
,
"show"
:
true
,
"priority"
:
1
},
{
"field"
:
"connection_backend_url"
,
"show"
:
true
,
"priority"
:
2
},
{
"field"
:
"connection_password"
,
"show"
:
true
,
"priority"
:
6
}
]
}
],
"children"
:
[{
"generate"
:
"widget"
,
"type"
:
"table"
,
"class_list"
:
"table-stroke ui-responsive"
,
"property_dict"
:
{
"mode"
:
"columntoggle"
,
"toggle_popup"
:
false
,
"wrap"
:
"both"
,
"top_grid"
:
1
,
"bottom_grid"
:
1
},
"children"
:
[]
}
]
}
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