This is just a WiP to test a new website template. Taken online from source referenced in the sidebar footer. Very nice and clean look, have not had the time to add all features yet and is only used to demonstrate it.
29 lines
1.0 KiB
Smarty
29 lines
1.0 KiB
Smarty
<article class="module width_full">
|
|
<header><h3>General Statistics</h3></header>
|
|
<div class="module_content">
|
|
<table class="" width="50%" style="font-size:14px;">
|
|
<tbody>
|
|
<tr>
|
|
<td class="leftheader">Pool Hash Rate</td>
|
|
<td>{$GLOBAL.hashrate / 1000} Mhash/s</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="leftheader">Current Total Miners</td>
|
|
<td>{$GLOBAL.workers}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="leftheader">Current Block</td>
|
|
<td><a href="http://explorer.litecoin.net/search?q={$CURRENTBLOCK}" target="_new">{$CURRENTBLOCK}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="leftheader">Current Difficulty</td>
|
|
<td><a href="http://allchains.info/" target="_new">{$DIFFICULTY}</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<footer>
|
|
{if !$GLOBAL.config.website.api.disabled}<ul><li>These stats are also available in JSON format <a href="{$smarty.server.PHP_SELF}?page=api&action=public" target="_api">HERE</a></li>{/if}
|
|
</footer>
|
|
</article>
|