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

39 lines
1.3 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="page/new"><button class="btn btn-primary"><i class="fas fa-plus-square"></i> Yeni Sayfa Ekle</button></a>
<hr>
@foreach(langList() as $key1)
<div class="card">
<div class="card-header bg-primary">
<h5 class="card-title text-white">Sayfalar {{$key1->language}}</h5>
</div>
<div class="body p-0">
<table class="table table-striped data-table">
<thead class="table-dark text-center">
<tr>
<th width="120">Tarih</th>
<th>Başlık</th>
<th>Durum</th>
<th width="100">İşlemler</th>
</tr>
</thead>
<tbody>
@foreach (pageList($key1->slug) as $key)
<tr>
<td class="text-center">{{tcevir($key->create_date); }}</td>
<td>{{$key->title; }}</td>
<td class="text-center">{{status($key->status) }}</td>
<td class="text-center">
<a href="page/edit/{{$key->id; }} "><button class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></button></a>
<a href="page/delete/{{$key->id; }} " onclick="return confirm('Bu kaydı silmek istediğinize eminmisiniz?')">
<button class="btn btn-danger btn-sm"><i class="fa fa-trash"></i></button></a></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
@endforeach