Browse Source

frontend tweaks

fix-133-memory-crash
Dan Janosik 7 years ago
parent
commit
4b669f1dea
  1. 2
      public/css/styling.css
  2. 3
      views/address.pug
  3. 5
      views/includes/block-content.pug

2
public/css/styling.css

@ -27,7 +27,7 @@ code, .monospace {
} }
.properties-header { .properties-header {
width: 190px; width: 160px;
text-align: right; text-align: right;
font-weight: bold; font-weight: bold;
} }

3
views/address.pug

@ -18,6 +18,9 @@ block content
if (payoutAddressForMiner) if (payoutAddressForMiner)
div(class="alert alert-primary", style="padding-bottom: 0;") div(class="alert alert-primary", style="padding-bottom: 0;")
div(class="float-left", style="width: 50px; height: 50px; font-size: 18px;")
i(class="fas fa-certificate fa-2x", style="margin-top: 10px;")
h4(class="alert-heading h5") #{coinConfig.name} Fun h4(class="alert-heading h5") #{coinConfig.name} Fun
p p

5
views/includes/block-content.pug

@ -49,8 +49,7 @@ div(class="tab-content")
else if (result.getblock.hash == genesisBlockHash) else if (result.getblock.hash == genesisBlockHash)
span None span None
br span(class="text-muted") (genesis block)
span(class="text-muted") (genesis block)
if (false) if (false)
tr tr
@ -114,7 +113,7 @@ div(class="tab-content")
span(class="text-muted") ##{(result.getblock.height + 1).toLocaleString()} span(class="text-muted") ##{(result.getblock.height + 1).toLocaleString()}
else else
span None span None
span(class="text-muted") (latest block) span(class="text-muted") (latest block)
tr tr
- var scales = [ {val:1000000000000000, name:"quadrillion"}, {val:1000000000000, name:"trillion"}, {val:1000000000, name:"billion"}, {val:1000000, name:"million"} ]; - var scales = [ {val:1000000000000000, name:"quadrillion"}, {val:1000000000000, name:"trillion"}, {val:1000000000, name:"billion"}, {val:1000000, name:"million"} ];

Loading…
Cancel
Save