Browse Source

Fix Web-UI stats

pool
Sammy Libre 8 years ago
parent
commit
7f609a8b59
  1. 17
      www/index.html

17
www/index.html

@ -46,25 +46,10 @@
</dl> </dl>
</div> </div>
<div class="col-xs-12"> <div class="col-xs-12">
{{#if errors}} {{#if template}}
<div id="alert" class="alert alert-danger" role="alert">
<strong>{{errors}}</strong>
</div>
{{/if}}
{{#if info}}
<p> <p>
{{#if template}}
<strong>Block height:</strong> <span class="label label-primary">{{height}}</span> <strong>Block height:</strong> <span class="label label-primary">{{height}}</span>
<strong>Difficulty:</strong> <span class="label label-primary">{{formatNumber diff maximumFractionDigits=4}}</span> <strong>Difficulty:</strong> <span class="label label-primary">{{formatNumber diff maximumFractionDigits=4}}</span>
{{/if}}
{{#if info}}
{{#if testnet}}
<span class="label label-danger">TESTNET</span>
{{else}}
<span class="label label-success">MAINNET</span>
{{/if}}
<strong>Connections:</strong> <span class="label label-primary">{{formatNumber connections}}</span>
{{/if}}
</p> </p>
{{/if}} {{/if}}
</div> </div>

Loading…
Cancel
Save