From 3e69d006d2719b92a4c8d8b3731e94d3fb743e89 Mon Sep 17 00:00:00 2001 From: coldstar Date: Thu, 27 May 2021 11:40:42 -0700 Subject: [PATCH] 05/27/2021 11:40:42 AM MST --- views/layout.pug | 2 +- views/node-info.pug | 30 ++++++++++++------------------ 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/views/layout.pug b/views/layout.pug index 0be2d27..68937ef 100755 --- a/views/layout.pug +++ b/views/layout.pug @@ -35,7 +35,7 @@ html li(class="nav-item") a(href="/terminal", class="nav-link") RPC Terminal li(class="nav-item") - a(href="/node-info", class="nav-link") Node Info + a(href="/node-info", class="nav-link") Network Info li(class="nav-item") a(href="/mempool", class="nav-link") Mempool Info form(method="post", action="/search", class="form-inline") diff --git a/views/node-info.pug b/views/node-info.pug index f99ec17..8e82306 100755 --- a/views/node-info.pug +++ b/views/node-info.pug @@ -1,10 +1,10 @@ extends layout block headContent - title Node Info + title Network Info block content - h1 Node Info + h1 Network Info hr if (getinfo) @@ -17,9 +17,6 @@ block content if (true) table(class="table") - tr - th(class="table-active properties-header") BTC Price - include btcprice tr th(class="table-active properties-header") Hash amount td(class="monospace") #{getmininginfo.networkhashps.toLocaleString()} @@ -36,11 +33,8 @@ block content th(class="table-active properties-header") Connections td(class="monospace") #{getinfo.connections.toLocaleString()} tr - th(class="table-active properties-header") Testnet? - td(class="monospace") #{getinfo.testnet} - tr - th(class="table-active properties-header") Errors - td(class="monospace") #{getinfo.errors} + th(class="table-active properties-header") BTC Price + include btcprice //tr @@ -59,17 +53,17 @@ block content if (fraction >= 1) - scaleDone = true; span(class="text-muted") (#{fraction} #{item.name}) + tr + th(class="table-active properties-header") Testnet? + td(class="monospace") #{getinfo.testnet} + tr + th(class="table-active properties-header") Errors + td(class="monospace") #{getinfo.errors} + //tr // th(class="table-active properties-header") Nodes // td // a(href="https://smartcash.bitcoiner.me/smartnodes/worldmap/") // img(src="https://smartcash.bitcoiner.me/smartnodes/worldmap/map.php") - //if (getmininginfo) - // table(class="table") - // tr - // th(class="table-active properties-header") Hash Amount - // td(class="monospace") #{getmininginfo.networkhashps} - tr - th(class="table-active properties-header") Version - td(class="monospace") #{getinfo.version} +