%PDF- %PDF-
Direktori : /var/www/html/sljcon/resources/views/admin/compare/ |
Current File : /var/www/html/sljcon/resources/views/admin/compare/all.blade.php |
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-12 m_top_30"> <a href="{{route('admin.beforeAfter.newOrEdit','new')}}" class="btn btn-success pull-right"> <i class="fa fa-plus"></i> Add New </a> </div> </div> <div class="row"> <div class="col-md-12"> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th scope="col">#</th> <th scope="col">Name</th> <th scope="col">Before</th> <th scope="col">After</th> <th scope="col">Action</th> </tr> </thead> <tbody> @foreach($items as $key => $item) <tr> <td scope="col">{{$key + 1 }}</td> <td scope="col">{{$item->name}}</td> <td scope="col"> <img src="{{env('APP_URL').'uploads/compare/'.$item->before_url}}" alt="" class="imgThumbnail"> </td> <td scope="col"> <img src="{{env('APP_URL').'uploads/compare/'.$item->after_url}}" alt="" class="imgThumbnail"> </td> <td scope="col"> <div class="btn-group" role="group" aria-label="Basic example"> <a type="button" class="btn btn-warning" href="{{route('admin.beforeAfter.newOrEdit',$item->id)}}"><i class="fa fa-edit"></i></a> <a type="button" class="btn btn-success"><i class="fa fa-search"></i></a> </div> </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> @endsection