update: clear unused and fixes CSS

This commit is contained in:
Gaëlle Morin
2020-04-02 16:09:23 +00:00
committed by Jean-Baptiste Pasquier
parent d2c8226048
commit 6c8224c0f2
35 changed files with 358 additions and 633 deletions

View File

@ -1,11 +1,9 @@
div.content-box__info
sib-link(class="backlink", next='admin-circle-list') Back
sib-link(class="backlink right", next='admin-circle-list') Back
h1.centered New circle
p.center Here you can create a new circle according to your interests, what you want to share, etc.
sib-form.block(
sib-form(
data-src=`${endpoints.circles || endpoints.post.circles}`
fields='name, description'

View File

@ -4,8 +4,8 @@
sib-route(name='admin-circle-create')
sib-route(name='circle-left')
div.content-box__header.with-description
h1.title-left.without-margin Administration
div.content-box__header
h1.without-margin Administration
#circle-left(hidden)
@ -17,10 +17,14 @@
sib-widget(name='circle-owner')
template
sib-display(
sib-display.user-thumb(
data-src='${await value}'
fields='account.picture, sup(name), sub(username)'
class-account.picture='user-thumb__picture'
class-name='user-thumb__name'
class-username='user-thumb__username'
widget-account.picture='hd-user-avatar'
)

View File

@ -3,7 +3,7 @@ sib-widget(name='hd-template-project-title')
p ${value}
div.content-box__info
sib-link(class="backlink" next='admin-project-list') Back
sib-link(class="backlink right" next='admin-project-list') Back
sib-widget(name="admin-project-add-user")
template
@ -18,7 +18,7 @@ div.content-box__info
h1.centered New project
sib-form.block(
sib-form(
data-src=`${endpoints.projects || endpoints.post.projects}`
fields='line-1(customer, name), line-3(project.description), fieldset-fee, line-4(businessProvider.name, businessProvider.fee), fieldset-captain, line-10(captain)'

View File

@ -4,8 +4,8 @@
sib-route(name='admin-project-create')
sib-route(name='project-left')
div.content-box__header.with-description
h1.title-left.without-margin Administration
div.content-box__header
h1.without-margin Administration
#project-left(hidden)
include ../project/page-project-left.pug
@ -38,10 +38,14 @@
sib-widget(name='project-captain')
template
sib-display(
sib-display.user-thumb(
data-src='${await value}'
fields='account.picture, sup(name), sub(username)'
class-account.picture='user-thumb__picture'
class-name='user-thumb__name'
class-username='user-thumb__username'
widget-account.picture='hd-user-avatar'
)

View File

@ -8,7 +8,7 @@
#admin-users-list(hidden)
div.content-box__info
sib-display.block(
sib-display(
data-src=`${endpoints.users || endpoints.get.users}`
fields="account.picture, name, username, email, groups"
multiple-groups=""

View File

@ -7,11 +7,16 @@ div.content-box__info
sib-widget(name='team-template-edit')
template
sib-display(
class='w50 cell border cell-with-id-card'
sib-display.user-thumb(
class='w50 cell border cell-with-id-card user-thumb'
data-src='${await value.user}'
fields='account.picture, sup(name, groups), sub(profile.city)'
class-account.picture='user-thumb__picture'
class-name='user-thumb__name'
class-groups='user-thumb__groups'
class-profile.city='user-thumb__city'
widget-account.picture='hd-user-avatar'
multiple-groups=''
@ -36,12 +41,12 @@ div.content-box__info
data-src="${value['@id']}"
)
sib-link(class="backlink", bind-resources, next='circle-profile') Back
sib-link(class="backlink right", bind-resources, next='circle-profile') Back
sib-ac-checker(permission='acl:Write', bind-resources)
h1 Edit your circle
sib-form.block.form-edit(
sib-form.form-edit(
bind-resources
fields='block-circle__info(name, owner), description'

View File

@ -1,32 +1,19 @@
.content-box.with-padding.with-form
h1 Post a new job offer
p.center This form allows you to share an offer to all members of the network.
sib-widget(name='title-text')
template
p Be clear and specific with the name of your offer. You can indicate which skill is important, the start date or the name of the client. Ex: "Looking for a plumber for planet Mars ASAP".
sib-widget(name='description-text')
template
p Be specific and exhaustive to avoid answering too many questions later. Indicate what is the best way to fill the offer, the prerequisites...'
sib-form.block(
sib-form(
data-src=`${endpoints.joboffers || endpoints.post.joboffers}`
range-skills=`${endpoints.skills || endpoints.get.skills}`
fields='title, title-text, description, description-text, skills, closingDate'
fields='title, description, skills, closingDate'
class-title='field form-label is-light is-expanded'
label-title='Title*'
widget-title-text='title-text'
class-description='field form-label is-light is-expanded'
label-description='Description*'
widget-description='sib-form-textarea'
widget-description-text='description-text'
class-skills='form-label is-dark'
label-skills='The required skills for this mission:*'
multiple-skills='sib-multiple-select'

View File

@ -1,7 +1,7 @@
.content-box.with-padding.with-form
h1 Edit your job offer
sib-form.block(
sib-form(
bind-resources
range-skills=`${endpoints.skills || endpoints.get.skills}`

View File

@ -6,11 +6,11 @@ div.content-box__info
template
label ${label}
sib-link(class='backlink', bind-resources, next='project-profile') Back
sib-link(class='backlink right', bind-resources, next='project-profile') Back
h1 Edit your project
sib-form.block.form-edit(
sib-form.form-edit(
bind-resources
fields='fieldset-info, block-project__info(customer, name, description), fieldset-fee, block-project__fee(businessProvider, businessProviderFee)'

View File

@ -55,7 +55,7 @@ sib-router(default-route='project-profile', hidden)
h2 Customer informations:
sib-display.block(
sib-display(
bind-resources
fields='customer'