Subversion Repositories SmartDukaan

Rev

Rev 29850 | Rev 31147 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<section class="wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header">
                <i class="icon_document_alt"></i>Customer Offer
            </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>Customer Offer</li>
            </ol>
        </div>
    </div>


    <div class="row">

        <div class="form-group col-lg-3">
            <label for="offerName">Offer Name</label>
            <input id="offername" placeholder="Offer Name" type="text"
                   class="form-control input-sm"/>
        </div>


        <div class="form-group col-lg-2">
            <label for="offerDuration">Duration</label>
            <input placeholder="Set Duration" name="dateRange" id="offerDuration" name="dateRange"
                   type="text" value="" class="form-control input-sm">
        </div>


        <div class="form-groupcol-lg-2" style="margin-top:20px">

            <input type="button" class="btn btn-default createoffer"
                   value="Create">
        </div>
    </div>


    <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="offer-customer-table" style="width:100%">

            <thead style="background:#F5F5F5;">

            <tr>
                <th>Id</th>
                <th>Offer Name</th>
                <th>Duration</th>
                <th>Download</th>
                <th>Upload</th>

            </tr>
            </thead>
            <tbody>
                #foreach($co in $customerOffers )

                <tr>
                    #parse("customer-index-offer.vm")

                </tr>

                #end

            </tbody>

        </table>
    </div>

</section>


<script type="text/javascript">
    $(function () {
        $('input[name="dateRange"]').daterangepicker(getRangedDatePicker());
        $('input[name="extendEndDate"]').daterangepicker(getSingleDatePicker());
    });


    $(document).ready(function () {


        var dtable = $('#offer-customer-table').DataTable({
            "scrollX": true,
            "scrollY": "518px",
            scrollCollapse: true,
        });


    });

</script>