mirror of
https://github.com/ok2/coinbin.git
synced 2026-05-09 18:15:23 +02:00
Allow HODL transaction to define nLockTime in blockheight or date/time
it still has a small UX quirks: the radio buttons dont get restored correctly after page reload
This commit is contained in:
+13
-1
@@ -408,7 +408,16 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Enter the date and time required to release the coins: </p>
|
||||
<p id="timeLockedRbTypeBox">
|
||||
Enter the
|
||||
<input type="radio" id="timeLockedRbTypeDate" name="timeLockedRbType" value="date" checked="checked">
|
||||
<label for="timeLockedRbTypeDate">date and time</label>
|
||||
or
|
||||
<input type="radio" id="timeLockedRbTypeBlockHeight" name="timeLockedRbType" value="blockheight">
|
||||
<label for="timeLockedRbTypeBlockHeight">blockheight</label>
|
||||
|
||||
required to release the coins:
|
||||
</p>
|
||||
<div class="row">
|
||||
<div class='col-md-6'>
|
||||
<div class="form-group">
|
||||
@@ -418,6 +427,9 @@
|
||||
<span class="glyphicon glyphicon-calendar"></span>
|
||||
</span>
|
||||
</div>
|
||||
<div class='input-group hidden' id='timeLockedBlockHeight'>
|
||||
<input type='text' id='timeLockedBlockHeightVal' class="form-control" placeholder="Blockheight" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user