Files
2026-07-01 16:44:17 +03:00

132 lines
4.8 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<a href="/panel/download/new"><button class="btn btn-primary">+ Yeni İndirme oluştur</button></a>
<hr>
<div class="card">
<div class="card-header">
<h5 class="card-title">İndirme Listesi</h5>
</div>
<div class="card body">
<table class="table table-striped ">
<thead class="table-dark text-center">
<tr>
<th width="110">Tarih</th>
<th>Başlık</th>
<th width="20">Dil</th>
<th>Durum</th>
<th width="250">İndirilme Sayısı</th>
<th width="150">İşlemler</th>
</tr>
</thead>
<tbody>
@foreach ($list as $key)
<tr>
<td class="align-middle text-center">
{{tcevir($key->createDate)}}
</td>
<td class="align-middle"><a href="/panel/download/edit/{{$key->id }} "><i class="fa fa-edit"></i> {{$key->name}}</a></td>
<td class="align-middle text-center">{{$key->lang}}</td>
<td class="align-middle text-center">
<button class="btn btn-warning downloadStatusChange" data-id="{{$key->id}}" data-status='{{$key->status}}'>{{$key->status}}</button>
</td>
<td>
@foreach(downloadUrl($key->id) as $key1)
<div class="country border-bottom d-flex justify-content-between align-items-center py-2 px-3" >
{{countriesName($key1->country)}} <span class="badge bg-danger p-1 ">{{$key1->count}} </span>
</div>
@endforeach
</td>
<td class="align-middle text-center">
<a href="/panel/download/detail/{{$key->id }}">
<button class="btn btn-sm btn-primary" title="Details View">
<i class="fas fa-eye"></i>
</button>
</a>
<a href="/panel/download/copy/{{$key->id }}">
<button class="btn btn-sm btn-success" title="Edit">
<i class="fas fa-copy"></i>
</button>
</a>
<a href="/panel/download/delete/{{$key->id }} " onclick="return confirm('Bu kaydı silmek istediğinize eminmisiniz?')">
<button class="btn btn-sm btn-danger" title="Deleted">
<i class="fa fa-trash"></i>
</button>
</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
<div class="card">
<div class="card-header">
<h5 class="card-title">Arşiv</h5>
</div>
<div class="card body">
<table class="table table-striped ">
<thead class="table-dark text-center">
<tr>
<th width="110">Tarih</th>
<th>Başlık</th>
<th width="20">Dil</th>
<th>Durum</th>
<th width="250">İndirilme Sayısı</th>
<th width="150">İşlemler</th>
</tr>
</thead>
<tbody>
@foreach ($archive as $key)
<tr>
<td class="align-middle text-center">
{{tcevir($key->createDate)}}
</td>
<td class="align-middle"><a href="/panel/download/edit/{{$key->id }} "><i class="fa fa-edit"></i> {{$key->name}}</a></td>
<td class="align-middle text-center">{{$key->lang}}</td>
<td class="align-middle text-center">
<button class="btn btn-warning downloadStatusChange" data-id="{{$key->id}}" data-status='{{$key->status}}'>{{$key->status}}</button>
</td>
<td>
@foreach(downloadUrl($key->id) as $key1)
<div class="country border-bottom d-flex justify-content-between align-items-center py-2 px-3" >
{{countriesName($key1->country)}} <span class="badge bg-danger p-1 ">{{$key1->count}} </span>
</div>
@endforeach
</td>
<td class="align-middle text-center">
<a href="/panel/download/detail/{{$key->id }}">
<button class="btn btn-sm btn-primary" title="Details View">
<i class="fas fa-eye"></i>
</button>
</a>
<a href="/panel/download/copy/{{$key->id }}">
<button class="btn btn-sm btn-success" title="Edit">
<i class="fas fa-copy"></i>
</button>
</a>
<a href="/panel/download/delete/{{$key->id }} " onclick="return confirm('Bu kaydı silmek istediğinize eminmisiniz?')">
<button class="btn btn-sm btn-danger" title="Deleted">
<i class="fa fa-trash"></i>
</button>
</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>