-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckrawkeyimgs.html
52 lines (42 loc) · 1.6 KB
/
checkrawkeyimgs.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<div>
<div class="center">
<br/>
<h3 class="center">Signed Key Images Checker</h3>
</div>
<h3>Data file prefix: {{data_prefix}}</h3>
{{#has_error}}
<h4 style="color:red">Attempt failed</h4>
<h4>{{error_msg}}</h4>
{{/has_error}}
{{^has_error}}
<h4>Key images for address: {{address}}</h4>
<h4>Viewkey: {{viewkey}}</h4>
<div class="center">
<form action="/genrawkeyimgs" method="post" style="width:100%; margin-top:15px" class="style-1">
<table class="center" style="width:80%">
<tr>
<td>Key no.</td>
<td>Key image</td>
<td>Is spent?</td>
</tr>
{{#key_imgs}}
<input type="hidden" id="key_img_{{key_image}}" name="key_sig_pair_{{key_image}}" value="{{signature}}">
<tr>
<td>{{key_no}}</td>
<td>{{key_image}}</td>
<td>
{{#is_spent}}
<span style="color: #008009;font-weight: bold">{{is_spent}}</span>
{{/is_spent}}
{{^is_spent}}
{{is_spent}}
{{/is_spent}}
</td>
</tr>
{{/key_imgs}}
</table>
<br/>
</form>
</div>
{{/has_error}}
</div>