Skip to content

Commit

Permalink
Add/progress bar (#1666)
Browse files Browse the repository at this point in the history
* add progress bar for add listing

* fix single image uploading

* improved

* build files

* Refactored and updated image uploading

* Added background image resize

* Refactored

* Fixed timout issue by processing images in seperate requests

* Refactored messages

* Added unselected image cleanup

* Refactored js

* Updated image uploader styles

* Fixed mime type issue

* Fixed mime type issue and refactored js

* Refactored

* Fixed all image delete bug, added percentage, and refactored

---------

Co-authored-by: obiPlabon <obi.plabon@gmail.com>
  • Loading branch information
vairafiq and obiPlabon authored Nov 29, 2023
1 parent 21829f1 commit 5dc4105
Show file tree
Hide file tree
Showing 25 changed files with 1,265 additions and 632 deletions.
12 changes: 0 additions & 12 deletions assets/css/admin-main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions assets/css/admin-main.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -7599,27 +7599,15 @@ body.stop-scrolling {
.directorist-form-image-upload-field .ezmu__info-list-item:empty {
display: none;
}
.directorist-form-image-upload-field .ezmu__thumbnail-list-item {
width: auto;
}

.directorist-add-listing-wrapper {
max-width: 750px !important;
margin: 0 auto;
}
.directorist-add-listing-wrapper .ezmu__thumbnail-list-item {
max-width: 300px;
-webkit-flex-basis: 300px;
-ms-flex-preferred-size: 300px;
flex-basis: 300px;
}
.directorist-add-listing-wrapper .ezmu__thumbnail-list-item_back {
height: 200px;
width: 100%;
}
.directorist-add-listing-wrapper .ezmu__media-picker-buttons {
margin-top: 10px;
}
.directorist-add-listing-wrapper .ezmu__titles-area .ezmu__title-1 {
font-size: 30px;
}
Expand Down
12 changes: 0 additions & 12 deletions assets/css/all-listings.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions assets/css/all-listings.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -3042,27 +3042,15 @@ body.stop-scrolling {
.directorist-form-image-upload-field .ezmu__info-list-item:empty {
display: none;
}
.directorist-form-image-upload-field .ezmu__thumbnail-list-item {
width: auto;
}

.directorist-add-listing-wrapper {
max-width: 750px !important;
margin: 0 auto;
}
.directorist-add-listing-wrapper .ezmu__thumbnail-list-item {
max-width: 300px;
-webkit-flex-basis: 300px;
-ms-flex-preferred-size: 300px;
flex-basis: 300px;
}
.directorist-add-listing-wrapper .ezmu__thumbnail-list-item_back {
height: 200px;
width: 100%;
}
.directorist-add-listing-wrapper .ezmu__media-picker-buttons {
margin-top: 10px;
}
.directorist-add-listing-wrapper .ezmu__titles-area .ezmu__title-1 {
font-size: 30px;
}
Expand Down
12 changes: 0 additions & 12 deletions assets/css/public-main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions assets/css/public-main.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -3042,27 +3042,15 @@ body.stop-scrolling {
.directorist-form-image-upload-field .ezmu__info-list-item:empty {
display: none;
}
.directorist-form-image-upload-field .ezmu__thumbnail-list-item {
width: auto;
}

.directorist-add-listing-wrapper {
max-width: 750px !important;
margin: 0 auto;
}
.directorist-add-listing-wrapper .ezmu__thumbnail-list-item {
max-width: 300px;
-webkit-flex-basis: 300px;
-ms-flex-preferred-size: 300px;
flex-basis: 300px;
}
.directorist-add-listing-wrapper .ezmu__thumbnail-list-item_back {
height: 200px;
width: 100%;
}
.directorist-add-listing-wrapper .ezmu__media-picker-buttons {
margin-top: 10px;
}
.directorist-add-listing-wrapper .ezmu__titles-area .ezmu__title-1 {
font-size: 30px;
}
Expand Down
Loading

0 comments on commit 5dc4105

Please sign in to comment.