[WIP] Fix ergonomics rules

This commit is contained in:
Ludovic CANDELLIER
2020-03-30 00:48:17 +02:00
parent 36267139a1
commit cd9b6ea74c
106 changed files with 1392 additions and 747 deletions

View File

@@ -0,0 +1,28 @@
@if (isset($photos))
@include('Hestimmo.modules.LotPhoto.partials.list-photos')
@endif
@include('Hestimmo.modules.LotPhoto.partials.block_photo_new')
<div id="append_lot_photo" class="row m-top-8"> </div>
<button type="button" class="btn btn-primary add-new-lot-photo m-top-8">Ajouter une photo <i class="fa fa-plus"></i></button>
@push('js')
<script>
function append_lot_photo() {
$("#append_lot_photo .file").fileinput();
}
$("#append_lot_photo").appender({
rowSection: '.row-new-lot-photo',
type: '.row-lot-photo',
addBtn: '.add-new-lot-photo',
appendEffect: 'slide',
addClass: 'animated bounceInLeft',
rowNumber: '.row-lot-photo-number',
deleteBtn: '.delete-new-lot-photo-btn',
callback: append_lot_photo,
hideSection: true
});
</script>
@endpush