ui(general): MR!20 - Multiple changes for alpha

This commit is contained in:
Gaëlle Morin
2019-04-15 23:11:56 +02:00
parent f6cd936b66
commit 5bee6f4fd7
22 changed files with 284 additions and 116 deletions

View File

@ -0,0 +1,6 @@
sib-widget(name='template-business-provider')
template
ul
li #[span Happy Dev Paris:] 5%
li #[span Business provider:] ${value.name}, ${value.fee ? value.fee:0}%

View File

@ -13,7 +13,7 @@ sib-widget(name='customer-template')
div
h5 Contact:
ul
li(name='name') #[span ${value.firstName} ${value.lastName}], ${value.role}
li(name='email')
li(class='mdi-account-outline') #[span ${value.firstName} ${value.lastName}], ${value.role}
li(class='mdi-email-outline')
a(href='mailto:${value.email}') ${value.email}
li(name='phone') ${value.phone}
li(class='mdi-cellphone-iphone') ${value.phone}

View File

@ -0,0 +1,3 @@
sib-widget
template
sib-conversation(data-src="${value}", id-suffix="threads")

View File

@ -0,0 +1,8 @@
sib-widget(name='joboffers-filter')
template
select
option(name='Offers',disabled) Offers
option(selected,name='Current offers') Current offers
option(name='Expired offers') Expired offers
option(name='All offers') All offers
option(name='My offers') Only my offers

View File

@ -1,11 +1,12 @@
sib-widget(name='team-template')
template
sib-display(
data-src="${value.user.account['@id']}",
data-fields='picture',
widget-picture='sib-display-img'
data-src="${value.user['@id']}"
data-fields='account.picture',
widget-account.picture='sib-display-img'
)
div
div(name='user.thumb')
span ${value.user.name}
sib-display(
data-src="${value.user.groups['@id']}",
@ -14,3 +15,17 @@ sib-widget(name='team-template')
)
span ${value.name}
//-
include templates/template-groups.pug
sib-widget(name='team-template')
template
sib-display(
data-src="${value.user['@id']}",
data-fields='account.picture, name, groups',
widget-account.picture='sib-display-img',
widget-groups='groups-name',
multiple-groups
)
span ${value.name}