Skip to content

Commit

Permalink
Update Processes.jsx (gamegos#71)
Browse files Browse the repository at this point in the history
When state is STARTING, the background color of the row is skyblue. When state is except for STARTING and RUNNING, the background color of the row is red.
  • Loading branch information
smilezheng authored and f9n committed Nov 21, 2019
1 parent 3aa5a64 commit 6f525ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cesi/ui/src/common/helpers/Processes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const Process = ({ node, process, refresh }) => {

return (
<React.Fragment>
<tr key={process.name}>
<tr key={process.name} style={{background:(process.statename === 'STARTING') ? 'skyblue' : ((process.statename !== 'RUNNING') ? 'red' : 'transparent')}}>
<td>{process.name}</td>
<td>{process.group}</td>
<td>{process.pid}</td>
Expand Down

0 comments on commit 6f525ca

Please sign in to comment.