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

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>
        Selling Requests
    </title>

    {% include 'admin/includes/imports.top.html' %}

</head>

<body class="g-sidenav-show  bg-gray-100">
    {% include 'admin/includes/part.menu.html' %}
    <main class="main-content position-relative max-height-vh-100 h-100 border-radius-lg ">
        <!-- Navbar -->
        {% include 'admin/includes/part.header.html' %}
        <!-- End Navbar -->
        <div class="container-fluid py-4">
            <div class="row g-1">
                <div class="col-md-12">
                    <div class="card">
                        <div class="card-header pb-0 px-3">
                            <div class="d-flex justify-content-between">
                                <h6 class="mb-0">Selling Requests</h6>
                                <button class="btn btn-sm btn-dark me-2" onclick="history.back()">Go Back</button>
                            </div>
                        </div>
                        <div class="card-body p-3">
                            <div class="row">
                                <div class="col-md">
                                    <table class="table">
                                        <tr>
                                            <th><strong>Title</strong></th>
                                            <td>{{car.title}}</td>
                                        </tr>
                                        <tr>
                                            <th><strong>Firstname</strong></th>
                                            <td>{{car.firstname}}</td>
                                        </tr>
                                        <tr>
                                            <th><strong>Surname</strong></th>
                                            <td>{{car.surname}}</td>
                                        </tr>
                                        <tr>
                                            <th><strong>Email</strong></th>
                                            <td>{{car.email}}</td>
                                        </tr>
                                        <tr>
                                            <th><strong>Phone</strong></th>
                                            <td>{{car.phone}}</td>
                                        </tr>
                                    </table>
                                </div>
                                <div class="col-md">
                                    <table class="table">
                                        <tr>
                                            <th><strong>Make</strong></th>
                                            <td>{{car.make}}</td>
                                        </tr>
                                        <tr>
                                            <th><strong>Model</strong></th>
                                            <td>{{car.model}}</td>
                                        </tr>
                                        <tr>
                                            <th><strong>Year</strong></th>
                                            <td>{{car.year}}</td>
                                        </tr>
                                        <tr>
                                            <th><strong>Registration Number</strong></th>
                                            <td>{{car.reg_number}}</td>
                                        </tr>
                                        <tr>
                                            <th><strong>Mileage</strong></th>
                                            <td>{{car.mileage}}</td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <h4>Comment</h4>
                            <div>{{car.comments}}</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        {% include 'admin/includes/part.footer.html' %}
        </div>
    </main>

    <!--   Core JS Files   -->
    {% include 'admin/includes/imports.bottom.html' %}
    <script>
        var win = navigator.platform.indexOf('Win') > -1;
        if (win && document.querySelector('#sidenav-scrollbar')) {
            var options = {
                damping: '0.5'
            }
            Scrollbar.init(document.querySelector('#sidenav-scrollbar'), options);
        }
        function MarkFeature(link) {
            $('#feature_it_button').attr('href', link);
        }
        function status_change(link) {
            $('#status_change_it_button').attr('action', link);
        }
    </script>
</body>

</html>