KodeStar
7 years ago
13 changed files with 284 additions and 21 deletions
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@ |
|||
{ |
|||
"/css/app.css": "/css/app.css?id=9826be622435e2ba23ee", |
|||
"/js/app.js": "/js/app.js?id=c40626c00c299e2aeed0" |
|||
"/css/app.css": "/css/app.css?id=70beb203b1a0bdd09b29", |
|||
"/js/app.js": "/js/app.js?id=aa9e426dc7b92d42d3b2" |
|||
} |
@ -0,0 +1,54 @@ |
|||
@extends('app') |
|||
|
|||
@section('content') |
|||
<section class="module-container"> |
|||
<header> |
|||
<div class="section-title"> |
|||
Showing Deleted Applications |
|||
</div> |
|||
<div class="module-actions"> |
|||
<a href="{{ route('items.index') }}" title="" class="button"><i class="fa fa-ban"></i><span>Cancel</span></a> |
|||
</div> |
|||
</header> |
|||
|
|||
<table class="table table-hover"> |
|||
<thead> |
|||
<tr> |
|||
<th>Title</th> |
|||
<th>Description</th> |
|||
<th>Url</th> |
|||
<th class="text-center" width="100">Restore</th> |
|||
<th class="text-center" width="100">Delete</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
@if($trash->first()) |
|||
@foreach($trash as $app) |
|||
<tr> |
|||
<td>{{ $app->title }}</td> |
|||
<td>{{ $app->description }}</td> |
|||
<td>{{ $app->url }}</td> |
|||
<td class="text-center"><a href="{!! route('items.restore', $app->id) !!}" title="Restore {!! $app->title !!}"><i class="fas fa-edit"></i></a></td> |
|||
<td class="text-center"> |
|||
{!! Form::open(['method' => 'DELETE','route' => ['items.destroy', $app->id],'style'=>'display:inline']) !!} |
|||
<input type="hidden" name="force" value="1" /> |
|||
<button type="submit"><i class="fa fa-trash-alt"></i></button> |
|||
{!! Form::close() !!} |
|||
</td> |
|||
</tr> |
|||
@endforeach |
|||
@else |
|||
<tr> |
|||
<td colspan="5" class="form-error text-center"> |
|||
<strong>No items found</strong> |
|||
</td> |
|||
</tr> |
|||
@endif |
|||
|
|||
|
|||
</tbody> |
|||
</table> |
|||
</section> |
|||
|
|||
|
|||
@endsection |
Loading…
Reference in new issue