Created
March 21, 2019 11:55
-
-
Save sehmbimanvir/33ff004ae3c8bae02e53721bb0e3b2ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.app') | |
@section('content') | |
<div class="container"> | |
<div class="row justify-content-center"> | |
<div class="col-md-8"> | |
<div class="card"> | |
<div class="card-header">All Images</div> | |
<div class="card-body"> | |
<table class="table table-bordered"> | |
<tr> | |
<th>Image</th> | |
<th>Caption</th> | |
<th>Size</th> | |
<th>Uploaded</th> | |
</tr> | |
@foreach ($images as $image) | |
<tr> | |
<th><img width="100px" src="{{$image->url}}"></th> | |
<td>{{$image->title}}</td> | |
<td>{{$image->size_in_kb}} KB</td> | |
<td>{{$image->uploaded_time}}</td> | |
</tr> | |
@endforeach | |
</table> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment