Subversion Repositories SmartDukaan

Rev

Rev 19013 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
167 ashish 1
<ui:UiBinder
2
  xmlns:ui='urn:ui:com.google.gwt.uibinder'
3
  xmlns:g='urn:import:com.google.gwt.user.client.ui'
4124 chandransh 4
  xmlns:c="urn:import:com.google.gwt.user.cellview.client"
167 ashish 5
  xmlns:mail='urn:import:in.shop2020.hotspot.dashbaord.client.inbox'>
6
 
7
  <ui:image field='gradient' src='gradient_bg_dark.png' repeatStyle='Horizontal'/>
8
 
9
  <ui:style>
10
  .outer {
11
    border-left: 1px solid #999;
12
    border-bottom: 1px solid #999;
13
    cursor: pointer;
14
    cursor: hand;
15
  }
16
 
17
  @sprite .header {
18
  	gwt-image: 'gradient';
19
  	background-color: #d3d6dd;
20
    table-layout: fixed;
21
    width: 100%;
22
    height: 100%;
23
  }
24
 
25
  .header td {
26
    font-weight: bold;
27
    text-shadow: #fff 0 2px 2px;
28
    padding: 2px 0 1px 10px;
29
    border-top: 1px solid #999;
30
    border-bottom: 1px solid #999;
31
  }
32
 
33
  .table {
34
    table-layout: fixed;
35
    width: 100%;
36
  }
37
 
38
  .table td {
39
    border-top: 1px solid #fff;
40
    border-bottom: 1px solid #fff;
41
    padding: 2px 0 2px 10px;
42
  }
43
  </ui:style>
44
 
45
  <ui:style field='selectionStyle'
46
    type='in.shop2020.hotspot.dashbaord.client.inbox.OrderList.SelectionStyle'>
306 ashish 47
 
4004 chandransh 48
  .fatalRow {	
19004 manish.sha 49
  	background-color:#A85030;
306 ashish 50
  }  
51
 
4004 chandransh 52
  .fatalRow td {
306 ashish 53
    border-top: 1px solid #88a4d6;
54
    border-bottom: 1px solid #7b97d0;
55
  }
167 ashish 56
 
4004 chandransh 57
  .criticalRow {	
58
  	background-color:orange;
59
  }
60
 
61
  .criticalRow td {
62
    border-top: 1px solid #88a4d6;
63
    border-bottom: 1px solid #7b97d0;
64
  }
65
 
167 ashish 66
  .selectedRow {
67
    background: #adcce7;
68
  }
69
 
70
  .selectedRow td {
71
    border-top: 1px solid #88a4d6;
72
    border-bottom: 1px solid #7b97d0;
73
  }
8717 amar.kumar 74
 
75
  .badInventory {	
19013 manish.sha 76
  	background-color: #e6e6e6;
8717 amar.kumar 77
  }
78
 
79
  .badInventory td {
80
    border-top: 1px solid #666666;
81
    border-bottom: 1px solid #666666;
82
  }
19005 manish.sha 83
 
84
  .todayShippingInStockRow {
19013 manish.sha 85
  	background-color: #38B04E;
19005 manish.sha 86
  }
87
 
88
  .todayShippingInStockRow td {
89
  	border-top: 1px solid #88a4d6;
90
    border-bottom: 1px solid #7b97d0;
91
  }
92
 
93
  .todayShippingNotInStockRow {
19013 manish.sha 94
  	background-color: #FF0000;
19005 manish.sha 95
  }
96
 
97
  .todayShippingNotInStockRow td {
98
  	border-top: 1px solid #88a4d6;
99
    border-bottom: 1px solid #7b97d0;
100
  }
101
 
102
  .laterShippingRow {
19101 manish.sha 103
  	background-color: #CD4ED0;
19005 manish.sha 104
  }
105
 
106
  .laterShippingRow td {
107
  	border-top: 1px solid #88a4d6;
108
    border-bottom: 1px solid #7b97d0;
109
  }
167 ashish 110
  </ui:style>
111
 
112
  <g:DockLayoutPanel styleName='{style.outer}' unit='EM'>
113
    <g:center>
4125 chandransh 114
      <!--
115
      Make sure the page size value below is same as that defined in the Constants interface. 
116
      Use a small value such as 10 in the dev environment while prod calls for using something
117
      like 50. 
118
 
119
      TODO: Find a way to use variables from other classes and interfaces here. It may not be possible.
120
      -->
4124 chandransh 121
      <c:DataGrid ui:field='table' addStyleNames='{style.table}' pageSize='50' />
122
	</g:center>
123
	<g:south size="2.0">
124
	  <c:SimplePager ui:field='pager' location='CENTER'/>
125
	</g:south>
167 ashish 126
  </g:DockLayoutPanel>
127
</ui:UiBinder>