[FIX] updating workers page

This commit is contained in:
iAmShorty 2014-03-10 17:19:56 +01:00
parent 3ef1aa4030
commit 7143845fe4
2 changed files with 8 additions and 3 deletions

View File

@ -377,6 +377,11 @@ th.shareswarning {
background-color:#F2DEDE; background-color:#F2DEDE;
} }
th.smallwidth {
width: 250px;
}
.col-md-spark, .col-md-spark-2 { .col-md-spark, .col-md-spark-2 {
position:relative; position:relative;
min-height:1px; min-height:1px;

View File

@ -39,8 +39,8 @@
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th>Worker Login</th> <th class="smallwidth">Worker Login</th>
<th>Worker Password</th> <th class="smallwidth">Worker Password</th>
<th class="text-center">Active</th> <th class="text-center">Active</th>
{if $GLOBAL.config.disable_notifications != 1}<th>Monitor</th>{/if} {if $GLOBAL.config.disable_notifications != 1}<th>Monitor</th>{/if}
<th class="text-right">Khash/s</th> <th class="text-right">Khash/s</th>
@ -69,7 +69,7 @@
{/if} {/if}
<td class="text-right">{$WORKERS[worker].hashrate|number_format}</td> <td class="text-right">{$WORKERS[worker].hashrate|number_format}</td>
<td class="text-right">{$WORKERS[worker].difficulty|number_format:"2"}</td> <td class="text-right">{$WORKERS[worker].difficulty|number_format:"2"}</td>
<td class="text-center"><a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&do=delete&id={$WORKERS[worker].id|escape}&ctoken={$CTOKEN}"><i class="fa fa-trash-o fa-fw"></i></a></td> <td class="text-center"><a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&do=delete&id={$WORKERS[worker].id|escape}&ctoken={$CTOKEN|escape|default:""}"><i class="fa fa-trash-o fa-fw"></i></a></td>
</tr> </tr>
{/section} {/section}
{/nocache} {/nocache}