Skip to content

Commit

Permalink
Minor UI updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed Oct 10, 2023
1 parent 3a9dd68 commit d7f627b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion react/src/css/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
display: block;
cursor: default;
}
.dropdown-content a:hover {background-color: #365e75; color:yellow; cursor:pointer;}
.dropdown-content a:hover {background-color: var(--box-fg); color:yellow; cursor:pointer;}
.dropdown-content span:hover {color:var(--box-fg-darken);}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropdown-button {color: black;}
Expand Down
7 changes: 5 additions & 2 deletions react/src/pages/PortalReindexPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,8 @@ const TasksRunningAcrossClusters = (props) => {
<i><b>Tasks running</b> across clusters for task definition:</i>
<b>&nbsp;&nbsp;{props.task.task_arn}</b>
&nbsp;<ExternalLink href={awsTaskLink(props.task.task_arn)} />
<div style={{float: "right", verticalAlign: "top"}} className="pointer" onClick={tasks.refresh}>{Char.Refresh}</div>
{ !tasks.loading &&
<div style={{float: "right", verticalAlign: "top"}} className="pointer" onClick={tasks.refresh}>{Char.Refresh}</div> }
</td>
</tr>
{ tasks.loading ? <>
Expand Down Expand Up @@ -754,7 +755,9 @@ const TasksRunning = (props) => {
<i><b>Tasks running</b> in cluster:</i>
<b>&nbsp;&nbsp;{props.task.task_cluster_arn}</b>
&nbsp;<ExternalLink href={awsClusterLink(props.task.task_cluster_arn)} />
<div style={{float: "right", verticalAlign: "top"}} className="pointer" onClick={tasks.refresh}>{Char.Refresh}</div>
{ !tasks.loading &&
<div style={{float: "right", verticalAlign: "top"}} className="pointer" onClick={tasks.refresh}>{Char.Refresh}</div>
}
</td>
</tr>
{ tasks.loading ? <>
Expand Down

0 comments on commit d7f627b

Please sign in to comment.