File: resources/views/upload/list.blade.php

Recommend this page to a friend!
  Classes of Dipesh Sukhia  >  PHP PDF to Image Library  >  resources/views/upload/list.blade.php  >  Download  
File: resources/views/upload/list.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP PDF to Image Library
Convert PDF document to image using Imagick
Author: By
Last change:
Date: 12 days ago
Size: 2,234 bytes
 

Contents

Class file image Download
@extends('layouts.app')

@section('content')
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="text-center">Upload List</h1>
            </div>
        </div>
    </div>

    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <div class="table-responsive">
                    <table class="table table-striped" id="myTable">
                        <thead>
                        <tr>
                            <th>S.No</th>
                            <th>Name</th>
                            <th>Created At</th>
                            <th>Actions</th>
                        </tr>
                        </thead>
                        <tbody>
                        @if(collect($data->items())->count() > 0)
                            @foreach($data as $key => $val)
                                <tr>
                                    <th scope="row">{{ $key + $data->firstItem() }}</th>
                                    <td>{{ $val->name }}</td>
                                    <td>{{ $val->created_at }}</td>
                                    <td>
                                        <a href="{{ route('uploads.show',$val->id) }}"
                                           class="btn btn-primary btn-xs" style="display: inline;" data-toggle="tooltip"
                                           data-placement="top" title="View!">
                                            View
                                        </a>
                                    </td>
                                </tr>
                            @endforeach
                        @else
                            <tr>
                                <td colspan="6"><h3 align="center">Data Not Found</h3></td>
                            </tr>
                        @endif
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                {{ $data->appends(\Request::all())->links() }}
            </div>
        </div>
    </div>
@endsection


For more information send a message to info at phpclasses dot org.