new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<a href="/panel/blog/new"><button class="btn btn-primary">Yeni Yazı Ekle</button></a>
|
||||
<a href="/panel/category"><button class="btn btn-primary">Blog kategorileri</button></a>
|
||||
<hr>
|
||||
{[$lang='tr']}
|
||||
<div class="card">
|
||||
<div class="card-header bg-primary">
|
||||
<h5 class="card-title text-white">İçerik Listesi</h5>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
{{DB::error()}}
|
||||
<table class="table table-striped data-table">
|
||||
<thead class="table-dark text-center">
|
||||
<tr>
|
||||
<th width="20">#</th>
|
||||
<th width="120">Ekleme Tarihi</th>
|
||||
<th>Başlık</th>
|
||||
<th width="20">Durumu</th>
|
||||
<th width="70">Hit</th>
|
||||
<th> <form action="" method="post">
|
||||
<select name="lang" onchange="this.form.submit()">
|
||||
<option value="">İçerik Dilini Seç</option>
|
||||
@foreach (languageList() as $key):
|
||||
<option value="{{$key->slug}}"{{selected($key->slug, 'tr')}}>{{$key->language}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</form>
|
||||
</th>
|
||||
<th>Editör</th>
|
||||
<th width="150">İşlemler</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody >
|
||||
@foreach (contentListAdmin() as $key)
|
||||
<tr >
|
||||
<td class="text-center">{{$key->id}}</td>
|
||||
<td class="text-center">{{tcevir($key->create_date)}}</td>
|
||||
<td> {{$key->title}}</a></td>
|
||||
<td class="text-center" > {{ status($key->status) }}</td>
|
||||
<td class="text-center"> {{$key->hits}}</td>
|
||||
<td class="text-center">{{$key->lang}}</td>
|
||||
<td class="text-center">{{yazar($key->editor)}}</td>
|
||||
<td class="text-center">
|
||||
<a href="/panel/blog/edit/{{$key->id}}"><button class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></button></a>
|
||||
<a href="/panel/blog/copy/{{$key->id }}"><button class="btn btn-success btn-sm"><i class="fas fa-copy"></i></button></a>
|
||||
|
||||
<a href="/panel/blog/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>
|
||||
Reference in New Issue
Block a user