Subversion Repositories SmartDukaan

Rev

Rev 28901 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<link href="https://cdn.datatables.net/fixedcolumns/3.3.0/css/fixedColumns.bootstrap.css" rel="stylesheet"/>

<section class="wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header"><i class="icon_document_alt"></i>Dashboard Training</h3>
            <ol class="breadcrumb">
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
                <li><i class="icon_document_alt"></i>Partner Dashboard Training</li>
            </ol>
        </div>
    </div>
    <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="partnerDashboardTraining" style="width:100%">

            <thead class="row htable" style="background:#F5F5F5;">

            <tr style="color:black;">
                <th>Id</th>
                <th>Outlet Name</th>
                 <th>Phone Number</th>
                <th>City</th>
                <th>Brand Fees</th>
                <th>Brand Fees Recived</th>
                <th>Dashbaord Training</th>
                <th>App Training</th>
                <th>Training Planed</th>
                <th>Date Completed</th>
                <th>Training Complete</th>
            </tr>
            </thead>
            <tbody>
                #foreach($pob in $partnerOnBoardingPendings )
                #if($pob.getHoldTimestamp())
                <tr class="hold-training">
                   #parse("partner-dashboard-training-index.vm")

                </tr>
                #else
                 <tr>
                   #parse("partner-dashboard-training-index.vm")

                </tr>
                #end
                
                #end

            </tbody>

        </table>
    </div>
</section>


<script type="text/javascript">

    $(document).ready(function () {
    
    
                
      var dtable = $('#partnerDashboardTraining').DataTable({
             "scrollX": true,
            "scrollY": "518px",
            scrollCollapse: true,
              "fixedHeader": true,
             
        fixedColumns:   {
            leftColumns: 2
        },
        
     });   
     
     
    });
   
    
</script>


<style>
.hold-training td{

background-color: crimson !important;
 
}
</style>