Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
29707 tejbeer 1
<section class="wrapper">
2
	<div class="row">
3
		<div class="col-lg-12">
4
			<h3 class="page-header">
5
				<i class="icon_document_alt"></i>Customer Offer
6
			</h3>
7
			<ol class="breadcrumb">
8
				<li><i class="fa fa-home"></i><a
9
					href="${rc.contextPath}/dashboard">Home</a></li>
10
				<li><i class="icon_document_alt"></i>Customer Offer</li>
11
			</ol>
12
		</div>
13
	</div>
14
 
15
 
16
	<div class="row">
17
 
18
         <div class="form-group col-lg-3">
19
                        <label for="offerName">Offer Name</label>
20
				<input id="offername" placeholder="Offer Name" type="text"
21
					 class="form-control input-sm" />
22
			</div>
23
 
24
 
25
 
26
 
27
		     <div class="form-group col-lg-2">
28
                        <label for="offerDuration">Duration</label>
29
                        <input placeholder="Set Duration" name="dateRange" id="offerDuration" name="dateRange"
30
                               type="text" value="" class="form-control input-sm">
31
                    </div>
32
 
33
 
34
		<div class="form-groupcol-lg-2" style="margin-top:20px">
35
 
36
			<input type="button"  class="btn btn-default createoffer"
37
				value="Create">
38
		</div>
39
	</div>
40
 
41
 
42
		 <div class="col-lg-12">
43
        <table class="table table-border table-condensed table-bordered" id="offer-customer-table" style="width:100%">
44
 
45
            <thead style="background:#F5F5F5;">
46
 
47
            <tr>
29850 tejbeer 48
            <th>Id</th>
29707 tejbeer 49
                <th>Offer Name</th>
50
                <th>Duration</th>
51
                <th>Download</th>
52
                <th>Upload</th>
53
 
54
            </tr>
55
            </thead>
56
            <tbody>
57
                #foreach($co in $customerOffers )
58
 
59
                <tr>
60
                   #parse("customer-index-offer.vm")
61
 
62
                </tr>
63
 
64
                #end
65
 
66
            </tbody>
67
 
68
        </table>
69
    </div>
70
 
71
</section>
72
 
73
 
74
 
75
<script  type="text/javascript">
76
    $(function () {
77
        $('input[name="dateRange"]').daterangepicker(getRangedDatePicker(), dateRangeCallback);
78
 
79
        $('input[name="extendEndDate"]').daterangepicker(getSingleDatePicker(), dateRangeCallback);
80
 
81
 
82
    });
83
 
84
 
85
 
86
 
87
    $(document).ready(function () {
88
 
89
 
90
 
91
      var dtable = $('#offer-customer-table').DataTable({
92
             "scrollX": true,
93
            "scrollY": "518px",
94
            scrollCollapse: true,
95
        });
96
 
97
 
98
    });
99
 
100
</script>