Skip to content
Snippets Groups Projects
Commit 3cdd40fa authored by Alice Poggioli's avatar Alice Poggioli
Browse files

WIP: Entrepreneur dashboard : profil detail and édit.

parent a3fde5da
No related branches found
No related tags found
1 merge request!29Feature/entrepreneur account
......@@ -27,4 +27,4 @@ sib-router(default-route='account-creation-index')
include mentor/profile/create.pug
#entrepreneur-new-account(hidden).no-sidebar.container
include entrepreneur/create.pug
include entrepreneur/profile/create.pug
sib-router(default-route='entrepreneur-resource-list')
sib-route(name='entrepreneur-resource-list')
sib-route(name='entrepreneur-account', id-prefix=`${endpoints.users}`, use-id)
sib-route(name='entrepreneur-account-edit', id-prefix=`${endpoints.users}`, use-id)
\ No newline at end of file
......@@ -8,10 +8,6 @@ header#header(role='banner')
section#home
div.container_min
h2.title_lead.fd_bleu International index of resources for cooperative mentors and entrepreneurs
button.button_dark.pull-right Watch the presentation
//TODO:
//-Distinguish the search form from the listing
//-Create two Sib-displays getting the resources by "types"
......@@ -36,5 +32,8 @@ section#home
p.flex
sib-link(next='entrepreneur-resource-list', class='button_base') Ok
#entrepreneur-account(hidden)
h2 account
#entrepreneur-account(hidden).no-sidebar.container
include profile/detail.pug
#entrepreneur-account-edit(hidden).no-sidebar.container
include profile/edit.pug
include ../components/widgets
include ../../components/widgets
figure.logo
img(src="../images/logo.png"
......
include ../../components/widgets
div.container_min
h2.title_lead.fd_bleu My Account
div.block_list.flex
div.button__actions.w_25
div.request__newrequest
sib-link(next='entrepreneur-request-create')
div
div.button_base.ico_gauche.ico_plus Post a new Request
div.dashboard__database
sib-link(next='entrepreneur-database')
div.button_base.ico_gauche.ico_database Browse database
div.dashboard__database
sib-link(next='entrepreneur-resource-list')
div.button_base.ico_gauche.ico_search Back to dashboard
div.dashboard__database
div#logout-button.button_base(
role='log out'
) Logout
div.profile_information.block_log.w_75
sib-link(next='entrepreneur-account-edit')
div.button_base.ico_gauche.ico_search Edit
sib-display(
bind-user
fields='name, entrepreneur_profile.organisation, registered_on'
widget-name='cs-display-property'
widget-entrepreneur_profile.registered_on='cs-display-property'
)
sib-display(
bind-user
fields='email'
label-email='Email:'
class-email="contact_profil"
widget-email='cs-display-resource-property'
)
\ No newline at end of file
include ../../components/widgets
h2.title_create Edit you account
sib-form.block_log.block_creat_count(
bind-user
fields="last_name, first_name, username, email, entrepreneur_profile.organisation, entrepreneur_profile.phone"
range-entrepreneur_profile.organisation=`${endpoints.organisations}`
label-first_name="Surname"
label-last_name="Name"
label-username="Username"
label-entrepreneur_profile.organisation="Organisation"
label-entrepreneur_profile.phone="Phone number"
widget-username="sib-form-hidden"
class-last_name='form-label is-dark input_big'
class-first_name='form-label is-dark input_big'
class-email='form-label is-dark input_big'
class-entrepreneur_profile.phone='form-label is-dark input_big'
class-entrepreneur_profile.organisation='form-label is-dark input_big'
multiple-entrepreneur_profile.organisation='sib-multiple-select'
widget-entrepreneur_profile.organisation='sib-form-auto-completion'
range-mentor_profile.organisation=`${endpoints.organisations}`
submit-button="Save modifications"
next='entrepreneur-dashboard'
)
\ No newline at end of file
include ../../components/widgets
div.container_min
h2.title_lead.fd_bleu International index of resources for cooperative mentors and entrepreneurs
button.button_dark.pull-right Watch the presentation
h2.title_form Search for a resource
//-Question :
......
mentor-account-editinclude ../components/widgets
include ../../components/widgets
div.container_min
h2.title_lead.fd_bleu My Account
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment