first try to display the picture of project on edit-page

This commit is contained in:
gaelle morin 2020-06-25 18:52:15 +02:00
parent 6999ea6295
commit 747eb622b3
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
3 changed files with 28 additions and 3 deletions

View File

@ -7,6 +7,7 @@
@include breakpoint(lg) {
display: flex;
flex-direction: column;
margin-bottom: 0;
transition: all .3s ease;
}
}
@ -31,7 +32,7 @@
left: 0;
margin: 0;
margin-left: auto;
margin-top: 109px;
margin-top: 32px;
position: relative;
width: auto;
}

View File

@ -279,6 +279,30 @@ h5 {
width: 15vw;
}
.project-edit-logo {
display: flex;
height: 8.5vh;
margin-top: 20px;
margin-bottom: 30px;
form {
display: flex;
}
hubl-user-avatar {
width: 104px;
}
input[type='submit'] {
@extend .button,
.text-bold,
.text-uppercase,
.button-primary,
.bordered;
align-self: center;
}
}
.content-box {
@include window-style-modal();
flex-direction: column;

View File

@ -33,11 +33,11 @@ div.content-box__info
h2 Photo du projet
solid-form.form-picture(
solid-form.form-picture.project-edit-logo(
bind-resources
fields='customer.logo'
widget-customer.logo="hubl-user-avatar"
submit-button='Edit'
submit-button='Modifier la photo'
next='project-picture'
)