Subversion Repositories SmartDukaan

Rev

Rev 3872 | 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:c="urn:import:com.google.gwt.user.cellview.client"
        xmlns:catalog="urn:import:in.shop2020.catalog.dashboard.client">
    
        <ui:image field='gradient' src='gradient_bg_dark.png' repeatStyle='Horizontal'/>
        
        <ui:style>
                .outer {
                        border-left: 1px solid #999;
                        border-bottom: 1px solid #999;
                        cursor: pointer;
                        cursor: hand;
                }
                
                @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;
                }
                
                .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>

        <ui:style field='selectionStyle'
                type='in.shop2020.catalog.dashboard.client.ItemList.SelectionStyle'>
                        .alertsRow {
                                color: red
                        }
                        
                        .alertsRow td {
                                border-top: 1px solid #88a4d6;
                                border-bottom: 1px solid #7b97d0;
                        }
                        
                        .selectedRow {
                                background: #adcce7;
                        }
                        
                        .selectedRow td {
                                border-top: 1px solid #88a4d6;
                                border-bottom: 1px solid #7b97d0;
                        }
                </ui:style>

        <g:DockLayoutPanel styleName='{style.outer}' unit='EM'>
        <g:north size="1.5">
            <g:Label styleName='{style.header}' ui:field='currentlyShowing'></g:Label>
        </g:north>
                <g:center>
                        <g:ScrollPanel>
                  <c:CellTable addStyleNames='{style.table}' pageSize='50' ui:field='itemDescriptionTable' />
                        </g:ScrollPanel>
                </g:center>
                <g:south size="2.0">
                        <c:SimplePager ui:field='pager' location='CENTER'/>
                </g:south>
        </g:DockLayoutPanel>
</ui:UiBinder>