@@ -13,12 +13,17 @@ const ProgressBar = require('../components/progress-bar');
13
13
14
14
const styles = {
15
15
overlay : {
16
- paddingBottom : 40
16
+ paddingBottom : 40 ,
17
+ width : 600
17
18
} ,
18
19
overlayFooter : {
19
20
marginLeft : 0 ,
20
21
display : 'flex'
21
22
} ,
23
+ errorSpan : {
24
+ color : '#FF0000' ,
25
+ display : 'inline-block'
26
+ } ,
22
27
deviceTable : {
23
28
width : '100%' ,
24
29
maxWidth : '100%' ,
@@ -39,6 +44,25 @@ const styles = {
39
44
verticalAlign : 'top' ,
40
45
borderTop : '1px solid #ddd'
41
46
} ,
47
+ statusTh : {
48
+ padding : '8px 8px 8px 0' ,
49
+ textAlign : 'left' ,
50
+ borderTop : 0 ,
51
+ borderBottom : '2px solid #ddd' ,
52
+ verticalAlign : 'bottom' ,
53
+ fontWeight : 'bold' ,
54
+ maxWidth : 160
55
+ } ,
56
+ statusTd : {
57
+ padding : '8px 8px 8px 0' ,
58
+ borderSpacing : 'collapse' ,
59
+ verticalAlign : 'top' ,
60
+ borderTop : '1px solid #ddd' ,
61
+ maxWidth : 160 ,
62
+ overflow : 'auto' ,
63
+ whiteSpace : 'nowrap' ,
64
+ color : '#333333'
65
+ } ,
42
66
scrollingContainer : {
43
67
height : 325 ,
44
68
overflow : 'auto' ,
@@ -94,6 +118,7 @@ class DownloadOverlay extends React.Component {
94
118
< td style = { styles . deviceTd } > { device . name } </ td >
95
119
< td style = { styles . deviceTd } > { device . version } </ td >
96
120
< td style = { styles . deviceTd } > { device . path } </ td >
121
+ < td style = { styles . statusTd } > { device . displayError } </ td >
97
122
</ tr >
98
123
) ;
99
124
}
@@ -136,6 +161,7 @@ class DownloadOverlay extends React.Component {
136
161
< th style = { styles . deviceTh } > Device</ th >
137
162
< th style = { styles . deviceTh } > Version</ th >
138
163
< th style = { styles . deviceTh } > Port</ th >
164
+ < th style = { styles . statusTh } > Status</ th >
139
165
</ tr >
140
166
</ thead >
141
167
< tbody >
0 commit comments