Use slider for certainty
This commit is contained in:
parent
ce64608894
commit
76d2e56393
|
@ -17,8 +17,7 @@
|
|||
<label for="stake">how much?</label>
|
||||
<input name="stake" v-model="stake" type="number" min="0" placeholder="🗲 sats" />
|
||||
<label for="certainty">how sure?</label>
|
||||
<input name="certainty" v-model="certainty" type="number" min="0" max="1" step="0.001"
|
||||
placeholder="fraction like 0.5" />
|
||||
<input name="certainty" v-model="certainty" type="range" min="0" max="1" step="0.001" />
|
||||
<label>you receive:</label>
|
||||
<label>{{ format(shares) }} {{ selected }} shares @ 🗲{{ format(price) }}</label>
|
||||
<label>you pay:</label>
|
||||
|
|
Loading…
Reference in New Issue