Skip to content

Commit d37196d

Browse files
committed
Add displayin number of running nodes, number of registered nodes, list of registered nodes.
1 parent 6d25648 commit d37196d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/pages/Index.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
124124
<q-banner inline-actions class="bg-vdark text-vgrey q-mb-sm">
125125
<div class="row">
126-
<div class="col">
126+
<div class="col self-center">
127127
<div class="text-italic">
128128
List of nodes on the network.
129129
<q-btn flat round size="sm" color="vgreen" icon="fas fa-question" class="">
@@ -132,9 +132,11 @@
132132
</div>
133133
<div class="text-italic text-caption">*You are required to vote for 21 nodes per day to activate the distribution of VTX.</div>
134134
</div>
135-
<div class="col">
136-
<div class="col bg-blue-grey">Running nodes: {{ running_nodes }}</div>
137-
<div class="col bg-blue-grey">Registered nodes: {{ registered_nodes }}</div>
135+
<div class="col-3 self-center">
136+
<q-badge color="vgreen" class="text-vdark">Running nodes: {{ running_nodes }}</q-badge>
137+
<q-badge color="vgreen" class="text-vdark">Registered nodes: {{ registered_nodes }}
138+
<q-tooltip content-class="bg-vgreen text-vdark" content-style="font-size: 16px" :offset="[10, 10]">{{ registered_nodes_names}}</q-tooltip>
139+
</q-badge>
138140
</div>
139141
</div>
140142

0 commit comments

Comments
 (0)