diff --git a/src/components/cylc/TaskStateBadge.vue b/src/components/cylc/TaskStateBadge.vue new file mode 100644 index 000000000..6ab4fa288 --- /dev/null +++ b/src/components/cylc/TaskStateBadge.vue @@ -0,0 +1,45 @@ + + + + + {{ value > 99 ? '99+' : value }} + + + + diff --git a/src/components/cylc/WarningIcon.vue b/src/components/cylc/WarningIcon.vue index 51eeeb6f3..ef06b6013 100644 --- a/src/components/cylc/WarningIcon.vue +++ b/src/components/cylc/WarningIcon.vue @@ -26,9 +26,8 @@ along with this program. If not, see . . @click="deactivate" @click.prevent style=" - vertical-align: middle; cursor: pointer; " :style="[workflow.node.logRecords?.length ? {opacity: 1} : {opacity: 0.3}]" diff --git a/src/components/cylc/table/Table.vue b/src/components/cylc/table/Table.vue index 3f66c3ff1..87df61e4a 100644 --- a/src/components/cylc/table/Table.vue +++ b/src/components/cylc/table/Table.vue @@ -33,14 +33,14 @@ along with this program. If not, see . :class="{ 'flow-none': isFlowNone(item.task.node.flowNums) }" :data-cy-task-name="item.task.name" > - + - + . > - + - #{{ job.node.submitNum }} + #{{ job.node.submitNum }} {{ job.node.platform }} @@ -288,6 +288,11 @@ const taskRunTimes = computed(() => new Map( ]) )) +const jobIconParentProps = { + class: ['d-flex', 'align-center'], + style: { width: '2em' }, +} + const itemsPerPageOptions = [ { value: 10, title: '10' }, { value: 20, title: '20' }, diff --git a/src/components/cylc/tree/GScanTreeItem.vue b/src/components/cylc/tree/GScanTreeItem.vue index d29779b2d..9778bb1ee 100644 --- a/src/components/cylc/tree/GScanTreeItem.vue +++ b/src/components/cylc/tree/GScanTreeItem.vue @@ -47,37 +47,22 @@ along with this program. If not, see . - - - - - - - - - - - {{ descendantTaskInfo.stateTotals[state] ?? 0 }} {{ state }}. Recent {{ state }} tasks: - - - {{ task }} - - - + + + + @@ -95,7 +80,7 @@ along with this program. If not, see .