git add .
git commit "fix(assets): self-host Chart.js instead of loading from CDN"
This commit is contained in:
@@ -8,41 +8,30 @@
|
||||
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-md-3">
|
||||
|
||||
@include('account.layout.app')
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-md-9">
|
||||
|
||||
|
||||
<div class="account-content">
|
||||
|
||||
|
||||
<h2 class="account-title">
|
||||
علاقهمندیهای من ❤️
|
||||
علاقهمندیهای من
|
||||
</h2>
|
||||
|
||||
|
||||
@if($favorites->count())
|
||||
|
||||
|
||||
<div class="favorite-list">
|
||||
|
||||
|
||||
@foreach($favorites as $favorite)
|
||||
|
||||
|
||||
<div class="favorite-card">
|
||||
|
||||
|
||||
<div class="favorite-info">
|
||||
|
||||
|
||||
@if($favorite->favoritable_type == 'App\Models\Tour')
|
||||
|
||||
<h3>
|
||||
@@ -52,10 +41,8 @@
|
||||
تور
|
||||
</p>
|
||||
|
||||
|
||||
@elseif($favorite->favoritable_type == 'App\Models\Flight')
|
||||
|
||||
|
||||
<h3>
|
||||
{{ $favorite->favoritable->name }}
|
||||
</h3>
|
||||
@@ -64,42 +51,29 @@
|
||||
پرواز
|
||||
</p>
|
||||
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<form action="{{route('users.favorite.destroy',$favorite)}}" method="POST">
|
||||
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
|
||||
|
||||
<button class="remove-favorite">
|
||||
|
||||
<i class="fa fa-trash"></i>
|
||||
|
||||
حذف
|
||||
|
||||
</button>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@endforeach
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@else
|
||||
|
||||
<div class="empty-favorite">
|
||||
@@ -112,19 +86,13 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user