1
0
This commit is contained in:
Scott E. Graves
2017-04-11 13:41:21 -05:00
parent fe50099c00
commit e7d11e5b14
4 changed files with 27 additions and 24 deletions

View File

@@ -161,7 +161,7 @@
<p>Your storage allowance automatically refills every 6 weeks. Your computer must be online with your wallet unlocked to complete the refill. If Sia fails to refill the allowance by the end of the lock-in period, your data may be lost.</p>
<p class="footnote">*contract fees are non-refundable. They will be subtracted from the allowance that you set.</p>
<h2>Allocated Funds</h2>
<input type="number" id="ID_RenterSetFunds"><label id="ID_RenterCalcStorage"></label><br><br>
<input type="number" id="ID_RenterSetFunds">&nbsp;<label id="ID_RenterCalcStorage"></label><br><br>
<h2>Number of Hosts</h2>
<input type="number" id="ID_RenterSetHosts"><br><br>
<h2>Contract Period</h2>

View File

@@ -64,7 +64,7 @@
setValue('ID_RenterSetPeriod', allowance.Period);
setValue('ID_RenterSetRenewWindow', allowance.RenewWindowInBlocks);
AppActions.calculateEstimatedStorage(allowance.Funds, (res)=> {
setInnerText('ID_RenterCalcStorage', res);
setInnerText('ID_RenterCalcStorage', '~' + res);
});
}
}
@@ -279,7 +279,7 @@
const funds = document.getElementById('ID_RenterSetFunds');
funds.oninput = () => {
AppActions.calculateEstimatedStorage(funds.value, (res)=> {
setInnerText('ID_RenterCalcStorage', res);
setInnerText('ID_RenterCalcStorage', '~' + res);
});
};