[ADDED] Worker Information Box to dashboard

This commit is contained in:
Sebastian Grewe 2014-03-11 10:18:02 +01:00
parent e86f6703e3
commit c3d69fe1ce
3 changed files with 25 additions and 2 deletions

View File

@ -41,8 +41,6 @@
</tr>
</tbody>
</table>
{* Load our worker information template for live-updates on worker status *}
{include file="dashboard/account_data/_workers.tpl"}
</div>
</div>
</div>

View File

@ -5,6 +5,7 @@
{include file="dashboard/overview/default.tpl"}
{include file="dashboard/round_statistics/$PAYOUT_SYSTEM/default.tpl"}
{include file="dashboard/account_data/default.tpl"}
{include file="dashboard/worker_information/default.tpl"}
</div>
{* Include our JS libraries, we allow a live updating JS and a static one *}
{if !$DISABLED_DASHBOARD and !$DISABLED_DASHBOARD_API}

View File

@ -0,0 +1,24 @@
<div class="col-lg-4">
<div class="panel panel-info">
<div class="panel-heading">
<h4 class="panel-title"><i class="fa fa-desktop fa-fw"></i> Worker Information</h4>
</div>
<div class="panel-body no-padding">
{if !$DISABLED_DASHBOARD and !$DISABLED_DASHBOARD_API}
<table class="table table-bordered table-hover table-striped">
<thead>
<tr>
<th>Worker</th>
<th>Hashrate</th>
<th>Difficulty</th>
</tr>
</thead>
<tbody id="b-workers">
<td colspan="3" class="text-center">No worker information available</td>
</tbody>
</tr>
</table>
{/if}
</div>
</div>
</div>