From ed0ca14744c22da886b98c97b1f627cb191ab6c8 Mon Sep 17 00:00:00 2001 From: Dan Janosik Date: Mon, 4 Jun 2018 12:04:15 -0400 Subject: [PATCH] armor --- views/node-status.pug | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/views/node-status.pug b/views/node-status.pug index c6b3c10..5ee072b 100644 --- a/views/node-status.pug +++ b/views/node-status.pug @@ -19,7 +19,7 @@ block content pre code #{JSON.stringify(getblockchaininfo, null, 4)} - if (true) + if (global.client) table(class="table") tr th(class="table-active properties-header") Host : Port @@ -90,4 +90,7 @@ block content span #{getblockchaininfo.warnings} else span None + + else + div(class="alert alert-warning") No active RPC connection \ No newline at end of file