Renter display
This commit is contained in:
@@ -60,6 +60,26 @@ function setConsensusHeight(height) {
|
||||
setInnerText("ID_BlockHeight", height);
|
||||
}
|
||||
|
||||
function setRenterAllocatedFunds(funds) {
|
||||
setInnerText("ID_Renter_AllocatedFunds", funds);
|
||||
}
|
||||
|
||||
function setRenterHosts(hosts) {
|
||||
setInnerText("ID_Renter_HostCount", hosts);
|
||||
}
|
||||
|
||||
function setRenterAvailableFunds(funds) {
|
||||
setInnerText("ID_Renter_AvailableFunds", funds);
|
||||
}
|
||||
|
||||
function setRenterUsedFunds(funds) {
|
||||
setInnerText("ID_Renter_UsedFunds", funds);
|
||||
}
|
||||
|
||||
function setRenterTotalUsedGb(gb) {
|
||||
setInnerText("ID_Renter_UsedSpace", gb);
|
||||
}
|
||||
|
||||
function setAvailableDrives(driveList) {
|
||||
driveList = Array.isArray(driveList) ? driveList : JSON.parse(driveList);
|
||||
|
||||
|
Reference in New Issue
Block a user