diff --git a/webapi/public/css/vspd.css b/webapi/public/css/vspd.css index 8cf090f..a1267bf 100644 --- a/webapi/public/css/vspd.css +++ b/webapi/public/css/vspd.css @@ -67,3 +67,51 @@ footer .code { text-align: center; } } + +.btn { + outline: 0; + -webkit-box-shadow: 1px 3px 14px 0px rgba(0,0,0,0.19); + box-shadow: 1px 3px 14px 0px rgba(0,0,0,0.19); +} + +.btn:focus, .btn:active, +.btn-primary:not(:disabled):not(.disabled):active:focus, +.btn-primary:not(:disabled):not(.disabled).active:focus { + -webkit-box-shadow: none; + box-shadow: none; + border-color: transparent; +} + +.btn-small { + padding: 6px 10px; + font-size: 13px; +} + +.block__content h1 { + color: #091440; + font-size: 24px; + padding-bottom: 10px; +} + +.block__content { + background-color: #ffffff; + padding: 20px 30px; + color: #3D5873; + line-height: 1.4; +} + +.block__content th { + font-weight: normal; + padding-right: 15px; + text-align: right; +} + +.block__content table td { + word-break: break-word; + font-family: "vspd-code"; +} + +.block__content table th { + vertical-align: top; + white-space: nowrap; +} \ No newline at end of file diff --git a/webapi/templates/admin.html b/webapi/templates/admin.html index bfc10f1..19df807 100644 --- a/webapi/templates/admin.html +++ b/webapi/templates/admin.html @@ -1,86 +1,110 @@ {{ template "header" . }} -{{ template "vsp-stats" .VspStats }} +
| Hash | -{{ .Hash }} | -
|---|---|
| Commitment Address | -{{ .CommitmentAddress }} | -
| Fee Address Index | -{{ .FeeAddressIndex }} | -
| Fee Address | -{{ .FeeAddress }} | -
| Fee Amount | -{{ .FeeAmount }} atoms | -
| Fee Expiration | -{{ .FeeExpiration }} | -
| Confirmed | -{{ .Confirmed }} | -
| Vote Choices | -
- {{ range $key, $value := .VoteChoices }}
- {{ $key }}: {{ $value }} - {{ end }} - |
-
| Voting WIF | -{{ .VotingWIF }} | -
| Fee Tx | -{{ .FeeTxHex }} | -
| Fee Tx Hash | -{{ .FeeTxHash }} | -
| Fee Tx Status | -{{ .FeeTxStatus }} | -
No ticket with hash "{{ .Hash }}"
- {{ end }} - {{ end }} +| Hash | +{{ .Hash }} | +
|---|---|
| Commitment Address | +{{ .CommitmentAddress }} | +
| Fee Address Index | +{{ .FeeAddressIndex }} | +
| Fee Address | +{{ .FeeAddress }} | +
| Fee Amount | +{{ .FeeAmount }} atoms | +
| Fee Expiration | +{{ .FeeExpiration }} | +
| Confirmed | +{{ .Confirmed }} | +
| Vote Choices | +
+ {{ range $key, $value := .VoteChoices }}
+ {{ $key }}: {{ $value }} + {{ end }} + |
+
| Voting WIF | +{{ .VotingWIF }} | +
| Fee Tx | +{{ .FeeTxHex }} | +
| Fee Tx Hash | +{{ .FeeTxHash }} | +
| Fee Tx Status | +{{ .FeeTxStatus }} | +
No ticket found with hash {{ .Hash }}
+ {{ end }} + {{ end }} + +Incorrect password
{{ end }} - +