/
proc
/
self
/
cwd
/
ccbfsoution
/
Upload File
HOME
@extends('layouts.app') @section('title', 'Seed Management') @section('content') <style> .btn-add { background-color: #6b8e23; color: white; padding: 8px 12px; border-radius: 6px; font-size: 14px; border: none; } .modal-content { border-radius: 12px; padding: 20px; } .form-control { border-radius: 8px; padding: 10px; } </style> <div class="d-flex justify-content-between align-items-center mt-4"> <button class="btn-add" data-bs-toggle="modal" data-bs-target="#addSeedModal">Add Seeds</button> <div class="input-group shadow-sm rounded-pill w-25 position-relative"> <input type="text" class="form-control border-0 " placeholder="Search..."> <span class="position-absolute end-0 top-50 translate-middle-y pe-3"> <i class="fas fa-search text-secondary"></i> </span> </div> </div> <div class="table-responsive mt-3"> <table class="table table-bordered text-center"> <thead> <tr> <th>Sr.No.</th> <th>Seed Name</th> <th>Seed Type</th> <th>Seed Sub Type</th> <th>Row</th> <th>Unit</th> <th>Per Bag Cost</th> <th>Action</th> </tr> </thead> <tbody> @for ($i = 1; $i <= 6; $i++) <tr> <td>{{ $i }}</td> <td>Seed {{ $i }}</td> <td>Type {{ $i }}</td> <td>Sub Type {{ $i }}</td> <td>{{ $i }}</td> <td>{{ $i * 10 }} kg</td> <td>{{ $i * 500 }} INR</td> <td> <button class="btn btn-sm btn-warning">Edit</button> <button class="btn btn-sm btn-danger">Delete</button> </td> </tr> @endfor </tbody> </table> </div> </div> <!-- Modal --> <div class="modal fade" id="addSeedModal" tabindex="-1" aria-labelledby="addSeedModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Add Seed</h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body"> <form> <div class="row"> <div class="col-md-6 mb-3"> <label>Seed Name</label> <input type="text" class="form-control" placeholder="Seed Name"> </div> <div class="col-md-6 mb-3"> <label>Seed Type</label> <input type="text" class="form-control" placeholder="Seed Type"> </div> <div class="col-md-6 mb-3"> <label>Seed Sub Type</label> <input type="text" class="form-control" placeholder="Seed Sub Type"> </div> <div class="col-md-6 mb-3"> <label>Row</label> <input type="text" class="form-control" placeholder="Row"> </div> <div class="col-md-6 mb-3"> <label>Unit</label> <input type="text" class="form-control" placeholder="Unit of Seed"> </div> <div class="col-md-6 mb-3"> <label>Per Bag Cost</label> <input type="text" class="form-control" placeholder="Cost in INR"> </div> </div> <button type="submit" class="btn btn-success w-100">Submit</button> </form> </div> </div> </div> </div> @endsection