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") li(class="nav-item")
a(href="/terminal", class="nav-link") RPC Terminal a(href="/terminal", class="nav-link") RPC Terminal
li(class="nav-item") 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") li(class="nav-item")
a(href="/mempool", class="nav-link") Mempool Info a(href="/mempool", class="nav-link") Mempool Info
form(method="post", action="/search", class="form-inline") form(method="post", action="/search", class="form-inline")


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

@@ -1,10 +1,10 @@
extends layout extends layout


block headContent block headContent
title Node Info
title Network Info
block content block content
h1 Node Info
h1 Network Info
hr hr


if (getinfo) if (getinfo)
@@ -17,9 +17,6 @@ block content


if (true) if (true)
table(class="table") table(class="table")
tr
th(class="table-active properties-header") BTC Price
include btcprice
tr tr
th(class="table-active properties-header") Hash amount th(class="table-active properties-header") Hash amount
td(class="monospace") #{getmininginfo.networkhashps.toLocaleString()} td(class="monospace") #{getmininginfo.networkhashps.toLocaleString()}
@@ -36,11 +33,8 @@ block content
th(class="table-active properties-header") Connections th(class="table-active properties-header") Connections
td(class="monospace") #{getinfo.connections.toLocaleString()} td(class="monospace") #{getinfo.connections.toLocaleString()}
tr 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 //tr
@@ -59,17 +53,17 @@ block content
if (fraction >= 1) if (fraction >= 1)
- scaleDone = true; - scaleDone = true;
span(class="text-muted") (#{fraction} #{item.name}) 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 //tr
// th(class="table-active properties-header") Nodes // th(class="table-active properties-header") Nodes
// td // td
// a(href="https://smartcash.bitcoiner.me/smartnodes/worldmap/") // a(href="https://smartcash.bitcoiner.me/smartnodes/worldmap/")
// img(src="https://smartcash.bitcoiner.me/smartnodes/worldmap/map.php") // 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