PATH:
home
/
lab2454c
/
aficb.com
/
resources
/
views
/
admin
/
trustFunds
/
bannerLink
@extends('admin.layout.adminMasterLayout') @section('title', 'Banner Links') @section('content') <div class="content-wrapper"> <div> <a href="{{ route($createRoute) }}" class="btn btn-info font-weight-bold mb-3">+ Add new link</a> </div> <div class="row"> <div class="col-lg-12 grid-margin stretch-card"> <div class="card"> <div class="card-body"> <h4 class="card-title">Banner Links</h4> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>Image</th> <th>Title</th> <th>Description</th> <th>Action</th> </tr> </thead> <tbody> @forelse($bannerLinks as $bannerLink) <tr> <td class="py-1"> <img src="{{ isset($bannerLink->logo) ? config("app.url").Storage::url($bannerLink->logo) : asset('adminAssets/images/default-page-banner.png') }}" alt="logo" class="bg-info"/> </td> <td> {{ $bannerLink->title }} </td> <td> {{ $bannerLink->description }} </td> <td> <a href="{{ route($editRoute, $bannerLink) }}" class="btn btn-success btn-sm"> <i class="icon-open"></i> Edit </a> <form action="{{route($deleteRoute, $bannerLink)}}" method="POST" style="display: inline-block;"> @csrf @method('DELETE') <button type="submit" class="btn btn-primary btn-sm d-inline-block" onclick="return confirm('Are you sure?')"> Delete </button> </form> </td> </tr> @empty <td colspan="5">No Links Added Yet</td> @endforelse </tbody> </table> </div> </div> </div> </div> </div> </div> @endsection
[-] form.blade.php
[edit]
[-] create.blade.php
[edit]
[-] edit.blade.php
[edit]
[+]
..
[-] list.blade.php
[edit]