Subversion Repositories SmartDukaan

Rev

Rev 29850 | Rev 31147 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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