PHP Classes

File: resources/views/jobs/_menu.blade.php

Recommend this page to a friend!
  Classes of Insolita   Laravel Interactive Jobs   resources/views/jobs/_menu.blade.php   Download  
File: resources/views/jobs/_menu.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Interactive Jobs
Run background jobs and monitor progress on a page
Author: By
Last change:
Date: 4 years ago
Size: 547 bytes
 

Contents

Class file image Download
@php
    /**
    * @var \App\Lib\InteractiveJobs\JobDefinition[] $definitions
    */
@endphp


<div class="card">
    <div class="card-header">Jobs</div>
    <div class="list-group list-group-flush">
        @foreach($definitions as $definition)
            <a class="list-group-item list-group-item-action @if(Route::input('job') == $definition->name()) active
@endif"
               href="{{route('jobs.create', ['job'=>$definition->name()])}}">
                {{$definition->title()}}
            </a>
        @endforeach
    </div>
</div>