PATH:
home
/
lab2454c
/
omvstudio.com
/
resources
/
views
/
admin
/
home_workflow
@extends('admin.layouts.adminMasterLayout') @section('title', 'List Work flow') @section('home_management_select','active') @section('content') <div class="container-fluid"> <div class="dashboard__main mb-4"> <h2>Work Flow List</h2> </div> <div class="card shadow mb-4"> <div class="card-body"> <div class="float-right"> <a href="{{ route('home-config-work.create') }}" class="btn btn-success mb-4">Add New</a> </div> <div class="table-responsive"> <table class="table table-bordered" id="example" width="100%" cellspacing="0"> <thead> <tr> <th>TITLE</th> <th>IMAGE</th> <th>STATUS</th> <th>ACTION</th> </tr> </thead> <tbody> @if ($home_config_works->count() > 0 ) @foreach ($home_config_works as $home_config_work) <tr> <td>{{ $home_config_work->title }}</td> <td> <img src="{{ isset($home_config_work->image) ? asset('storage/home_works/'.$home_config_work->image) : asset('admin_assets/images/default-image.png') }}" class="hei-120 wid-120 rounded-circle" alt=""> </td> <td> @if($home_config_work->status=='active') <a href="{{ url('admin/home-config-work/status/inactive/'.$home_config_work->id) }}" class="btn btn-success frm-btn_handler btn__active">Active</a> @else <a href="{{ url('admin/home-config-work/status/active/'.$home_config_work->id) }}" class="btn btn-warning frm-btn_handler btn__deactive">Deactive</a> @endif </td> <td> <a href="{{ route('home-config-work.edit',$home_config_work) }}" class="btn btn-primary frm-btn_handler btn__edit">Edit</a> <form action="{{ route('home-config-work.destroy',$home_config_work->id) }}" method="POST"> {{ csrf_field() }} @method('DELETE') <button class="btn btn-danger frm-btn_handler btn__delete" onclick="return confirm('Are you sure?')">Delete </button> </form> </td> </tr> @endforeach @else <td colspan="7">No data Found!!</td> @endif </tbody> </table> </div> {{ $home_config_works->links() }} </div> </div> </div> @endsection
[-] form.blade.php
[edit]
[-] create.blade.php
[edit]
[-] edit.blade.php
[edit]
[+]
..
[-] list.blade.php
[edit]