Subversion Repositories SmartDukaan

Rev

Rev 18048 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
        xmlns:g='urn:import:com.google.gwt.user.client.ui' xmlns:mail='urn:import:in.shop2020.catalog.dashboard.client'
        xmlns:dp="urn:import:com.google.gwt.user.datepicker.client">

        <ui:image field='gradient' src='gradient_bg_dark.png'
                repeatStyle='Horizontal' />

        <ui:style>
                @sprite .header {
                gwt-image: 'gradient';
                background-color:
                #d3d6dd;
                table-layout: fixed;
                width: 100%;
                height: 100%;
                }
                .header td {
                font-weight: bold;
                text-shadow: #fff 0 2px 2px;
                padding: 2px 0 1px 10px;
                border-top: 1px solid #999;
                border-bottom: 1px solid #999;
                }
                .numeric-box{
                text-align: right;
                }
                .table {
                table-layout: fixed;
                width:
                100%;
                }
                .table td {
                border-top: 1px solid #fff;
                border-bottom: 1px solid
                #fff;
                padding: 2px 0 2px 10px;
                }
    </ui:style>

        <g:ScrollPanel>
                <g:HTMLPanel width='900px'>
                        <table>
                                <tr>
                                        <td>
                                                <g:Label>Product Group</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="productGroup"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>Catalog Item Id</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox styleName='{style.numeric-box}' ui:field="catalogItemId"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Categories</g:Label>
                                        </td>
                                        <td>
                                                <g:ListBox ui:field="categories"></g:ListBox>
                                        </td>
                                        <td>
                                                <g:Label>HSN Codes</g:Label>
                                        </td>
                                        <td>
                                                <g:ListBox  ui:field="hsnCode"></g:ListBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Brand</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="brand"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>Model Number</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="modelNumber"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Model Name</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="modelName"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>Color</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="color"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Comments</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="comments"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>MRP</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox styleName='{style.numeric-box}' ui:field="mrp"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Selling Price</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox styleName='{style.numeric-box}' ui:field="sellingPrice"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>Weight (in kg)</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox styleName='{style.numeric-box}' ui:field="weight"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Start Date</g:Label>
                                        </td>
                                        <td>
                                                <dp:DateBox ui:field="startDate"></dp:DateBox>
                                        </td>
                                        <td>
                                                <g:Label>Retire Date</g:Label>
                                        </td>
                                        <td>
                                                <dp:DateBox ui:field="retireDate"></dp:DateBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Best Deal Text</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="bestDealText"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>Best Deal Value</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox styleName='{style.numeric-box}' ui:field="bestDealValue"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Min Number Of Days Stock</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox styleName='{style.numeric-box}' ui:field="numOfDaysStock"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>Mininum Stock Level</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox styleName='{style.numeric-box}' ui:field="minStockLevel"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Best Selling Rank</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox styleName='{style.numeric-box}' ui:field="bestSellingRank"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>Preferred Vendor</g:Label>
                                        </td>
                                        <td>
                                                <g:ListBox ui:field="preferredVendor"></g:ListBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Best Deals Details Text</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox styleName='{style.numeric-box}' ui:field="bestDealsDetailsText"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>Best Deals Details Link</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="bestDealsDetailsLink"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Button ui:field="comingSoonButton" text="Coming Soon"></g:Button>
                                        </td>
                                        <td>
                                                <g:CheckBox ui:field="showSellingPrice" enabled="false">Show
                                                        Selling Price</g:CheckBox>
                                        </td>
                                        <td>
                                                <g:Label>Coming Soon Start Date</g:Label>
                                        </td>
                                        <td>
                                                <dp:DateBox ui:field="comingSoonStartDate" enabled="false"></dp:DateBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Clearance sale:</g:Label>
                                        </td>
                                        <td>
                                                <g:CheckBox ui:field="clearance"></g:CheckBox>
                                        </td>
                                        <td>
                                                <g:Label>Expected Arrival Date</g:Label>
                                        </td>
                                        <td>
                                                <dp:DateBox ui:field="expectedArrivalDate" enabled="false"></dp:DateBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Default For Entity</g:Label>
                                        </td>
                                        <td>
                                                <g:CheckBox ui:field="defaultForEntity"></g:CheckBox>
                                        </td>
                                        <td>
                                                <g:Label>Is Risky</g:Label>
                                        </td>
                                        <td>
                                                <g:CheckBox ui:field="risky"></g:CheckBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Has Serial Number</g:Label>
                                        </td>
                                        <td>
                                                <g:CheckBox ui:field="itemType"></g:CheckBox>
                                        </td>
                                        <td>
                                                <g:Label>Has Item Number</g:Label>
                                        </td>
                                        <td>
                                                <g:CheckBox ui:field="hasItemNo"></g:CheckBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Preferred Insurer</g:Label>
                                        </td>
                                        <td>
                                                <g:ListBox ui:field="preferredInsurer"></g:ListBox>
                                        </td>
                                        <td>
                                                <g:Label>Freebie ItemId </g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox styleName='{style.numeric-box}' ui:field="freebieItemId"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>ASIN</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="asin"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>Hold Inventory</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="holdInventory"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Default Inventory</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="defaultInventory"></g:TextBox>
                                        </td>
                                        <td>
                                                <g:Label>Add Using Existing Item Id</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="existingItemId"></g:TextBox>
                                                <g:Button text='Search' ui:field='searchButton' />
                                        </td>
                                </tr>
                                <tr>
                                        <td>
                                                <g:Label>Pack Quantity</g:Label>
                                        </td>
                                        <td>
                                                <g:TextBox ui:field="packQuantity"></g:TextBox>
                                        </td>
                                </tr>
                                <tr>
                                        <td colspan='3' align='center'>
                                                <g:VerticalPanel>
                                                        <g:Label>Vendor Keys</g:Label>
                                                        <g:FlexTable ui:field='headerVendorM' styleName='{style.header}'
                                                                cellSpacing='0' cellPadding='0' />
                                                        <g:FlexTable ui:field='vendorTableM' styleName='{style.table}'
                                                                cellSpacing='0' cellPadding='0' />
                                                        <g:Label>Vendor Prices</g:Label>
                                                        <g:FlexTable ui:field='headerVendor' styleName='{style.header}'
                                                                cellSpacing='0' cellPadding='0' />
                                                        <g:FlexTable ui:field='vendorTable' styleName='{style.table}'
                                                                cellSpacing='0' cellPadding='0' />
                                                        <!-- <g:Button ui:field="addVendorPrices">Add Vendor Prices</g:Button> -->
                                                </g:VerticalPanel>
                                        </td>
                                </tr>
                                <tr>
                                        <td colspan='2' align='center'>
                                                <g:Button text='Add' ui:field='addButton' />
                                                <!-- &nbsp; -->
                                                <g:Button text='Cancel' ui:field='cancelButton' />
                                        </td>
                                </tr>
                        </table>
                </g:HTMLPanel>
        </g:ScrollPanel>
</ui:UiBinder>