From a1091015ff6f5c55ed0a30188697907c8c00a772 Mon Sep 17 00:00:00 2001 From: Jamie Holdstock Date: Fri, 28 May 2021 19:00:43 +0800 Subject: [PATCH] Split ticket info into ticket, fee and voting info --- webapi/templates/admin.html | 66 ++++++++++++++++++++++--------------- 1 file changed, 40 insertions(+), 26 deletions(-) diff --git a/webapi/templates/admin.html b/webapi/templates/admin.html index ef5a591..595c73c 100644 --- a/webapi/templates/admin.html +++ b/webapi/templates/admin.html @@ -138,6 +138,9 @@ {{ with .SearchResult }} {{ if .Found }} + +

Ticket

+ @@ -158,14 +161,23 @@ {{ end }} + + + + - - + + +
HashNot confirmed
Ticket Outcome{{ .Ticket.Outcome }}
Commitment Address {{ .Ticket.CommitmentAddress }}
Fee Address Index{{ .Ticket.FeeAddressIndex }}Voting WIF{{ .Ticket.VotingWIF }}
+ +

Fee

+ + + + + + @@ -182,6 +198,27 @@ + + + + + + + + + + + + +
Fee Address @@ -174,6 +186,10 @@
Fee Address Index{{ .Ticket.FeeAddressIndex }}
Fee Amount {{ .Ticket.FeeAmount }} atomsFee Expiration {{ .Ticket.FeeExpiration }} ({{ dateTime .Ticket.FeeExpiration }})
Fee Tx Hash + + {{ .Ticket.FeeTxHash }} + +
Fee Tx{{ .Ticket.FeeTxHex }}
Fee Tx Status{{ .Ticket.FeeTxStatus }}
+ +

Voting

+ + - - - - - - - - - - - - - - - - - - - -
Current Vote Choices @@ -227,31 +264,8 @@ {{end}}
Voting WIF{{ .Ticket.VotingWIF }}
Fee Tx Hash - - {{ .Ticket.FeeTxHash }} - -
Fee Tx{{ .Ticket.FeeTxHex }}
Fee Tx Status{{ .Ticket.FeeTxStatus }}
Ticket Outcome{{ .Ticket.Outcome }}
+ {{ else }}

No ticket found with hash {{ .Hash }}

{{ end }}