<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Add Vehcile - Dashboard</title>
    <link rel="stylesheet" href="./assets/css/all.min.css">
    <link rel="stylesheet" href="./assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="./assets/css/fontawesome.min.css">
    <link rel="stylesheet" href="./assets/css/style.css">
</head>

<body>
    <!-- complete header section  -->
    <div class="head-Container">
        <?php include './includes/header.php'; ?>

        <div class="headBanner d-flex flex-wrap justify-content-between align-items-center mt-5 mb-5">
            <div class="banner-content">
                <h1>Vehicle List</h1>
                <p>This is the Vehicle List of the Company.</p>
            </div>

            <div class="bannerBtn d-flex gap-3">
                <button class="expoBtn d-flex gap-3 align-items-center"><i class="fa-solid fa-print"></i> Export
                    Report</button>
            </div>
        </div>
    </div>
    <!-- complete header section  -->

    <!-- vehicle-list section here  -->
    <div class="main-vehicleList">
        <div class="vList-header d-flex flex-wrap align-items-center justify-content-between">
            <div class="listHeader-content">
                <h1>Vehicle List</h1>
            </div>

            <div class="listheader-dropBtn d-flex flex-wrap gap-3 align-items-center">
                <button class="btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown"
                    aria-expanded="false">
                    Status
                </button>
                <ul class="dropdown-menu">
                    <li><a class="dropdown-item" href="#">No Status</a></li>
                    <li><a class="dropdown-item" href="#">No Status</a></li>
                </ul>

                <button class="btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown"
                    aria-expanded="false">
                    Date
                </button>
                <ul class="dropdown-menu">
                    <li><a class="dropdown-item" href="#">No Date</a></li>
                    <li><a class="dropdown-item" href="#">No Date</a></li>
                </ul>
                <div class="d-flex flex-wrap gap-3">
                    <input type="number" placeholder="Seach Complain">
                    <button>Search</button>
                </div>
            </div>
        </div>

        <div class="mainVehicle-list py-3">
            <table>
                <tbody>
                    <tr class="theader">
                        <td>Vehcile Name</td>
                        <td>Vehicle No</td>
                        <td>Chassis No</td>
                        <td>Model No</td>
                        <td>Date</td>
                        <td>QR Code</td>
                        <td>Action</td>
                    </tr>

                    <tr class="tbody">
                        <td class="d-flex align-items-center gap-2">
                            <img src="./assets/images/truck.png" alt="Car Detail">
                            <p>RoadMaster</p>
                        </td>
                        <td>ENG - 204</td>
                        <td>24883722</td>
                        <td>2022</td>
                        <td>
                            <p>22/12/2022</p>
                            <h6>05:20 PM</h6>
                        </td>
                        <td>
                            <img src="./assets/images/qr.png" alt="code">
                        </td>
                        <td>
                            <button class="button"><a href="./complain-detail.php">View</a></button>
                        </td>
                    </tr>

                    <tr class="tbody">
                        <td class="d-flex align-items-center gap-2">
                            <img src="./assets/images/truck.png" alt="Car Detail">
                            <p>RoadMaster</p>
                        </td>
                        <td>ENG - 204</td>
                        <td>24883722</td>
                        <td>2022</td>
                        <td>
                            <p>22/12/2022</p>
                            <h6>05:20 PM</h6>
                        </td>
                        <td>
                            <img src="./assets/images/qr.png" alt="code">
                        </td>
                        <td>
                            <button class="button"><a href="./complain-detail.php">View</a></button>
                        </td>
                    </tr>

                    <tr class="tbody">
                        <td class="d-flex align-items-center gap-2">
                            <img src="./assets/images/truck.png" alt="Car Detail">
                            <p>RoadMaster</p>
                        </td>
                        <td>ENG - 204</td>
                        <td>24883722</td>
                        <td>2022</td>
                        <td>
                            <p>22/12/2022</p>
                            <h6>05:20 PM</h6>
                        </td>
                        <td>
                            <img src="./assets/images/qr.png" alt="code">
                        </td>
                        <td>
                            <button class="button"><a href="./complain-detail.php">View</a></button>
                        </td>
                    </tr>

                    <tr class="tbody">
                        <td class="d-flex align-items-center gap-2">
                            <img src="./assets/images/truck.png" alt="Car Detail">
                            <p>RoadMaster</p>
                        </td>
                        <td>ENG - 204</td>
                        <td>24883722</td>
                        <td>2022</td>
                        <td>
                            <p>22/12/2022</p>
                            <h6>05:20 PM</h6>
                        </td>
                        <td>
                            <img src="./assets/images/qr.png" alt="code">
                        </td>
                        <td>
                            <button class="button"><a href="./complain-detail.php">View</a></button>
                        </td>
                    </tr>

                    <tr class="tbody">
                        <td class="d-flex align-items-center gap-2">
                            <img src="./assets/images/truck.png" alt="Car Detail">
                            <p>RoadMaster</p>
                        </td>
                        <td>ENG - 204</td>
                        <td>24883722</td>
                        <td>2022</td>
                        <td>
                            <p>22/12/2022</p>
                            <h6>05:20 PM</h6>
                        </td>
                        <td>
                            <img src="./assets/images/qr.png" alt="code">
                        </td>
                        <td>
                            <button class="button"><a href="./complain-detail.php">View</a></button>
                        </td>
                    </tr>

                    <tr class="tbody">
                        <td class="d-flex align-items-center gap-2">
                            <img src="./assets/images/truck.png" alt="Car Detail">
                            <p>RoadMaster</p>
                        </td>
                        <td>ENG - 204</td>
                        <td>24883722</td>
                        <td>2022</td>
                        <td>
                            <p>22/12/2022</p>
                            <h6>05:20 PM</h6>
                        </td>
                        <td>
                            <img src="./assets/images/qr.png" alt="code">
                        </td>
                        <td>
                            <button class="button"><a href="./complain-detail.php">View</a></button>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <!-- vehicle-list section here  -->

    <!-- footer here  -->
    <?php include './includes/footer.php'; ?>
    <!-- footer here  -->

    <!-- logout btn here  -->
    <?php include './includes/logout.php'; ?>
    <!-- logout btn here  -->

    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <script src="./assets/js/app.js"></script>
    <script src="./assets/js/bootstrap.bundle.min.js"></script>
    <script>
        // login-check.js
        if (localStorage.getItem("loggedIn") !== "true") {
            window.location.href = "./login/signin.php";
        }
    </script>
</body>

</html>