Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/src/components/EventCountBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const eventCount = defineModel('event_count', {
</script>

<template>
<div class="row">
<div class="row no-wrap">
<div class="col q-mr-sm event bg-negative rounded-borders text-center content-center">
{{ eventCount.failures }}
<q-tooltip>{{ $t('LABEL_FAILURE', 2) }}</q-tooltip>
Expand Down
9 changes: 3 additions & 6 deletions ui/src/components/ReportStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,25 @@ const report = defineModel('report', {
</script>

<template>
<div class="row">
<div class="row no-wrap">
<StatusButton
class="col-auto q-mr-sm"
:status="report.status"
:hash="report.hash"
:certname="report.certname"
/>
<div
class="q-mr-sm event bg-grey-7 rounded-borders text-center content-center"
class="col event bg-grey-7 rounded-borders text-center content-center"
>
{{ report.getMetricsValue('resources', 'total') }}
<q-tooltip>{{ $t('LABEL_RESOURCE', 2) }}</q-tooltip>
</div>
</div>
<div class="row q-mt-sm">
<EventCountBlock :event_count="report.getEventCounts()" />
</div>
<EventCountBlock class="q-mt-sm" :event_count="report.getEventCounts()" />
</template>

<style scoped>
.event {
min-width: 32px;
text-align: center;
}
</style>
1 change: 1 addition & 0 deletions ui/src/components/StatusButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function getStatusColor(status: string) {

<style scoped>
.status-btn {
min-width: 9em;
max-width: 15em;
}
</style>