From a8acd8e21fabb4cce5b6c76610cbc74fbc0b2317 Mon Sep 17 00:00:00 2001
From: liangping <18786721@qq.com>
Date: Fri, 18 Mar 2022 15:35:28 +0800
Subject: [PATCH] Improve UI of uptime
---
src/views/Uptime.vue | 10 ++++++----
src/views/UptimeMyChainBlocks.vue | 10 ++++++----
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/views/Uptime.vue b/src/views/Uptime.vue
index fc8b1d48..3518a77f 100644
--- a/src/views/Uptime.vue
+++ b/src/views/Uptime.vue
@@ -40,14 +40,15 @@
@change="pinValidator(`${chain}#${x.address}`)"
>{{ index+1 }} {{ x.validator.moniker }}
-
{{ missing[x.address].missed_blocks_counter }}
-
+
import {
- BRow, BCol, VBTooltip, BFormInput, BCard, BAlert, BFormCheckbox, BButton,
+ BRow, BCol, VBTooltip, BFormInput, BCard, BAlert, BFormCheckbox, BButton, BBadge,
} from 'bootstrap-vue'
import {
@@ -88,6 +89,7 @@ export default {
BCard,
BAlert,
BButton,
+ BBadge,
BFormCheckbox,
},
directives: {
diff --git a/src/views/UptimeMyChainBlocks.vue b/src/views/UptimeMyChainBlocks.vue
index ab0c3d64..84dcbad4 100644
--- a/src/views/UptimeMyChainBlocks.vue
+++ b/src/views/UptimeMyChainBlocks.vue
@@ -32,14 +32,15 @@
>
{{ x.validator.moniker }}
-
{{ missing[x.address].missed_blocks_counter }}
-
+
import {
- BRow, BCol, VBTooltip, BCard, BAlert, BCardTitle, BFormCheckbox,
+ BRow, BCol, VBTooltip, BCard, BAlert, BCardTitle, BFormCheckbox, BBadge,
} from 'bootstrap-vue'
import {
@@ -75,6 +76,7 @@ import { Bech32, toHex } from '@cosmjs/encoding'
export default {
name: 'Blocks',
components: {
+ BBadge,
BRow,
BCol,
BCard,