Browse Source

05/27/2021 11:40:42 AM MST

master
coldstar 3 years ago
parent
commit
3e69d006d2
2 changed files with 13 additions and 19 deletions
  1. +1
    -1
      views/layout.pug
  2. +12
    -18
      views/node-info.pug

+ 1
- 1
views/layout.pug View File

@@ -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")


+ 12
- 18
views/node-info.pug View File

@@ -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}


Loading…
Cancel
Save