Subversion Repositories SmartDukaan

Rev

Rev 19013 | 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:mail='urn:import:in.shop2020.hotspot.dashbaord.client.inbox'>

  <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.hotspot.dashbaord.client.inbox.OrderList.SelectionStyle'>
    
  .fatalRow {   
        background-color:#A85030;
  }  
  
  .fatalRow td {
    border-top: 1px solid #88a4d6;
    border-bottom: 1px solid #7b97d0;
  }

  .criticalRow {        
        background-color:orange;
  }
  
  .criticalRow 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;
  }
  
  .badInventory {       
        background-color: #e6e6e6;
  }
  
  .badInventory td {
    border-top: 1px solid #666666;
    border-bottom: 1px solid #666666;
  }
  
  .todayShippingInStockRow {
        background-color: #38B04E;
  }
  
  .todayShippingInStockRow td {
        border-top: 1px solid #88a4d6;
    border-bottom: 1px solid #7b97d0;
  }
  
  .todayShippingNotInStockRow {
        background-color: #FF0000;
  }
  
  .todayShippingNotInStockRow td {
        border-top: 1px solid #88a4d6;
    border-bottom: 1px solid #7b97d0;
  }
  
  .laterShippingRow {
        background-color: #CD4ED0;
  }
  
  .laterShippingRow td {
        border-top: 1px solid #88a4d6;
    border-bottom: 1px solid #7b97d0;
  }
  </ui:style>

  <g:DockLayoutPanel styleName='{style.outer}' unit='EM'>
    <g:center>
      <!--
      Make sure the page size value below is same as that defined in the Constants interface. 
      Use a small value such as 10 in the dev environment while prod calls for using something
      like 50. 
      
      TODO: Find a way to use variables from other classes and interfaces here. It may not be possible.
      -->
      <c:DataGrid ui:field='table' addStyleNames='{style.table}' pageSize='50' />
        </g:center>
        <g:south size="2.0">
          <c:SimplePager ui:field='pager' location='CENTER'/>
        </g:south>
  </g:DockLayoutPanel>
</ui:UiBinder>