Browse Source

style tweaks

fix-133-memory-crash
Dan Janosik 7 years ago
parent
commit
0ca44fb676
  1. 2
      app/coins/btc.js
  2. 2
      app/coins/ltc.js
  3. 2
      views/browser.pug
  4. 4
      views/index.pug
  5. 2
      views/mempool-summary.pug
  6. 2
      views/node-details.pug
  7. 4
      views/terminal.pug

2
app/coins/btc.js

@ -4,7 +4,7 @@ Decimal8 = Decimal.clone({ precision:8, rounding:8 });
module.exports = { module.exports = {
name:"Bitcoin", name:"Bitcoin",
logoUrl:"/img/logo/btc.svg", logoUrl:"/img/logo/btc.svg",
siteTitle:"BTC RPC Explorer", siteTitle:"Bitcoin Explorer",
siteDescriptionHtml:"<b>BTC Explorer</b> is <a href='https://github.com/janoside/btc-rpc-explorer). If you run your own [Bitcoin Full Node](https://bitcoin.org/en/full-node), **BTC Explorer** can easily run alongside it, communicating via RPC calls. See the project [ReadMe](https://github.com/janoside/btc-rpc-explorer) for a list of features and instructions for running.", siteDescriptionHtml:"<b>BTC Explorer</b> is <a href='https://github.com/janoside/btc-rpc-explorer). If you run your own [Bitcoin Full Node](https://bitcoin.org/en/full-node), **BTC Explorer** can easily run alongside it, communicating via RPC calls. See the project [ReadMe](https://github.com/janoside/btc-rpc-explorer) for a list of features and instructions for running.",
nodeTitle:"Bitcoin Full Node", nodeTitle:"Bitcoin Full Node",
nodeUrl:"https://bitcoin.org/en/full-node", nodeUrl:"https://bitcoin.org/en/full-node",

2
app/coins/ltc.js

@ -4,7 +4,7 @@ Decimal8 = Decimal.clone({ precision:8, rounding:8 });
module.exports = { module.exports = {
name:"Litecoin", name:"Litecoin",
logoUrl:"/img/logo/ltc.svg", logoUrl:"/img/logo/ltc.svg",
siteTitle:"LTC RPC Explorer", siteTitle:"Litecoin Explorer",
nodeTitle:"Litecoin Full Node", nodeTitle:"Litecoin Full Node",
nodeUrl:"https://litecoin.org/", nodeUrl:"https://litecoin.org/",
currencyUnits:[ currencyUnits:[

2
views/browser.pug

@ -10,7 +10,7 @@ block headContent
} }
block content block content
h1 RPC Browser h1(class="h2") RPC Browser
hr hr
div(class="row") div(class="row")

4
views/index.pug

@ -4,7 +4,7 @@ block headContent
title Home title Home
block content block content
h1 #{coinConfig.siteTitle} h1(class="h2") #{coinConfig.siteTitle}
hr hr
p(class="lead") p(class="lead")
@ -23,7 +23,7 @@ block content
if (latestBlocks) if (latestBlocks)
div(class="row mt-5") div(class="row mt-5")
div(class="col") div(class="col")
h3 Latest Blocks h2(class="h3") Latest Blocks
if (getblockchaininfo.initialblockdownload) if (getblockchaininfo.initialblockdownload)
small (#{(getblockchaininfo.headers - getblockchaininfo.blocks).toLocaleString()} behind) small (#{(getblockchaininfo.headers - getblockchaininfo.blocks).toLocaleString()} behind)

2
views/mempool-summary.pug

@ -4,7 +4,7 @@ block headContent
title Mempool Summary title Mempool Summary
block content block content
h1 Mempool Summary h1(class="h2") Mempool Summary
hr hr
if (getmempoolinfo) if (getmempoolinfo)

2
views/node-details.pug

@ -4,7 +4,7 @@ block headContent
title Node Details title Node Details
block content block content
h1 Node Details h1(class="h2") Node Details
hr hr
if (getblockchaininfo) if (getblockchaininfo)

4
views/terminal.pug

@ -3,12 +3,12 @@ extends layout
block content block content
div(class="row mt-5") div(class="row mt-5")
div(class="col") div(class="col")
h1 RPC Terminal h1(class="h2") RPC Terminal
div(class="col") div(class="col")
if (!env.rpc || !env.rpc.rpc) if (!env.rpc || !env.rpc.rpc)
span(style="float: right;") span(style="float: right;")
a(href="/disconnect") Disconnect from node a(href="/disconnect", class="btn btn-secondary") Disconnect from node
hr hr

Loading…
Cancel
Save