feat: Finish domain transfers
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title" style="display: inline-block;">Transfer</h4>
|
||||
<form action="/manage/{{domain}}/transfer">
|
||||
<form action="/manage/{{domain}}/transfer" style="display: {% if finalize_time=='' %} block {% else %} none {% endif %};">
|
||||
<div style="margin-top: 25px;"><label class="form-label">Send to</label><input class="form-control" type="text" id="address" placeholder="Address or @domain" name="address" value="{{address}}"><span id="addressValid"></span><script>
|
||||
function checkAddress(inputValue) {
|
||||
// Make API request to "/checkaddress"
|
||||
@@ -128,6 +128,10 @@ function checkAddress(inputValue) {
|
||||
inputField.addEventListener('blur', handleBlur);
|
||||
</script></div><input class="btn btn-primary" type="submit" value="Send" style="margin-top: 16px;">
|
||||
</form>
|
||||
<div style="display: {% if finalize_time=='' %} none {% else %} block {% endif %};">
|
||||
<h5>{{domain}}/ is transferring. You can finalize your transfer {{finalize_time}}. </h5>
|
||||
<div class="btn-group btn-group-lg" role="group"><a class="btn btn-primary" role="button" style="margin-right: 8px;margin-left: 8px;" href="/manage/{{domain}}/finalize">Finalize</a><a class="btn btn-primary" role="button" style="margin-right: 8px;margin-left: 8px;" href="/manage/{{domain}}/cancel">Cancel</a><a class="btn btn-primary" role="button" style="margin-right: 8px;margin-left: 8px;" href="/manage/{{domain}}/revoke">Revoke</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user