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
d93a00dc
Commit
d93a00dc
authored
Apr 23, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data: add cv page layouts
parent
32cd6568
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
2 deletions
+77
-2
data/cv_creation.json
data/cv_creation.json
+70
-0
data/cv_module.json
data/cv_module.json
+6
-1
data/cv_upload.json
data/cv_upload.json
+1
-1
No files found.
data/cv_creation.json
0 → 100644
View file @
d93a00dc
{
"portal_type_source"
:
"CV"
,
"portal_type_title"
:
"cv"
,
"initial_query"
:
{
"include_docs"
:
true
,
"limit"
:[
0
,
8
]},
"property_dict"
:
{
"initial_query_url_identifier"
:
"_id"
,
"allow_new"
:
true
,
"skip_total_records"
:
true
},
"scheme"
:
[{
"position"
:
"left"
,
"field_list"
:
[
{
"field"
:
"first_name"
},
{
"field"
:
"last_name"
},
{
"field"
:
"phone_number"
},
{
"field"
:
"email"
},
{
"type"
:
"hr"
,
"direct"
:
{
"className"
:
"ui-bar-active"
}},
{
"field"
:
"street_address"
},
{
"field"
:
"postal_code"
,
"overrides"
:
{
"widget"
:{
"css_class"
:
"left"
,
"title"
:
"Zip/City"
,
"title_i18n"
:
null
}}},
{
"field"
:
"city"
,
"overrides"
:
{
"widgt"
:
{
"css_class"
:
"right"
},
"label"
:
false
}},
{
"field"
:
"state"
},
{
"field"
:
"country"
},
{
"type"
:
"hr"
,
"direct"
:
{
"className"
:
"ui-bar-active"
}},
{
"field"
:
"nationality"
},
{
"field"
:
"date_of_birth"
}
]
},
{
"position"
:
"right"
,
"field_list"
:
[
{
"field"
:
"cv_title"
},
{
"field"
:
"cv_created"
,
"overrides"
:{
"widget"
:
{
"hidden"
:
true
}}},
{
"field"
:
"cv_photo_url"
,
"type"
:
"image"
}
]
},
{
"position"
:
"center"
,
"field_list"
:
[
{
"field"
:
"cv_personal_statement"
},
{
"field"
:
"cv_taglist"
},
{
"field"
:
"cv_techlist"
}
]
}
],
"children"
:
[{
"generate"
:
"widget"
,
"type"
:
"form"
,
"property_dict"
:
{
"class_list"
:
""
,
"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"
:
"Submit"
,
"className"
:
"action translate"
},
"attributes"
:
{
"type"
:
"submit"
,
"data-action"
:
"update"
,
"data-icon"
:
"save"
,
"data-i18n"
:
"[value]portal_type_dict.cv_dict.text_dict.save"
}
}]
}]
}]
}
data/cv_module.json
View file @
d93a00dc
...
...
@@ -34,7 +34,12 @@
"theme"
:
"slapos-white"
},
"view_dict"
:
{
"default"
:
[]
"default"
:
[{
"href"
:
"cv_creation"
}],
"new"
:
[{
"href"
:
"cv_creation"
}]
}
}
]
...
...
data/cv_upload.json
View file @
d93a00dc
...
...
@@ -57,7 +57,7 @@
"children"
:
[
{
"type"
:
"a"
,
"direct"
:
{
"className"
:
"ui-btn ui-btn-icon-right ui-icon-edit translate ui-btn-active"
,
"href"
:
"#cv_module/"
},
"direct"
:
{
"className"
:
"ui-btn ui-btn-icon-right ui-icon-edit translate ui-btn-active"
,
"href"
:
"#cv_module/
new
"
},
"attributes"
:
{
"data-i18n"
:
"portal_type_dict.cv_dict.text_dict.new_cv"
},
"logic"
:
{
"text"
:
"Create CV"
}
}
...
...
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