<x-app-layout>
    @section('title')
        Database Bakup
    @endsection

    <!-- Page Heading -->
    <h1 class="h3 mb-2 text-gray-800">
        <a href="{{ route('admin.database.generate') }}" class="btn btn-primary"><i class="fas fa-plus"
                aria-hidden="true"></i>
            Generate Backup
        </a>
    </h1>
    <!-- DataTales Example -->
    <div class="row">
        <div class="col-md-12">
            <div class="card shadow mb-4">
                <div class="card-header py-3">
                    <h6 class="m-0 font-weight-bold text-primary">
                        Database Backup History
                    </h6>
                </div>
                <div class="card-body">
                    <div class="table-responsive">
                        <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
                            <thead>
                                <tr>
                                    <th>Name</th>
                                    <th>Description</th>
                                    <th>Size</th>
                                    <th>Created At</th>
                                    <th>Action</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>Backup Demo Site</td>
                                    <td>Backup current data for demo purposes</td>
                                    <td>14,92 MB</td>
                                    <td>2023-08-02 08:44:17</td>
                                    <td>
                                        <a href="#"><i class="fa fa-download text-success"></i></a>
                                        <a href="#"><i class="fa fa-trash text-danger"></i></a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>

            </div>
        </div>
    </div>

</x-app-layout>
