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
ed406ac4
Commit
ed406ac4
authored
Apr 07, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data: moved panel contents into separate files
parent
3fe431c4
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
260 additions
and
238 deletions
+260
-238
data/global.json
data/global.json
+1
-238
data/ui_panel_categories.json
data/ui_panel_categories.json
+42
-0
data/ui_panel_detail_search.json
data/ui_panel_detail_search.json
+123
-0
data/ui_panel_sales.json
data/ui_panel_sales.json
+54
-0
data/ui_panel_sort.json
data/ui_panel_sort.json
+40
-0
No files found.
data/global.json
View file @
ed406ac4
This diff is collapsed.
Click to expand it.
data/ui_panel_categories.json
0 → 100644
View file @
ed406ac4
{
"property_dict"
:
{},
"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"
:
"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"
:
"#products/apparel"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Apparel"
,
"text_i18n"
:
"global_dict.apparel"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/accessories"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Accessories"
,
"text_i18n"
:
"global_dict.accessories"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/shoes"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Shoes"
,
"text_i18n"
:
"global_dict.shoes"
}]},
"right"
:
{
"check"
:
true
}},
{
"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_detail_search.json
0 → 100644
View file @
ed406ac4
{
"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"
:
"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"
:
"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
}
},
{
"generate"
:
"widget"
,
"type"
:
"listview"
,
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
,
"filter"
:
true
,
"input"
:
"#select_brand"
},
"children"
:
[
{
"type"
:
"item"
,
"href"
:
"#products/brands/color_block"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Color Block"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/emma_go"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Emma Go"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/kocca"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Kocca"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/petite_mandigote"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Petite Mandigote"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/stalactite"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Stalactite"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/star_mela"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Star Mela"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/stella_forest"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Stella Forest"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/eleven_paris"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Eleven Paris"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/hanka_in"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Hanka In"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/le_petite_francaise"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Le Petite Francaise"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/marie_sixtine"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Marie Sixtine"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/nan_et_nin"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Nan Et Nin"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/pieces"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Pieces"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/see_u_soon"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"See U Soon"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/suncoo"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Suncoo"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/theodora_gabrielli"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Theodora Gabrielli"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/vila"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Vila"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/vimoda"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Vimoda"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/brands/noe"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Noe"
}]},
"right"
:
{
"check"
:
true
}}
]
}
]
},
{
"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
}
},
{
"generate"
:
"widget"
,
"type"
:
"listview"
,
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
,
"filter"
:
true
,
"input"
:
"#select_category"
},
"children"
:
[
{
"type"
:
"item"
,
"href"
:
"#products/categories/suits"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Jumpsuits"
,
"text_i18n"
:
"global_dict.suits"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/sets"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Sets"
,
"text_i18n"
:
"global_dict.set"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/swimsuits"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Swimsuits"
,
"text_i18n"
:
"global_dict.swimsuit"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/dresses"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Dresses"
,
"text_i18n"
:
"global_dict.dress"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/jackets"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Jackets/Coats"
,
"text_i18n"
:
"global_dict.jacket_coat"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/knitwear"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Knitwear"
,
"text_i18n"
:
"global_dict.knitwear"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/shirts"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Shirts"
,
"text_i18n"
:
"global_dict.shirt"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/skirts"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Skirts"
,
"text_i18n"
:
"global_dict.skirt"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/tops"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Tops"
,
"text_i18n"
:
"global_dict.top"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/trousers"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Trousers"
,
"text_i18n"
:
"global_dict.trouser"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/tshirt"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"T-Shirts"
,
"text_i18n"
:
"global_dict.tshirt"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/belts"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Belts"
,
"text_i18n"
:
"global_dict.belt"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/scarves"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Scarves"
,
"text_i18n"
:
"global_dict.scarf"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/wallets"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Wallets"
,
"text_i18n"
:
"global_dict.wallet"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/hangbags"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Handbags"
,
"text_i18n"
:
"global_dict.sac"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/shoes"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Shoes"
,
"text_i18n"
:
"global_dict.shoes"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/jewellry"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Jewellry"
,
"text_i18n"
:
"global_dict.jewels"
}]},
"right"
:
{
"check"
:
true
}}
]
}
]
}
]
}
\ No newline at end of file
data/ui_panel_sales.json
0 → 100644
View file @
ed406ac4
{
"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"
:
"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
0 → 100644
View file @
ed406ac4
{
"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"
:
"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"
:
"#products/sort/latest"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Newest Items"
,
"text_i18n"
:
"global_dict.latest"
}]}},
{
"type"
:
"item"
,
"href"
:
"#products/sort/price_lowest"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Lowest Price"
,
"text_i18n"
:
"global_dict.lowest"
}]}},
{
"type"
:
"item"
,
"href"
:
"#products/sort/price_highest"
,
"center"
:
{
"text"
:
[{
"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