diff --git a/ui/src/components/ActiveTasksTable.tsx b/ui/src/components/ActiveTasksTable.tsx index 8675290..12b8358 100644 --- a/ui/src/components/ActiveTasksTable.tsx +++ b/ui/src/components/ActiveTasksTable.tsx @@ -50,6 +50,10 @@ const useStyles = makeStyles((theme) => ({ iconCell: { width: "70px", }, + alert: { + borderTopLeftRadius: 0, + borderTopRightRadius: 0, + }, })); function mapStateToProps(state: AppState) { @@ -136,7 +140,7 @@ function ActiveTasksTable(props: Props & ReduxProps) { if (props.error.length > 0) { return ( - + Error {props.error} @@ -145,7 +149,7 @@ function ActiveTasksTable(props: Props & ReduxProps) { if (props.tasks.length === 0) { return ( - + Info No active tasks at this time. diff --git a/ui/src/components/ArchivedTasksTable.tsx b/ui/src/components/ArchivedTasksTable.tsx index 5b88e20..6fac8d2 100644 --- a/ui/src/components/ArchivedTasksTable.tsx +++ b/ui/src/components/ArchivedTasksTable.tsx @@ -52,23 +52,12 @@ const useStyles = makeStyles((theme) => ({ stickyHeaderCell: { background: theme.palette.background.paper, }, + alert: { + borderTopLeftRadius: 0, + borderTopRightRadius: 0, + }, })); -const useRowStyles = makeStyles({ - root: { - "& > *": { - borderBottom: "unset", - }, - }, - actionCell: { - width: "96px", - }, - activeActionCell: { - display: "flex", - justifyContent: "space-between", - }, -}); - function mapStateToProps(state: AppState) { return { loading: state.tasks.archivedTasks.loading, @@ -159,7 +148,7 @@ function ArchivedTasksTable(props: Props & ReduxProps) { if (props.error.length > 0) { return ( - + Error {props.error} @@ -167,7 +156,7 @@ function ArchivedTasksTable(props: Props & ReduxProps) { } if (props.tasks.length === 0) { return ( - + Info No archived tasks at this time. @@ -301,6 +290,21 @@ function ArchivedTasksTable(props: Props & ReduxProps) { ); } +const useRowStyles = makeStyles({ + root: { + "& > *": { + borderBottom: "unset", + }, + }, + actionCell: { + width: "96px", + }, + activeActionCell: { + display: "flex", + justifyContent: "space-between", + }, +}); + interface RowProps { task: ArchivedTaskExtended; isSelected: boolean; diff --git a/ui/src/components/PendingTasksTable.tsx b/ui/src/components/PendingTasksTable.tsx index 8673e70..29bfeab 100644 --- a/ui/src/components/PendingTasksTable.tsx +++ b/ui/src/components/PendingTasksTable.tsx @@ -52,6 +52,10 @@ const useStyles = makeStyles((theme) => ({ stickyHeaderCell: { background: theme.palette.background.paper, }, + alert: { + borderTopLeftRadius: 0, + borderTopRightRadius: 0, + }, })); function mapStateToProps(state: AppState) { @@ -144,7 +148,7 @@ function PendingTasksTable(props: Props & ReduxProps) { if (props.error.length > 0) { return ( - + Error {props.error} @@ -152,7 +156,7 @@ function PendingTasksTable(props: Props & ReduxProps) { } if (props.tasks.length === 0) { return ( - + Info No pending tasks at this time. diff --git a/ui/src/components/RetryTasksTable.tsx b/ui/src/components/RetryTasksTable.tsx index 16803e7..6defdf3 100644 --- a/ui/src/components/RetryTasksTable.tsx +++ b/ui/src/components/RetryTasksTable.tsx @@ -56,6 +56,10 @@ const useStyles = makeStyles((theme) => ({ stickyHeaderCell: { background: theme.palette.background.paper, }, + alert: { + borderTopLeftRadius: 0, + borderTopRightRadius: 0, + }, })); function mapStateToProps(state: AppState) { @@ -161,7 +165,7 @@ function RetryTasksTable(props: Props & ReduxProps) { if (props.error.length > 0) { return ( - + Error {props.error} @@ -169,7 +173,7 @@ function RetryTasksTable(props: Props & ReduxProps) { } if (props.tasks.length === 0) { return ( - + Info No retry tasks at this time. diff --git a/ui/src/components/ScheduledTasksTable.tsx b/ui/src/components/ScheduledTasksTable.tsx index 40235bc..a22243e 100644 --- a/ui/src/components/ScheduledTasksTable.tsx +++ b/ui/src/components/ScheduledTasksTable.tsx @@ -56,6 +56,10 @@ const useStyles = makeStyles((theme) => ({ stickyHeaderCell: { background: theme.palette.background.paper, }, + alert: { + borderTopLeftRadius: 0, + borderTopRightRadius: 0, + }, })); function mapStateToProps(state: AppState) { @@ -161,7 +165,7 @@ function ScheduledTasksTable(props: Props & ReduxProps) { if (props.error.length > 0) { return ( - + Error {props.error} @@ -169,7 +173,7 @@ function ScheduledTasksTable(props: Props & ReduxProps) { } if (props.tasks.length === 0) { return ( - + Info No scheduled tasks at this time. diff --git a/ui/src/components/TasksTable.tsx b/ui/src/components/TasksTable.tsx index 917e6e8..39aedf0 100644 --- a/ui/src/components/TasksTable.tsx +++ b/ui/src/components/TasksTable.tsx @@ -124,6 +124,7 @@ function TasksTable(props: Props & ReduxProps) {
{chips.map((c) => ( diff --git a/ui/src/views/TasksView.tsx b/ui/src/views/TasksView.tsx index 0dddc81..f7179e8 100644 --- a/ui/src/views/TasksView.tsx +++ b/ui/src/views/TasksView.tsx @@ -61,7 +61,7 @@ function TasksView(props: ConnectedProps) { return ( - +