lotus/cmd/lotus-fountain/site/_miner.html

52 lines
1.8 KiB
HTML
Raw Normal View History

2019-10-17 14:28:03 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Creating Miner - Lotus Fountain</title>
2019-10-17 14:28:03 +00:00
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<div class="Index">
<div class="Index-nodes">
<div class="Index-node">
[CREATING MINER]
2019-10-17 14:28:03 +00:00
</div>
<div class="Index-node" id="formnd">
2019-10-29 18:28:54 +00:00
<form id="f" action='/mkminer' method='POST'>
<span>Enter owner/worker address:</span>
<input type='text' name='address' style="width: 300px" placeholder="t3...">
2019-10-29 18:28:54 +00:00
<select name="sectorSize">
{{range .SectorSizes}}
<option {{if .Default}}selected{{end}} value="{{ .Value }}">{{ .Name }}</option>
{{end}}
2019-10-29 18:28:54 +00:00
</select>
<button type='submit'>Create Miner</button>
2019-10-17 14:28:03 +00:00
</form>
</div>
<div id="plswait" style="display: none" class="Index-node">
<b>Waiting for transaction on chain..</b>
</div>
<div class="Index-node">
<span>When creating miner, DO NOT REFRESH THE PAGE, wait for it to load. This can take more than 5min.</span>
2019-10-17 14:28:03 +00:00
</div>
<div class="Index-node">
<span>If you don't have an owner/worker address, you can create it by following <a target="_blank" href="https://docs.lotu.sh/en+mining#get-started-22083">these instructions</a>.</span>
</div>
2019-10-17 14:28:03 +00:00
</div>
<div class="Index-footer">
<div>
<a href="index.html">[Back]</a>
<span style="float: right">Not dispensing real Filecoin tokens</span>
</div>
</div>
</div>
<script>
let f = document.getElementById('f')
f.onsubmit = ev => {
document.getElementById('plswait').style.display = 'block'
document.getElementById('formnd').style.display = 'none'
}
</script>
</body>
</html>