Skip to content
Snippets Groups Projects
Commit b88e4936 authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

Merge branch 'feature/entrepreneur-dashboard' into 'master'

Feature/entrepreneur dashboard

See merge request startinblox/applications/coop-starter/coopstarter-front!22
parents 1a95269e 64dad8c2
No related branches found
No related tags found
1 merge request!22Feature/entrepreneur dashboard
.container
.flex.flex_espace.flex_item_center
sib-link(next='entrepreneur-resource-list')
figure.logo_head.margin_bord_ecran
img(src="../images/logo_head.png" alt="Coopstarter")
include menu.pug
div.flex.flex_espace.flex_item_center
sib-form(
data-src=`${endpoints.languages}`
fields='languages'
range-languages=`${endpoints.languages}`
widget-languages='sib-form-dropdown'
selected-languages=`${endpoints.languages}/1/`
label-languages=''
naked
)
input.ico_droite.ico_search
sib-link(next='entrepreneur-account')
sib-display#user-account-picture(
bind-user
fields='account.picture',
widget-account.picture='cs-account-picture'
)
\ No newline at end of file
sib-router(default-route='entrepreneur-resource-list')
sib-route(name='entrepreneur-resource-list')
sib-route(name='entrepreneur-account', id-prefix=`${endpoints.users}`, use-id)
\ No newline at end of file
......@@ -4,9 +4,10 @@
// Like and comment
header#header(role='banner')
include components/header.pug
include ./components/header.pug
section#home
h1 Mentorship program
p International index of resources for cooperative mentors and entrepreneurs
......@@ -18,5 +19,16 @@ section#home
// From two different endpoints I guess
//-Work on the page architecture
#entrepreneur-resource-list(hidden)
include resources/list.pug
\ No newline at end of file
//TODO : investigate why we have to remove hidden attribute to see this even if we are on the right route.
#entrepreneur-resource-list()
include ./resources/list.pug
sib-router
sib-route(name='entrepreneur-request-create')
dialog#entrepreneur-request-create.no-sidebar.container
include ./requests/create.pug
#entrepreneur-account(hidden)
h2 account
p That's work
sib-link(class="backlink", next="entrepreneur-resource-list") Back to the dashboard
\ No newline at end of file
include ../../components/widgets
p: a Watch a video presentation
h2 Search for a resource
......@@ -5,14 +7,21 @@ h2 Search for a resource
#circles
sib-display#circles-list(
data-src=`${endpoints.resources}`,
fields='content(title, description), format, info(author, publication_year, language.name), steps',
search-fields='title, description, format',
fields='name, description, format, info(author, publication_year, language.name), steps',
search-fields='name, description, format',
widget-format='cs-resource-format-name',
multiple-format,
widget-steps='cs-resource-format-name',
multiple-steps,
group-by='steps'
paginate-by="1"
next='detail'
)
\ No newline at end of file
)
div.side-block
p Can't find the ressource you need ?
div.button__actions
sib-link(next='entrepreneur-request-create')
div
div.button_base.ico_gauche.ico_plus Make a request
\ No newline at end of file
......@@ -33,9 +33,9 @@ section#home
sib-link(class="backlink", next="mentor-resource-list") Back to the dashboard
include resources/detail.pug
#mentor-database
#mentor-database(hidden)
sib-link(class="backlink", next="mentor-resource-list") Back to the dashboard
include ../entrepreneur/dashboard.pug
include resources/list.pug
#mentor-account(hidden).no-sidebar.container
include profile.pug
......@@ -881,8 +881,4 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/
b, strong {
font-weight: bolder;
}
div{
}
\ No newline at end of file
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