mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
display pending credits in DS web page
This commit is contained in:
parent
99a3fde8fa
commit
5b3b19011e
2 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
<th>Public</th>
|
||||
<th>Local</th>
|
||||
<th>Uptime (s)</th>
|
||||
<th>Pending Credits</th>
|
||||
<th>Kill?</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
@ -42,6 +42,8 @@ $(document).ready(function(){
|
|||
var uptimeSeconds = (Date.now() - data.wake_timestamp) / 1000;
|
||||
nodesTableBody += "<td>" + uptimeSeconds.toLocaleString() + "</td>";
|
||||
|
||||
nodesTableBody += "<td>" + (typeof data.pending_credits == 'number' ? data.pending_credits.toLocaleString() : 'N/A') + "</td>";
|
||||
|
||||
nodesTableBody += "<td><span class='glyphicon glyphicon-remove' data-uuid=" + data.uuid + "></span></td>";
|
||||
nodesTableBody += "</tr>";
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue