Subversion Repositories SmartDukaan

Rev

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

<style>
.row{
        margin:0 auto;
}
.modal-content{
                background : white;
        }
        .modelHeaderCustom{
                font-size:14px;
                font-weight:bold;
        }
        .border-highlight{
                border : 3px solid red;
        }
        hr{
                background-color:#007aff;
                border:none;
                height:1px;
                background:#007aff;
        }
        .control-label {
                margin-top: 0;
        margin-bottom: 0;
        padding-top: 7px;
        font-weight:bold;
        font-size:14px;
        }
        .form-group{
                border-bottom: 1px solid #eff2f7;
        padding-bottom: 15px;
        margin-bottom: 15px;
        }
        .right{
                float:right;
        }
        .form-control{
                color:black;
                text-transform:uppercase;
        }
.table-align-center{
        text-align:center;
}

</style>

<script type="text/javascript">
        var cartItemIndex = 0;
</script>

<section class="wrapper">
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header"><i class="icon_document_alt"></i>SCHEME</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>SCHEME</li>                                                        
                        </ol>
                </div>
        </div>
        <form id="create-scheme-form">
                <div id="customer-details" style="background:white;background-color:white;padding:10px;">
                        <h4 class="modelHeaderCustom" style="font-size:22px;">Scheme Information</h4>
                        <div>
                                <div class = "row">
                                        <div class="col-lg-2 form-group">
                                                <input placeholder="Name" id="schemeName" name="schemeName" type="text" value="" class="form-control input-sm">
                                        </div>
                                        <div class="col-lg-2 form-group">
                                                <input placeholder="Description" id="description" name="description" type="text" value="" class="form-control input-sm">
                                        </div>
                                        <div class="col-lg-2 form-group">
                                                <select class="form-control input-sm" id = "schemeType" name = "schemeType" placeholder="Type">
                                                        <option value="" disabled selected>Type</option>
                                        <option value="IN">In</option>
                                        <option value="OUT">Out</option>
                                </select>
                                        </div>
                                        <div class="col-lg-2 form-group">
                                                <select class="form-control input-sm" id = "amountType" name = "amountType" placeholder="Amount Type">
                                                        <option value="" disabled selected>Amount Type</option>
                                        <option value="PERCENTAGE">Percentage</option>
                                        <option value="FIXED">Fixed</option>
                                </select>
                                        </div>
                                        <div class="col-lg-2 form-group">
                                                <input placeholder = "Amount" id="schemeAmount" name="schemeAmount" type="number" value="0" class="form-control phone input-sm">
                                        </div>
                                        <div class="col-lg-2 form-group">
                                                <input placeholder = "Start Date" id="startDate" name="startDate" type="datetime-local" value="" class="form-control input-sm">
                                        </div>
                                </div>
                                <div class="row">
                                        <div class="col-lg-2 form-group">
                                                <input placeholder = "End Date" id="endDate" name="endDate" type="datetime-local" value="" class="form-control input-sm">
                                        </div>
                                        <div class="col-lg-3 form-group">
                                                <input placeholder="Item Ids" id="itemIds" name="itemIds" type="text" value="" pattern="^[0-9]{1,10}(?:,[0-9]{1,4})*$" title="Comma Seperated Positive Integer Item Ids" class="form-control input-sm">
                                        </div>
                                        <div class="col-lg-1 form-group">
                                                <span><input placeholder = "Active" id="schemeActive" name="schemeActive" type="checkbox" value="false">Active</span>
                                        </div>
                                        <div class="col-lg-2 form-group">
                                                <span><input placeholder = "Retailer All" id="retailerAll" name="retailerAll" type="checkbox" value="true" checked>Retailer All</span>
                                        </div>
                                        <div class="col-lg-2" id="retailer-ids">
                                                
                                        </div>
                                </div>
                        </div>
                </div>
        
                <div id="create-scheme" style="padding:10px;">
                        <div class="row">
                                <div class="col-xs-3" style="float:right;">
                                        <button class="btn btn-primary new-scheme" type="submit" style="width:100%;border-radius:0px;">Create Scheme</button>   
                                </div>
                        </div>
                </div>
        </form>
</section>
<script type="text/javascript" src="${rc.contextPath}/resources/js/scheme.js"></script>