added delete button for clipart

This commit is contained in:
franknstayn
2020-03-07 17:52:22 +08:00
parent 55033c6695
commit 6c9cc4fa65
5 changed files with 68 additions and 6 deletions

View File

@@ -37,7 +37,16 @@
<div class="store-logo">
<img src="{{ config('site_config.images_directory') . 'cliparts/' . $clipart->SVGFilename }}" width="100%" style="height: inherit;">
</div>
<hr style="margin-bottom: 0px !important;">
<div style="margin-bottom: 10px; border-bottom: 1px solid #eee;">
<small style="color: #848484;"><b>Category:</b> <br>{{ $clipart->CategoryName }}</small>
</div>
<div class="clearfix">
<button data-id="{{ $clipart->Id }}" class="btn btn-danger btn-block delete-clipart"><i class="fa fa-trash"></i> Delete</button>
</div>
</div>
</div>
{{-- <li class="col-sm-2">
<a class="thumbnail"></a>