Subversion Repositories SmartDukaan

Rev

Rev 28879 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
28847 manish 1
<link href="https://cdn.datatables.net/fixedcolumns/3.3.0/css/fixedColumns.bootstrap.css" rel="stylesheet"/>
2
 
3
<section class="wrapper">
4
    <div class="row">
5
        <div class="col-lg-12">
6
            <h3 class="page-header"><i class="icon_document_alt"></i>Dashboard Training</h3>
7
            <ol class="breadcrumb">
8
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
9
                <li><i class="icon_document_alt"></i>Partner Dashboard Training</li>
10
            </ol>
11
        </div>
12
    </div>
13
    <div class="col-lg-12">
14
        <table class="table table-border table-condensed table-bordered" id="partnerDashboardTraining" style="width:100%">
15
 
16
            <thead class="row htable" style="background:#F5F5F5;">
17
 
18
            <tr style="color:black;">
19
                <th>Id</th>
20
                <th>Outlet Name</th>
28879 manish 21
                 <th>Phone Number</th>
28847 manish 22
                <th>City</th>
23
                <th>Brand Fees</th>
24
                <th>Brand Fees Recived</th>
25
                <th>Dashbaord Training</th>
26
                <th>App Training</th>
27
                <th>Date Completed</th>
28
                <th>Training Complete</th>
29
            </tr>
30
            </thead>
31
            <tbody>
32
                #foreach($pob in $partnerOnBoardingPendings )
28901 manish 33
                #if($pob.getHoldTimestamp())
34
                <tr class="hold-training">
28847 manish 35
                   #parse("partner-dashboard-training-index.vm")
36
 
37
                </tr>
28901 manish 38
                #else
39
                 <tr>
40
                   #parse("partner-dashboard-training-index.vm")
41
 
42
                </tr>
28847 manish 43
                #end
28901 manish 44
 
45
                #end
28847 manish 46
 
47
            </tbody>
48
 
49
        </table>
50
    </div>
51
</section>
52
 
53
 
54
<script type="text/javascript">
55
 
56
    $(document).ready(function () {
57
 
58
 
59
 
60
      var dtable = $('#partnerDashboardTraining').DataTable({
61
             "scrollX": true,
62
            "scrollY": "518px",
63
            scrollCollapse: true,
64
              "fixedHeader": true,
65
 
66
        fixedColumns:   {
67
            leftColumns: 2
68
        },
69
 
70
     });   
71
 
72
 
73
    });
74
 
75
 
76
</script>
77
 
78
 
79
<style>
28901 manish 80
.hold-training td{
81
 
82
background-color: crimson !important;
83
 
84
}
28847 manish 85
</style>