PATH:
home
/
lab2454c
/
westernclear.net
/
resources
/
views
/
admin
/
homepageManager
/
investmentSection
@extends('admin.layout.adminMasterLayout') @section('title', 'Investment Section') @section('content') <div class="content-wrapper"> @include('admin.homepageManager.investmentSection.text.list') <div class="text-right"> <a href="{{ route('investmentSection.create') }}" class="btn btn-info font-weight-bold mb-3">+ Add More</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">Investment Section</h4> <hr> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>Icon</th> <th>Dark Icon</th> <th>Title</th> <th>Short Description</th> <th>Action</th> </tr> </thead> <tbody> @forelse($investmentSections as $investmentSection) <tr> <td class="py-1"> <img src="{{ isset($investmentSection->icon) ? config("app.url").Storage::url($investmentSection->icon) : asset('adminAssets/images/default-page-banner.png') }}" alt="icon" style="background-color: grey;" /> </td> <td class="py-1"> <img src="{{ isset($investmentSection->dark_icon) ? config("app.url").Storage::url($investmentSection->dark_icon) : asset('adminAssets/images/default-page-banner.png') }}" alt="dark_icon"/> </td> <td> {{ $investmentSection->title ?? '' }} </td> <td> {!! Str::limit($investmentSection->short_description, 80) ?? '' !!} </td> <td> <a href="{{ route('investmentSection.edit', $investmentSection) }}" class="btn btn-success btn-sm ml-3 d-inline-block"> <i class="icon-open"></i> Edit </a> <div class="d-inline-block"> <form action="{{route('investmentSection.destroy', $investmentSection->id)}}" method="POST" > @csrf @method('DELETE') <button type="submit" class="btn btn-primary btn-sm" style="cursor: pointer;" onclick="return confirm('Are you sure?')"> Delete </button> </form> </div> </td> </tr> @empty <td colspan="5">No Content</td> @endforelse </tbody> </table> </div> </div> </div> </div> </div> </div> @endsection
[-] form.blade.php
[edit]
[-] create.blade.php
[edit]
[-] edit.blade.php
[edit]
[+]
..
[+]
text
[-] list.blade.php
[edit]