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
1fe71353
Commit
1fe71353
authored
Apr 15, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data: removed unneeded files
parent
5ef2a12e
Changes
12
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
0 additions
and
3008 deletions
+0
-3008
data/category_fieldlist.json
data/category_fieldlist.json
+0
-248
data/category_sample.json
data/category_sample.json
+0
-632
data/person_view.json
data/person_view.json
+0
-70
data/product_fieldlist.json
data/product_fieldlist.json
+0
-753
data/product_individual_variation_fieldlist.json
data/product_individual_variation_fieldlist.json
+0
-247
data/product_individual_variation_sample.json
data/product_individual_variation_sample.json
+0
-397
data/product_sample.json
data/product_sample.json
+0
-402
data/sales_order_sample.json
data/sales_order_sample.json
+0
-0
data/ui_panel_detail_search.json
data/ui_panel_detail_search.json
+0
-114
data/ui_panel_groups.json
data/ui_panel_groups.json
+0
-51
data/ui_panel_sales.json
data/ui_panel_sales.json
+0
-54
data/ui_panel_sort.json
data/ui_panel_sort.json
+0
-40
No files found.
data/category_fieldlist.json
deleted
100644 → 0
View file @
5ef2a12e
{
"_id"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"_id"
,
"title"
:
"Id"
,
"title_i18n"
:
"portal_type_dict.category_dict.field_dict._id.title"
,
"description"
:
"The id of this title."
,
"description_i18n"
:
"portal_type_dict.category_dict.field_dict._id.description"
,
"alternate_name"
:
"_id"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"display_width"
:
30
,
"maximum_input"
:
null
,
"extra"
:
{}
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
false
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input given."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"title"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"title"
,
"title"
:
"Title"
,
"title_i18n"
:
"portal_type_dict.category_dict.field_dict.title.title"
,
"description"
:
"The title of this category."
,
"description_i18n"
:
"portal_type_dict.category_dict.field_dict.title.description"
,
"alternate_name"
:
"title"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"display_width"
:
30
,
"maximum_input"
:
null
,
"extra"
:
{}
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input given."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"title_i18n"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"title_i18n"
,
"title"
:
"Translation Pointer"
,
"title_i18n"
:
"portal_type_dict.category_dict.field_dict.translation.title"
,
"description"
:
"The translation lookup value of this category."
,
"description_i18n"
:
"portal_type_dict.category_dict.field_dict.translation.description"
,
"alternate_name"
:
"title_i18n"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"display_width"
:
30
,
"maximum_input"
:
null
,
"extra"
:
{}
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input given."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"reference"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"reference"
,
"title"
:
"Reference"
,
"title_i18n"
:
"portal_type_dict.category_dict.field_dict.reference.title"
,
"description"
:
"The reference (type) of this category."
,
"description_i18n"
:
"portal_type_dict.category_dict.field_dict.reference.description"
,
"alternate_name"
:
"reference"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"display_width"
:
30
,
"maximum_input"
:
null
,
"extra"
:
{}
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input given."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"sub_category_list"
:
{
"type"
:
"ListField"
,
"widget"
:
{
"id"
:
"sub_category_list"
,
"title"
:
"Child Category List"
,
"title_i18n"
:
"portal_type_dict.computer_dict.field_dict.sub_category_list.title"
,
"description"
:
"The subcategories associated with this category."
,
"description_i18n"
:
"portal_type_dict.computer_dict.field_dict.sub_category_list.description"
,
"alternate_name"
:
"sub_category_list"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"size"
:
1
,
"items"
:
null
,
"select_first_item"
:
true
,
"extra_per_item"
:
null
,
"extra"
:
null
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
null
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"unknown_selection"
:
{
"message"
:
"You selected on option not on the menu"
,
"i18n"
:
"validation_dict.option_not_available"
}
}
},
"parent_category_list"
:
{
"type"
:
"ListField"
,
"widget"
:
{
"id"
:
"parent_category_list"
,
"title"
:
"Parent Category List"
,
"title_i18n"
:
"portal_type_dict.computer_dict.field_dict.parent_category_list.title"
,
"description"
:
"The parent categories associated with this category."
,
"description_i18n"
:
"portal_type_dict.computer_dict.field_dict.parent_category_list.description"
,
"alternate_name"
:
"parent_category_list"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"size"
:
1
,
"items"
:
null
,
"select_first_item"
:
true
,
"extra_per_item"
:
null
,
"extra"
:
null
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
null
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"unknown_selection"
:
{
"message"
:
"You selected on option not on the menu"
,
"i18n"
:
"validation_dict.option_not_available"
}
}
}
}
\ No newline at end of file
data/category_sample.json
deleted
100644 → 0
View file @
5ef2a12e
This diff is collapsed.
Click to expand it.
data/person_view.json
deleted
100644 → 0
View file @
5ef2a12e
{
"portal_type_source"
:
"Person"
,
"portal_type_title"
:
"person"
,
"portal_type_fields"
:
"person_fieldlist"
,
"initial_query"
:
{
"include_docs"
:
true
,
"limit"
:[
0
,
1
]},
"view"
:
"web_view"
,
"property_dict"
:
{
"initial_query_url_identifier"
:
"_id"
,
"no_items"
:
{
"message"
:
"No person found"
,
"message_i18n"
:
"portal_type_dict.person_dict.text_dict.nodata"
,
"children"
:
[
{
"href"
:
"#person_module/new"
,
"text"
:
"Create person"
,
"text_i18n"
:
"page_dict.person.create"
,
"class_list"
:
"translate ui-btn-slapos-black"
,
"icon"
:
"edit"
}
]
}
},
"scheme"
:
[
{
"position"
:
"left"
,
"field_list"
:
[
{
"field"
:
"gender"
},
{
"field"
:
"first_name"
},
{
"field"
:
"last_name"
},
{
"field"
:
"default_email_text"
},
{
"field"
:
"default_telephone_text"
},
{
"field"
:
"default_fax_text"
}
]
},
{
"position"
:
"right"
,
"field_list"
:
[
{
"field"
:
"default_address_street_address"
},
{
"field"
:
"default_address_city"
},
{
"field"
:
"default_address_zip_code"
},
{
"field"
:
"default_address_region"
},
{
"field"
:
"nationality"
}
]
}
],
"children"
:
[{
"generate"
:
"widget"
,
"type"
:
"form"
,
"property_dict"
:
{
"class_list"
:
"responsive"
,
"dynamic"
:
true
,
"map_children"
:
"formItem"
,
"editable"
:
true
,
"secure"
:
"default"
,
"secret_hash"
:
"foo"
,
"public_key"
:
"6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children"
:
[{
"generate"
:
"widget"
,
"type"
:
"controlgroup"
,
"property_dict"
:
{
"class_list"
:
"center"
,
"direction"
:
"horizontal"
},
"children"
:
[
{
"type"
:
"input"
,
"direct"
:
{
"value"
:
"Update My Credentials"
,
"className"
:
"action translate"
},
"attributes"
:
{
"type"
:
"submit"
,
"data-action"
:
"update"
,
"data-i18n"
:
"[value]portal_type_dict.person_dict.text_dict.submit"
,
"data-theme"
:
"slapos-black"
}}
]
}]
}
]
}
data/product_fieldlist.json
deleted
100644 → 0
View file @
5ef2a12e
This diff is collapsed.
Click to expand it.
data/product_individual_variation_fieldlist.json
deleted
100644 → 0
View file @
5ef2a12e
{
"_id"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"_id"
,
"title"
:
"Id"
,
"title_i18n"
:
"portal_type_dict.product_individual_variation.field_dict._id.title"
,
"description"
:
"The id of this product variation."
,
"description_i18n"
:
"portal_type_dict.product_individual_variation.field_dict._id.description"
,
"alternate_name"
:
"_id"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"display_width"
:
30
,
"maximum_input"
:
null
,
"extra"
:
{}
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
false
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input given."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"title"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"title"
,
"title"
:
"Title"
,
"title_i18n"
:
"portal_type_dict.product_individual_variation.field_dict.title.title"
,
"description"
:
"The title of this product variation."
,
"description_i18n"
:
"portal_type_dict.product_individual_variation.field_dict.title.description"
,
"alternate_name"
:
"title"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"display_width"
:
30
,
"maximum_input"
:
null
,
"extra"
:
{}
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input given."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"title_i18n"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"title_i18n"
,
"title"
:
"Translation Pointer"
,
"title_i18n"
:
"portal_type_dict.product_individual_variation.field_dict.title_i18n.title"
,
"description"
:
"The translation lookup value of this product variation."
,
"description_i18n"
:
"portal_type_dict.product_individual_variation.field_dict.title_i18n.description"
,
"alternate_name"
:
"title_i18n"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"display_width"
:
30
,
"maximum_input"
:
null
,
"extra"
:
{}
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input given."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"reference"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"reference"
,
"title"
:
"Translation Pointer"
,
"title_i18n"
:
"portal_type_dict.product_individual_variation.field_dict.reference.title"
,
"description"
:
"The translation lookup value of this product variation."
,
"description_i18n"
:
"portal_type_dict.product_individual_variation.field_dict.reference.description"
,
"alternate_name"
:
"reference"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"display_width"
:
30
,
"maximum_input"
:
null
,
"extra"
:
{}
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input given."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"variation_name"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"variation_name"
,
"title"
:
"Translation Pointer"
,
"title_i18n"
:
"portal_type_dict.product_individual_variation.field_dict.variation_name.title"
,
"description"
:
"The name of this product variation."
,
"description_i18n"
:
"portal_type_dict.product_individual_variation.field_dict.variation_name.description"
,
"alternate_name"
:
"variation_name"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"display_width"
:
30
,
"maximum_input"
:
null
,
"extra"
:
{}
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
null
,
"truncate"
:
null
},
"messages"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input is required but no input given."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input given."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"image_list"
:
{
"type"
:
"MultiListField"
,
"widget"
:
{
"id"
:
"image_list"
,
"title"
:
"Activites"
,
"title_i18n"
:
"portal_type_dict.person_dict.field_dict.image_list.title"
,
"description"
:
"Activities associated with this person."
,
"description_i18n"
:
"portal_type_dict.person_dict.field_dict.image_list.description"
,
"alternate_name"
:
"image_list"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"items"
:
null
,
"size"
:
null
,
"view_separator"
:
null
,
"extra"
:
null
,
"extra_per_item"
:
null
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
null
,
"unicode"
:
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"
},
"unknown_selection"
:
{
"message"
:
"You selected an item that was not in the list."
,
"i18n"
:
"validation_dict.unknown_selection"
}
}
}
}
\ No newline at end of file
data/product_individual_variation_sample.json
deleted
100644 → 0
View file @
5ef2a12e
This diff is collapsed.
Click to expand it.
data/product_sample.json
deleted
100644 → 0
View file @
5ef2a12e
This diff is collapsed.
Click to expand it.
data/sales_order_sample.json
deleted
100644 → 0
View file @
5ef2a12e
data/ui_panel_detail_search.json
deleted
100644 → 0
View file @
5ef2a12e
{
"property_dict"
:
{},
"children"
:
[
{
"generate"
:
"widget"
,
"type"
:
"header"
,
"property_dict"
:
{
"id"
:
"search-header"
,
"theme"
:
"slapos-black"
,
"add_content"
:
0
,
"section_list"
:[
"last"
],
"title"
:
"Personalize"
,
"title_i18n"
:
"global_dict.detail_search"
},
"children"
:[{
"type"
:
"a"
,
"direct"
:
{
"href"
:
"#"
,
"className"
:
"ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"logic"
:
{
"text"
:
"Close"
}
}]
},
{
"generate"
:
"widget"
,
"type"
:
"collapsible"
,
"property_dict"
:
{
"text"
:
"Brands"
,
"text_i18n"
:
"global_dict.brands"
,
"title"
:
"Click to open and select brands"
,
"title_i18n"
:
"global_dict.click_brands"
,
"collapsed_icon"
:
"caret-down"
,
"expanded_icon"
:
"caret-up"
},
"children"
:
[{
"type"
:
"input"
,
"direct"
:
{
"id"
:
"select_brand"
,
"className"
:
"translate"
},
"attributes"
:
{
"data-enhanced"
:
"true"
,
"data-inset"
:
false
,
"data-i18n"
:
"[placeholder]global_dict.filter"
,
"placeholder"
:
"Filter"
,
"data-icon"
:
"search"
,
"data-action-btn"
:
"true"
,
"data-type"
:
"search"
,
"type"
:
"search"
},
"logic"
:{
"clear"
:
"true"
,
"action"
:
"search"
,
"add_label"
:
false
}
},
{
"portal_type_source"
:
"Portal Category"
,
"portal_type_title"
:
"category"
,
"initial_query"
:
{
"query"
:
"reference: 'sub_websection'"
,
"include_docs"
:
true
,
"select_list"
:
[
"title"
,
"title_i18n"
]},
"property_dict"
:
{
"check"
:
true
},
"scheme"
:
[
{
"position"
:
"center"
,
"field_list"
:
[
{
"field"
:
"title"
}
]
}
],
"children"
:
[{
"generate"
:
"widget"
,
"type"
:
"listview"
,
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
,
"filter"
:
true
,
"input"
:
"#select_brand"
,
"dynamic"
:
true
},
"children"
:
[]
}]
}]
},
{
"generate"
:
"widget"
,
"type"
:
"collapsible"
,
"property_dict"
:
{
"text"
:
"Categories"
,
"text_i18n"
:
"global_dict.categories"
,
"title"
:
"Click to open and select categories"
,
"title_i18n"
:
"global_dict.click_categories"
,
"collapsed_icon"
:
"caret-down"
,
"expanded_icon"
:
"caret-up"
},
"children"
:
[{
"type"
:
"input"
,
"direct"
:
{
"id"
:
"select_category"
,
"className"
:
"translate"
},
"attributes"
:
{
"data-enhanced"
:
"true"
,
"data-inset"
:
false
,
"data-i18n"
:
"[placeholder]global_dict.filter"
,
"placeholder"
:
"Filter"
,
"data-icon"
:
"search"
,
"data-action-btn"
:
"true"
,
"data-type"
:
"search"
,
"type"
:
"search"
},
"logic"
:{
"clear"
:
"true"
,
"action"
:
"search"
,
"add_label"
:
false
}
},
{
"portal_type_source"
:
"Portal Category"
,
"portal_type_title"
:
"category"
,
"initial_query"
:
{
"query"
:
"reference: 'product_category'"
,
"include_docs"
:
true
,
"select_list"
:
[
"title"
,
"title_i18n"
]},
"property_dict"
:
{
"check"
:
true
},
"scheme"
:
[
{
"position"
:
"center"
,
"field_list"
:
[
{
"field"
:
"title"
}
]
}
],
"children"
:
[{
"generate"
:
"widget"
,
"type"
:
"listview"
,
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
,
"filter"
:
true
,
"input"
:
"#select_category"
,
"dynamic"
:
true
},
"children"
:
[]
}]
}
]
}
]
}
\ No newline at end of file
data/ui_panel_groups.json
deleted
100644 → 0
View file @
5ef2a12e
{
"children"
:[
{
"generate"
:
"widget"
,
"type"
:
"header"
,
"property_dict"
:
{
"id"
:
"search-header"
,
"theme"
:
"slapos-black"
,
"add_content"
:
0
,
"section_list"
:[
"last"
],
"title"
:
"Categories"
,
"title_i18n"
:
"global_dict.categories"
},
"children"
:[{
"type"
:
"a"
,
"direct"
:
{
"href"
:
"#"
,
"className"
:
"ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"logic"
:
{
"text"
:
"Close"
}
}]
},
{
"portal_type_source"
:
"Portal Category"
,
"portal_type_title"
:
"category"
,
"initial_query"
:
{
"query"
:
"reference: 'product_group'"
,
"include_docs"
:
true
,
"select_list"
:
[
"title"
,
"title_i18n"
]},
"property_dict"
:
{
"check"
:
true
},
"scheme"
:
[
{
"position"
:
"center"
,
"field_list"
:
[
{
"field"
:
"title"
}
]
}
],
"children"
:
[{
"generate"
:
"widget"
,
"type"
:
"listview"
,
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
,
"dynamic"
:
true
},
"children"
:
[]
}]
}
]
}
\ No newline at end of file
data/ui_panel_sales.json
deleted
100644 → 0
View file @
5ef2a12e
{
"property_dict"
:
{},
"children"
:
[
{
"generate"
:
"widget"
,
"type"
:
"header"
,
"property_dict"
:
{
"id"
:
"search-header"
,
"theme"
:
"slapos-black"
,
"add_content"
:
0
,
"section_list"
:[
"last"
],
"title"
:
"Sales & Deals"
,
"title_i18n"
:
"global_dict.deals"
},
"children"
:[{
"type"
:
"a"
,
"direct"
:
{
"href"
:
"#"
,
"className"
:
"ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"attributes"
:
{
"data-enhanced"
:
true
,
"data-rel"
:
"close"
},
"logic"
:
{
"text"
:
"Close"
}
}]
},
{
"generate"
:
"widget"
,
"type"
:
"collapsible"
,
"property_dict"
:
{
"text"
:
"Sales and Deals"
,
"text_i18n"
:
"global_dict.deals"
,
"title"
:
"Click to open and select sales and deals"
,
"title_i18n"
:
"global_dict.click_deals"
,
"collapsed_icon"
:
"caret-down"
,
"expanded_icon"
:
"caret-up"
},
"children"
:
[
{
"generate"
:
"widget"
,
"type"
:
"listview"
,
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
},
"children"
:
[
{
"type"
:
"item"
,
"href"
:
"#products/sales"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Sales"
,
"text_i18n"
:
"global_dict.sales"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/new"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"New Items"
,
"text_i18n"
:
"global_dict.new"
}]},
"right"
:
{
"check"
:
true
}}
]
}
]
}
]
}
\ No newline at end of file
data/ui_panel_sort.json
deleted
100644 → 0
View file @
5ef2a12e
{
"property_dict"
:
{},
"children"
:[{
"generate"
:
"widget"
,
"type"
:
"header"
,
"property_dict"
:
{
"id"
:
"search-header"
,
"theme"
:
"slapos-black"
,
"add_content"
:
0
,
"section_list"
:[
"last"
],
"title"
:
"Sort by"
,
"title_i18n"
:
"global_dict.sort"
},
"children"
:[{
"type"
:
"a"
,
"direct"
:
{
"href"
:
"#"
,
"className"
:
"ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"attributes"
:
{
"data-enhanced"
:
true
,
"data-rel"
:
"close"
},
"logic"
:
{
"text"
:
"Close"
}
}]
},
{
"generate"
:
"widget"
,
"type"
:
"listview"
,
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
},
"children"
:
[
{
"type"
:
"item"
,
"href"
:
"#product_module::sort=date_created,descending"
,
"center"
:
[{
"type"
:
"h1"
,
"text"
:
"Newest Items"
,
"text_i18n"
:
"global_dict.latest"
}]},
{
"type"
:
"item"
,
"href"
:
"#product_module::sort=price,descending"
,
"center"
:
[{
"type"
:
"h1"
,
"text"
:
"Lowest Price"
,
"text_i18n"
:
"global_dict.lowest"
}]},
{
"type"
:
"item"
,
"href"
:
"#product_module::sort=price,ascending"
,
"center"
:
[{
"type"
:
"h1"
,
"text"
:
"Highest Price"
,
"text_i18n"
:
"global_dict.highest"
}]}
]
}
]
}
\ No newline at end of file
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