@extends('layouts.master', [ 'page_title' => 'Reworks Configuration', 'page_sub_title' => 'Part Number ' . $part_number->name, ]) @section('styles') @endsection @section('content') @component('components.card_main', [ 'title' => 'Zone Selection', 'description' => !$part_number->has_picture ? 'Here you can upload a picture of this part number.' :'Select a zone and then draw a rectangle on the image.' ]) @slot( 'body' ) @if($part_number->has_picture)
Draw New Zone
Step 1: Select a Zone
@component('components.button', ['type'=>'add', 'submit'=>true])@endcomponent
Delete Zone
@component('components.button', ['type'=>'delete', 'submit'=>true])@endcomponent
@else
Only jpg and png images are accepted. Max file size 5MB
@component('components.button', ['type'=>'upload', 'submit'=>'true'])@endcomponent
@endif @endslot @slot('after_body') @if($part_number->has_picture)
Remove Picture
@endif @endslot @endcomponent @endsection @section('app-scripts') @endsection