"tab in bs4"
Bootstrap 4.1.1 Snippet by ravic9089

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-md-3 mb-3"> <ul class="nav nav-pills flex-column" id="myTab" role="tablist"> <li class="nav-item"> <a class="nav-link active" id="home-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="home" aria-selected="true"><img height="20" width="20" src="{{asset('upload/images/order.png')}}">  Profile <span class="float-right"><i class="fa fa-caret-right"></i></span></a> </li> <li class="nav-item"> <a class="nav-link" id="profile-tab" data-toggle="tab" href="#orders" role="tab" aria-controls="profile" aria-selected="false"><img height="20" width="20" src="{{asset('upload/images/order.png')}}">   Orders <span class="float-right"><i class="fa fa-caret-right"></i></span></a> </li> <li class="nav-item"> <a class="nav-link" id="contact-tab" data-toggle="tab" href="#subscriptions" role="tab" aria-controls="contact" aria-selected="false"><img height="20" width="20" src="{{asset('upload/images/subscriptions.png')}}">   Subscriptions <span class="float-right"><i class="fa fa-caret-right"></i></span></a> </li> <li class="nav-item"> <a class="nav-link" id="contact-tab" data-toggle="tab" href="#prescriptions" role="tab" aria-controls="contact" aria-selected="false"><img height="20" width="20" src="{{asset('upload/images/prescripstion.png')}}">   Prescriptions <span class="float-right"><i class="fa fa-caret-right"></i></span></a> </li> <li class="nav-item"> <a class="nav-link" id="contact-tab" data-toggle="tab" href="#wallet" role="tab" aria-controls="contact" aria-selected="false"><img height="20" width="20" src="{{asset('upload/images/wallet.png')}}">  Wallet <span class="float-right"><i class="fa fa-caret-right"></i></span></a> </li> <li class="nav-item"> <a class="nav-link" id="contact-tab" data-toggle="tab" href="#patients" role="tab" aria-controls="contact" aria-selected="false"><img height="20" width="20" src="{{asset('upload/images/manage_patient.png')}}">   Manage Patients <span class="float-right"><i class="fa fa-caret-right"></i></span></a> </li> <li class="nav-item"> <a class="nav-link" id="contact-tab" data-toggle="tab" href="#address" role="tab" aria-controls="contact" aria-selected="false"><img height="20" width="20" src="{{asset('upload/images/address.png')}}">   Manage Address <span class="float-right"><i class="fa fa-caret-right"></i></span></a> </li> <li class="nav-item"> <a class="nav-link" id="contact-tab" data-toggle="tab" href="#help" role="tab" aria-controls="contact" aria-selected="false"><img height="20" width="20" src="{{asset('upload/images/help.png')}}">   Help <span class="float-right"><i class="fa fa-caret-right"></i></span></a> </li> <li class="nav-item"> <a class="nav-link" id="contact-tab" data-toggle="tab" href="#legal" role="tab" aria-controls="contact" aria-selected="false"><img height="20" width="20" src="{{asset('upload/images/legal.png')}}">   Legal <span class="float-right"><i class="fa fa-caret-right"></i></span></a> </li> </ul> </div> <!-- /.col-md-4 --> <div class="col-md-9"> <div class="tab-content" id="myTabContent"> <div class="tab-pane fade show active" id="profile" role="tabpanel" aria-labelledby="home-tab"> <div style="background-color:#2772ef;" class="card"> <h4 class="text-white">PROFILE</h4> </div> <form class="" action="" method="post"> <div class="row input-my"> <div class="col-md-6 "> <div class="form-group"> <label for="">Name</label> <input type="text" name="name" class="form-control" id="" placeholder="Enter Name" value=""> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="">Mobile Number</label> <input name="phone" type="text" class="form-control" id="" placeholder="Enter Mobile number" value=""> </div> </div> </div> <div class="row input-my"> <div class="col-md-6"> <div class="form-group"> <label for="">Email</label> <input type="email" name="email" class="form-control" id="" placeholder="Enter Email Id" value=""> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="">Date of Birth</label> <input type="date" name="dob" class="form-control" id="" placeholder="Enter date of birth" value=""> </div> </div> </div> <div class="row input-my"> <div class="col-md-6"> <div class="form-group"> <label for="">Gender</label> <select class="form-control" name="gender"> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="">Blood Group</label> <select class="form-control" name="blood"> <option value="AB">AB</option> <option value="O-">O-</option> <option value="O+">O+</option> </select> </div> </div> </div> <div class="row input-my"> <!--<div class="col-md-6"> <div class="form-group"> <label for="">Height</label> <select class="form-control" name="height"> <option value="" selected disabled>Select Height</option> <option value="">5 ft 2 in</option> <option value="">5 ft 3 in</option> </select> </div> </div>--> <div class="col-md-6"> <div class="form-group"> <label for="">Height</label> <input type="text" name="height" class="form-control" id="" placeholder="Enter Emergency Number" value=""> </div> </div> <!--<div class="col-md-6"> <div class="form-group"> <label for="">Weight</label> <select class="form-control" name="b-group"> <option value="" selected disabled>Select Weight</option> <option value="">50</option> <option value="">55</option> </select> </div> </div>--> <div class="col-md-6"> <div class="form-group"> <label for="">Weight</label> <input type="text" name="weight" class="form-control" id="" placeholder="Enter Emergency Number" value=""> </div> </div> </div> <div class="row input-my"> <div class="col-md-6"> <div class="form-group"> <label for="">Marital Status</label> <select class="form-control" name="mstatus"> <option value="" selected disabled>Select Status</option> <option value="Married">Married</option> <option value="Unmarried">Unmarried</option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="">Emergency Number</label> <input type="text" name="emgno" class="form-control" id="" placeholder="Enter Emergency Number" value=""> </div> </div> </div> <div class="form-group text-center"> <input type="submit" class="btn btn-primary white-txt" value="Update Informarion"> </div> </form> </div> <div class="tab-pane fade" id="orders" role="tabpanel" aria-labelledby="profile-tab"> <div style="background-color:#2772ef;" class="card"> <h4 class="text-white">ORDERS</h4> </div> <div class="row"> @php if(sizeof($orders)>0){ @endphp @foreach($orders as $order) <div class="col-md-6"> <div class="card my-card"> <h5 class="card-title text-left text-warning"><i class="fa fa-times"></i>  Order In Process</h5> @php $usr = App\User::find($order['userId']); @endphp <h6>{{$usr['name']}}</h6> <div><span class="float-left"><img height="20" width="20" src="{{asset('upload/images/cart.png')}}"> Order ID</span><span class="float-right">{{$order['order_id']}}</span></div> <div><span class="float-left"><img height="20" width="20" src="{{asset('upload/images/cal.png')}}">Order Date</span><span class="float-right">{{date('jS F, o', strtotime($order->created_at))}}</span></div> <hr> <div class="text-right text-primary"><a href="{{route('user.reorder',[$order->id,$order->product_id])}}">Reorder</a></div> </div> </div> <!--<div class="col-md-6"> <div class="card my-card"> <h5 class="card-title text-left text-danger"><i class="fa fa-check"></i>   Order Cancelled</h5> <h6>Ashish Agarwal</h6> <div><span class="float-left"><img height="20" width="20" src="{{asset('upload/images/cart.png')}}"> Order ID</span><span class="float-right">P01457895125</span></div> <div><span class="float-left"><img height="20" width="20" src="{{asset('upload/images/cal.png')}}">Order Date</span><span class="float-right">10 December 2019,4:19PM</span></div> <hr> <div class="text-right text-primary">Reorder</div> </div> </div>--> @endforeach @php }else{ @endphp <h5 style="color:red;width:100%;" class="text-center">No Order found !!</h5> @php } @endphp </div> </div> <div class="tab-pane fade" id="wallet" role="tabpanel" aria-labelledby="contact-tab"> <div style="background-color:#2772ef;" class="card my-card-p"> <h4 class="text-white">JAAYU WALLET</h4> </div> <div class="card my-card-p"> <span><h5 class="float-left "><b>Balance</b></h5><p class="float-right"><b>Rs 53.00</b></p></span> </div> <div class="card my-card-p"> <span><p class="float-left "><b>Amount Recived</b></p><p class="float-right">Rs 53.00</p></span> <span><p class="float-left text-secondary "><b>Refund to Wallet Against</b></p><p class="float-right text-secondary">22nd Nov,2019</p></span> <span><p class="float-left text-secondary"><b>Order:123456789</b></p></span> </div> <div class="card my-card-p"> <span><p class="float-left "><b>Amount Recived</b></p><p class="float-right"><b>Rs 53.00</b></p></span> <span><p class="float-left text-secondary "><b>Refund to Wallet Against</b></p><p class="float-right text-secondary"> Nov,2019</p></span> <span><p class="float-left text-secondary"><b>Order:123456789</b></p></span> </div> </div> <div class="tab-pane fade" id="legal" role="tabpanel" aria-labelledby="contact-tab"> <div style="background-color:#2772ef;" class="card my-card-p"> <h4 class="text-white">LEGAL</h4> </div> <section class="mainlegal-sec"> <div class="container"> <div class="row"> <div class="col-md-12"> <!--<div class="legal-sec">--> <!-- <p class=""><i class="fa fa-long-arrow-left" aria-hidden="true"></i>    Legal</p>--> <!--</div> --> <div id="accordion"> <div class="card"> <div class="card-header"> <a class="card-link" data-toggle="collapse" href="#collapseOne"> <p>Privacy Policy<span class="float-right"><i class="fa fa-angle-right" aria-hidden="true"></i></span></p> </a> </div> <div id="collapseOne" class="collapse" data-parent="#accordion"> <div class="card-body"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </div> </div> </div> <div class="card"> <div class="card-header"> <a class="collapsed card-link" data-toggle="collapse" href="#collapseTwo"> <p>Privacy Policy<span class="float-right"><i class="fa fa-angle-right" aria-hidden="true"></i></span></p> </a> </div> <div id="collapseTwo" class="collapse" data-parent="#accordion"> <div class="card-body"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </div> </div> </div> <div class="card"> <div class="card-header"> <a class="collapsed card-link" data-toggle="collapse" href="#collapseThree"> <p>Privacy Policy<span class="float-right"><i class="fa fa-angle-right" aria-hidden="true"></i></span></p> </a> </div> <div id="collapseThree" class="collapse" data-parent="#accordion"> <div class="card-body"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </div> </div> </div> </div> </div> </div> </div> </section> </div> <!--address--> <div class="tab-pane fade" id="address" role="tabpanel" aria-labelledby="contact-tab"> <div style="background-color:#2772ef;" class="card"> <h6 class="text-white"><p class="float-left">ADDRESS</p><p class="float-right"><a href="#" data-toggle="modal" data-target="#myModal2">Add New </a></p></h6> </div> <div class="row"> <div class="col-md-6"> <div class="card my-card"> <div class="row"> <span class="col-md-2"> <img height="40" width="40" src="{{asset('upload/images/legal.png')}}"> </span> <span class="col-md-10"> <h6>Yash home</h6> <hr> <p>Ashish</p> <p>Kolkata</p> <p>107,salt lake 70014</p> <p>7894561230</p> <p><span class="float-left"><a href=""><i class="fa fa-trash-o"></i>Remove</a></span> <span class="float-right"><a href="#" data-toggle="modal" data-target="#myModal1"><i class="fa fa-pencil-square-o"></i>Edit</a></span> </p> </span> </div> </div> </div> <div class="col-md-6"> <div class="card my-card"> <div class="row"> <span class="col-md-2"> <img height="40" width="40" src="{{asset('upload/images/legal.png')}}"> </span> <span class="col-md-10"> <h6>Home</h6> <hr> <p>Ashish</p> <p>Kolkata</p> <p>107,salt lake 70014</p> <p>7894561230</p> <p><span class="float-left"><a href=""><i class="fa fa-trash-o"></i>Remove</a></span> <span class="float-right"><a href=""><i class="fa fa-pencil-square-o"></i>Edit</a></span> </p> </span> </div> </div> </div> </div> </div> </div> </div> <!-- /.col-md-8 --> </div> </div>

Related: See More


Questions / Comments: