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

View File

@ -279,6 +279,30 @@ h5 {
width: 15vw; 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 { .content-box {
@include window-style-modal(); @include window-style-modal();
flex-direction: column; flex-direction: column;

View File

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