

<?php $__env->startSection('content'); ?>
<h5>Update News</h5>
    <div class="row d-flex justify-content-center">
        <div class="col-lg-6">
            <div class="card p-3">
                <h6>Update News</h6>
                <form action="#">
                    <div class="col-lg-12 mb-3">
                        <label for="date" class="form-label">Date For News</label>
                        <input type="date" name="date" class="form-control">
                    </div>
                    <div class="col-lg-12 mb-3">
                        <label for="News" class="form-label">News</label>
                        <input type="text" name="news" class="form-control" placeholder="Enter News">
                    </div>
                    <div class="text-center">
                        <button class="btn btn-primary">Submit</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <div class="card mt-5">

        <div class="top-filter p-3">
            <div class="row g-3 align-items-end d-flex justify-content-between">
                <div class="col-auto">
                    <select id="pageLength" class="form-select">
                        <option value="10">10</option>
                        <option value="25">25</option>
                        <option value="50">50</option>
                        <option value="100">100</option>
                        <option value="All">All</option>
                    </select>
                </div>

                <div class="col-md-3 mb-3 ms-auto">
                    <input type="text" id="customSearch" class="form-control" placeholder="Search table...">
                </div>


              </div>

        </div>
        <div class="table-responsive table-wrap">
            <table class="table w-100" id="usersTable">
                <thead>
                    <tr>
                        <th>Sno</th>
                        <th> Date</th>
                        <th>News Date</th>
                        <th>News</th>
                        <th>Status</th>

                    </tr>
                </thead>
                <tbody></tbody>
            </table>
        </div>

    </div>


<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>

<script>
$(document).ready(function () {

    const users = [];

    $('#usersTable').DataTable({
        data: users,
        pageLength: 10,
        ordering: false,
        searching: true,
        info: true,
        lengthChange: false,
        language: {
            emptyTable: "No data available in this table"
        }
    });

});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('Admin.layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/omiga_ipl/resources/views/Admin/update_news.blade.php ENDPATH**/ ?>