Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<style>
        .table-striped > tbody > tr:nth-child(odd) > td{
  background: white;
  background-color: white;
}
.table-striped > tbody > tr:nth-child(even) > td{
  background: white;
  background-color:white;
}
#add-compare-button{
color: white;
background-color: #008CBA;
}
#add-compare-button:hover{
color: red;
}
.table-striped > tbody > tr:hover > td,
        .table-striped > tbody > tr:hover {
          background-color: #e98c8f;
          color:white;
        }
        .btn:hover{
        color: grey;
        text-decoration: none;
        }
        .btn-primary:hover{
        color: grey;
        text-decoration: none;
        }
        .add-to-bag{
                cursor:pointer;
        }
        modal-dialog.modal-lg{
                left:10%;
                right:auto;
                width:80%;
        }
        .modal-content{
                background : white;
        }
        .modelHeaderCustom{
                font-size:14px;
                font-weight:bold;
        }
        hr{
                background-color:#007aff;
                border:none;
                height:1px;
                background:#007aff;
        }
</style>
        
<div class="container-catalog-similar">

              <div class="col-lg-12">
                                <table class="table table-striped table-advance table-hover">
                                        <tbody>
                                                <tr>
                                                        <th>Item Code</th>
                                                        <th>Brand</th>
                                                        <th>Model Name</th>
                                                        <th>Model Number</th>
                                                        <th>Color</th>
                                                        <th>MOP</th>
                                                        <th>Availability</th>
                                                        <th>Compare</th>
                                                </tr>
                                                #if(!$inventoryLists.isEmpty())
                                                         #foreach( $inventoryList in $inventoryLists )
                                                                <tr data="$inventoryList.getItemId()" class="add-to-bag" >
                                                                        <td>$inventoryList.getItemId()</td>
                                                                        <td>$inventoryList.getBrand()</td>
                                                                        <td>$inventoryList.getModelName()</td>
                                                                        <td>$inventoryList.getModelNumber()</td>
                                                                        <td>$inventoryList.getColor()</td>
                                                                        <td>$itemPriceing.get($inventoryList.getItemId())</td>
                                                                        <td>$inventoryList.getAvailability()</td>
                                                                        <td> <button class="add-compare-submit" id="add-compare-button" type="button">Compare</button></td>
                                                                </tr>
                                                         #end
                                                #else
                                                        <tr>
                                                                <td colspan="5" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
                                                        </tr>
                                                #end
                                        </tbody>
                                </table>
                        </div>
                        </div>