Skip to content

Commit e6b5753

Browse files
committed
Added search status bar
1 parent 3e641e6 commit e6b5753

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

src/views/download-overlay.js

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ const ProgressBar = require('../components/progress-bar');
1313

1414
const styles = {
1515
overlay: {
16-
paddingBottom: 40
16+
paddingBottom: 40,
17+
width: 600
1718
},
1819
overlayFooter: {
1920
marginLeft: 0,
2021
display: 'flex'
2122
},
23+
errorSpan: {
24+
color: '#FF0000',
25+
display: 'inline-block'
26+
},
2227
deviceTable: {
2328
width: '100%',
2429
maxWidth: '100%',
@@ -39,6 +44,25 @@ const styles = {
3944
verticalAlign: 'top',
4045
borderTop: '1px solid #ddd'
4146
},
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+
},
4266
scrollingContainer: {
4367
height: 325,
4468
overflow: 'auto',
@@ -94,6 +118,7 @@ class DownloadOverlay extends React.Component {
94118
<td style={styles.deviceTd}>{device.name}</td>
95119
<td style={styles.deviceTd}>{device.version}</td>
96120
<td style={styles.deviceTd}>{device.path}</td>
121+
<td style={styles.statusTd}>{device.displayError}</td>
97122
</tr>
98123
);
99124
}
@@ -136,6 +161,7 @@ class DownloadOverlay extends React.Component {
136161
<th style={styles.deviceTh}>Device</th>
137162
<th style={styles.deviceTh}>Version</th>
138163
<th style={styles.deviceTh}>Port</th>
164+
<th style={styles.statusTh}>Status</th>
139165
</tr>
140166
</thead>
141167
<tbody>

0 commit comments

Comments
 (0)