瀏覽代碼

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

master
coldstar 2 年之前
父節點
當前提交
3e69d006d2
共有 2 個檔案被更改,包括 13 行新增19 行删除
  1. +1
    -1
      views/layout.pug
  2. +12
    -18
      views/node-info.pug

+ 1
- 1
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")


+ 12
- 18
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}


Loading…
取消
儲存