Bootstrap snippet and html example. Booking Requests list

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.
Tags: list,profile,social-network,booking,request

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 4.4.1 included, to get the result that you can see in the preview selection

<div class="container">
<div class="row">
    <div class="col-md-12">
        <div class="card card-white mb-5">
            <div class="card-heading clearfix border-bottom mb-4">
                <h4 class="card-title">Booking Requests</h4>
            </div>
            <div class="card-body">
                <ul class="list-unstyled">
                    <li class="position-relative booking">
                        <div class="media">
                            <div class="msg-img">
                                <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="">
                            </div>
                            <div class="media-body">
                                <h5 class="mb-4">Sunny Apartment <span class="badge badge-primary mx-3">Pending</span><span class="badge badge-danger">Unpaid</span></h5>
                                <div class="mb-3">
                                    <span class="mr-2 d-block d-sm-inline-block mb-2 mb-sm-0">Booking Date:</span>
                                    <span class="bg-light-blue">02.03.2020 - 04.03.2020</span>
                                </div>
                                <div class="mb-3">
                                    <span class="mr-2 d-block d-sm-inline-block mb-2 mb-sm-0">Booking Details:</span>
                                    <span class="bg-light-blue">2 Adults</span>
                                </div>
                                <div class="mb-3">
                                    <span class="mr-2 d-block d-sm-inline-block mb-2 mb-sm-0">Price:</span>
                                    <span class="bg-light-blue">$147</span>
                                </div>
                                <div class="mb-5">
                                    <span class="mr-2 d-block d-sm-inline-block mb-1 mb-sm-0">Clients:</span>
                                    <span class="border-right pr-2 mr-2">John Inoue</span>
                                    <span class="border-right pr-2 mr-2"> [email protected]</span>
                                    <span>123-563-789</span>
                                </div>
                                <a href="#" class="btn-gray">Send Message</a>
                            </div>
                        </div>
                        <div class="buttons-to-right">
                            <a href="#" class="btn-gray mr-2"><i class="far fa-times-circle mr-2"></i> Reject</a>
                            <a href="#" class="btn-gray"><i class="far fa-check-circle mr-2"></i> Approve</a>
                        </div>
                    </li>

                    <li class="position-relative booking">
                        <div class="media">
                            <div class="msg-img">
                                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                            </div>
                            <div class="media-body">
                                <h5 class="mb-4">Burger House <span class="badge badge-success ml-3">Approved</span></h5>
                                <div class="mb-3">
                                    <span class="mr-2 d-block d-sm-inline-block mb-2 mb-sm-0">Booking Date:</span>
                                    <span class="bg-light-green">06.03.2020 - 07.03.2020</span>
                                </div>
                                <div class="mb-3">
                                    <span class="mr-2 d-block d-sm-inline-block mb-2 mb-sm-0">Booking Details:</span>
                                    <span class="bg-light-green">2 Adults, 2 Children</span>
                                </div>

                                <div class="mb-5">
                                    <span class="mr-2 d-block d-sm-inline-block mb-1 mb-sm-0">Clients:</span>
                                    <span class="border-right pr-2 mr-2">Jaime Cressey</span>
                                    <span class="border-right pr-2 mr-2"> [email protected]</span>
                                    <span>355-456-789</span>
                                </div>
                                <a href="#" class="btn-gray">Send Message</a>
                            </div>
                        </div>
                        <div class="buttons-to-right">
                            <a href="#" class="btn-gray mr-2"><i class="far fa-times-circle mr-2"></i>Cancled</a>
                        </div>
                    </li>

                    <li class="position-relative booking">
                        <div class="media">
                            <div class="msg-img">
                                <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
                            </div>
                            <div class="media-body">
                                <h5 class="mb-4">Modern Hotel <span class="badge badge-danger ml-3">Cancled</span></h5>
                                <div class="mb-3">
                                    <span class="mr-2 d-block d-sm-inline-block mb-2 mb-sm-0">Booking Date:</span>
                                    <span class="btn-gray">20.03.2020 - 24.03.2020</span>
                                </div>
                                <div class="mb-3">
                                    <span class="mr-2 d-block d-sm-inline-block mb-2 mb-sm-0">Booking Details:</span>
                                    <span class="btn-gray">2 Adults</span>
                                </div>
                                <div>
                                    <span class="mr-2 d-block d-sm-inline-block mb-1 mb-sm-0">Clients:</span>
                                    <span class="border-right pr-2 mr-2">Tesha Stovall</span>
                                    <span class="border-right pr-2 mr-2"> [email protected]</span>
                                    <span>123-456-684</span>
                                </div>

                            </div>
                        </div>
                    </li>
                </ul>

            </div>
        </div>

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

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 4.4.1 included, to get the result that you can see in the preview selection

body{
    background: #f6f9fc;
    margin-top:20px;}
/* booking */

.bg-light-blue {
    background-color: #e9f7fe !important;
    color: #3184ae;
    padding: 7px 18px;
    border-radius: 4px;
}

.bg-light-green {
    background-color: rgba(40, 167, 69, 0.2) !important;
    padding: 7px 18px;
    border-radius: 4px;
    color: #28a745 !important;
}

.buttons-to-right {
    position: absolute;
    right: 0;
    top: 40%;
}

.btn-gray {
    color: #666;
    background-color: #eee;
    padding: 7px 18px;
    border-radius: 4px;
}

.booking:hover .buttons-to-right .btn-gray {
    opacity: 1;
    transition: .3s;
}

.buttons-to-right .btn-gray {
    opacity: 0;
    transition: .3s;
}

.btn-gray:hover {
    background-color: #36a3f5;
    color: #fff;
}

.booking {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.booking:last-child {
    margin-bottom: 0px;
    border-bottom: none;
    padding-bottom: 0px;
}

@media screen and (max-width: 575px) {
    .buttons-to-right {
        top: 10%;
    }
    .buttons-to-right a {
        display: block;
        margin-bottom: 20px;
    }
    .buttons-to-right a:last-child {
        margin-bottom: 0px;
    }
    .bg-light-blue,
    .bg-light-green,
    .btn-gray {
        padding: 7px;
    }
}

.card {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    box-shadow: none;
    border: none;
    padding: 25px;
}
.mb-5, .my-5 {
    margin-bottom: 3rem!important;
}
.msg-img {
    margin-right: 20px;
}
.msg-img img {
    width: 60px;
    border-radius: 50%;
}
img {
    max-width: 100%;
    height: auto;
}

Similar snippets

Bootstrap example and template. messages chat widget

messages chat widget

Bootstrap example and template. list projects

list projects

Bootstrap example and template. bs4 favorite product profile

bs4 favorite product profile

Bootstrap example and template. bs4 activity list

bs4 activity list

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. bs4 profile settings page

bs4 profile settings page

Bootstrap example and template. bs4 account tickets

bs4 account tickets

Bootstrap example and template. profile with data and skills

profile with data and skills

Bootstrap example and template. Booking Requests list

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 13.3K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.4.1

<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>

<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>

This code example is based on bootstrap 4.4.1 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working