Merge branch 'v3-single' of https://github.com/ping-pub/explorer into v3-single

This commit is contained in:
liangping 2023-04-30 10:11:35 +08:00
commit 6cf2b85c02

View File

@ -64,9 +64,17 @@ onUnmounted(() => {
<template> <template>
<div> <div>
<VRow> <VRow>
<VCol cols="12" md="4">Current Height: {{latest.block?.header?.height}} </VCol> <VCol cols="12" md="4" >
<VCol cols="12" md="8"><VTextField v-model="keyword" label="Keywords to filter validators" /></VCol> <VCard class="h-full self-center d-flex p-4">
<div class="self-center">Current Height: {{latest.block?.header?.height}} </div>
</VCard>
</VCol>
<VCol cols="12" md="8" class="">
<VTextField v-model="keyword" label="Keywords to filter validators" variant="outlined"/>
</VCol>
</VRow> </VRow>
<VRow> <VRow>
<VCol v-for="(v, i) in validators" cols="12" md="3" xl="2" class="py-1"> <VCol v-for="(v, i) in validators" cols="12" md="3" xl="2" class="py-1">
<div class="d-flex justify-between"> <div class="d-flex justify-between">
@ -76,7 +84,7 @@ onUnmounted(() => {
</div> </div>
<UptimeBar :blocks="commits" :validator="toBase64(fromHex(consensusPubkeyToHexAddress(v.consensus_pubkey)))" /> <UptimeBar :blocks="commits" :validator="toBase64(fromHex(consensusPubkeyToHexAddress(v.consensus_pubkey)))" />
</VCol> </VCol>
</VRow> </VRow>
</div> </div>
</template> </template>
<route> <route>
@ -86,3 +94,9 @@ onUnmounted(() => {
} }
} }
</route> </route>
<style lang="scss">
.v-field--variant-outlined .v-field__outline__notch{
border-width: 0 !important;
}
</style>