fix: new classes added to admin-project

This commit is contained in:
gaelle morin 2020-06-15 16:06:01 +02:00
parent d70fd6dac8
commit 54da12c7a3
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
2 changed files with 84 additions and 79 deletions

View File

@ -113,6 +113,10 @@
width: 280px;
}
.w230 {
width: 230px;
}
.w70 {
width: 70px;
}

View File

@ -22,12 +22,13 @@
next='admin-project-create'
) Créer un nouveau projet
.table-wrapper
.table
div.table-header.grey-color
div.w25 Nom
div.w25 Administrateurs
div.w25 Capitaines
div.w25 Rejoindre
div.w280 Nom
div.w280 Administrateurs
div.w280 Capitaines
div.w230 Rejoindre
sib-widget(name="hubl-admin-project-leave-button")
template
@ -76,10 +77,10 @@
nested-field="projects"
fields='project.name, project.members, project.captain, leaveButton'
class-project.name='w25 cell border cell-with-name'
class-project.members='w25 cell border'
class-project.captain='w25 cell border cell-with-id-card'
class-leaveButton='w25 cell border cell-with-buttons'
class-project.name='w280 cell border cell-with-name'
class-project.members='w280 cell border'
class-project.captain='w280 cell border cell-with-id-card'
class-leaveButton='w230 cell border cell-with-buttons'
action-leaveButton="joinButton"
widget-leaveButton="hubl-admin-project-leave-button"
@ -109,10 +110,10 @@
data-src=`${endpoints.projects || endpoints.get.projects}joinable/`
fields='name, members, captain, joinButton'
class-name='w25 cell border cell-with-name'
class-members='w25 cell border'
class-captain='w25 cell border cell-with-id-card'
class-joinButton='w25 cell border cell-with-buttons'
class-name='w280 cell border cell-with-name'
class-members='w280 cell border'
class-captain='w280 cell border cell-with-id-card'
class-joinButton='w230 cell border cell-with-buttons'
action-joinButton="joinButton" # Workaround: I need members two times
widget-joinButton="hubl-admin-project-join-button"