feature: removing unwanted content && personnalizing content for FNK needs

This commit is contained in:
maxime_senza 2020-05-30 10:08:18 +02:00
parent 424b8338ef
commit 62b781ed28
4 changed files with 27 additions and 5 deletions

View File

@ -1 +1,2 @@
@import 'project-profile'; @import 'project-profile';
@import 'project-create';

View File

@ -0,0 +1,11 @@
/*File made to personnalise upload button | Module will change from sib uploader to sib-images*/
#admin-project-create{
@supports(-webkit-appearance: none) or (-moz-appearance: none) {
input[type="file"]{
}
input[type="file"]:after{
}
}
}

View File

@ -16,12 +16,16 @@ div.content-box__info
naked naked
) )
h1.centered Créer un projet h1 Créer un nouveau projet
sib-form( sib-form(
data-src=`${endpoints.projects || endpoints.post.projects}` data-src=`${endpoints.projects || endpoints.post.projects}`
fields='line-1(customer, name), line-10(captain)' fields='status,line-1(customer, name), line-10(captain),logo'
label-status='Statut du canal'
widget-status='hubl-status'
class-status='form-label is-light is-full-width member-select color'
class-fieldset-fee='fieldset' class-fieldset-fee='fieldset'
value-fieldset-fee='Contributions' value-fieldset-fee='Contributions'
@ -42,7 +46,13 @@ div.content-box__info
class-captain='member-select form-label is-light is-half-width' class-captain='member-select form-label is-light is-half-width'
widget-captain='sib-form-auto-completion' widget-captain='sib-form-auto-completion'
widget-logo="sib-form-file"
label-logo="Télécharger un logo"
upload-url-logo="https://api.test3.startinblox.com/upload/"
next='admin-project-list' next='admin-project-list'
submit-button='Enregistrer' submit-button='Enregistrer et ajouter des membres'
) )
//
!!! WARNING Logo upload URL hardcoded to test server !!!

View File

@ -19,7 +19,7 @@
sib-link( sib-link(
class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus' class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus'
next='admin-project-create' next='admin-project-create'
) Créer un projet ) Créer un nouveau projet
.table .table
div.table-header.grey-color div.table-header.grey-color
@ -85,7 +85,7 @@
class-captain='w25 cell border cell-with-id-card' class-captain='w25 cell border cell-with-id-card'
class-buttons='w25 cell border cell-with-buttons' class-buttons='w25 cell border cell-with-buttons'
widget-buttons="admin-project-buttons" widget-buttons="hubl-admin-project-buttons"
action-buttons="buttons" action-buttons="buttons"
widget-captain='hubl-project-captain' widget-captain='hubl-project-captain'