forked from shadowproject/Shadow-UI
/
index.html
2307 lines (2298 loc) · 182 KB
/
index.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Alias</title>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<link href="assets/plugins/pace/pace-theme-flash.css" rel="stylesheet">
<link href="assets/plugins/bootstrapv3/css/bootstrap.css" rel="stylesheet">
<link href="assets/plugins/jquery-scrollbar/jquery.scrollbar.css" rel="stylesheet">
<link href="assets/css/font-awesome.min.css" rel="stylesheet">
<link href="assets/css/font-awesome-buttons.css" rel="stylesheet">
<link href="assets/plugins/contextMenu/contextMenu.css" rel="stylesheet">
<link href="assets/css/normalize.css" rel="stylesheet">
<link href="assets/css/footable.core.css" rel="stylesheet">
<link href="assets/css/font-montserrat.css" rel="stylesheet">
<link href="assets/css/framework.css" class="main-stylesheet" rel="stylesheet">
<link href="assets/css/framework-icons.css" rel="stylesheet">
<link href="assets/plugins/emojione/assets/css/emojione.min.css" rel="stylesheet">
<link href="assets/css/spectre.css" rel="stylesheet">
<!-- that's a special resource with JS-library for WebChannel -->
<script type="text/javascript" src="qtwebchannel/qwebchannel.js"></script>
<script src="assets/plugins/jquery/jquery-1.11.1.min.js"></script>
<script src="assets/plugins/jquery-ui/jquery-ui.min.js"></script>
<script src="assets/plugins/jquery-scrollbar/jquery.scrollbar.js"></script>
<script src="assets/plugins/jquery-transit/jquery.transit.min.js"></script>
<script src="assets/plugins/pace/pace.min.js"></script>
<script src="assets/plugins/modernizr.custom.js"></script>
<script src="assets/plugins/bootstrapv3/js/bootstrap.js"></script>
<script src="assets/plugins/classie/classie.js"></script>
<script src="assets/plugins/footable/footable.js"></script>
<script src="assets/plugins/footable/footable.sort.js"></script>
<script src="assets/plugins/footable/footable.filter.js"></script>
<script src="assets/plugins/footable/footable.paginate.js"></script>
<script src="assets/plugins/contextMenu/contextMenu.min.js"></script>
<script src="assets/plugins/iscroll/iscroll.js"></script>
<script src="assets/plugins/qrcode/qrcode.js"></script>
<script src="assets/plugins/markdown/markdown.min.js"></script>
<script src="assets/plugins/framework/framework.js"></script>
<script src="assets/plugins/pnglib/pnglib.js"></script>
<script src="assets/plugins/identicon/identicon.js"></script>
<script src="assets/plugins/shajs/shajs.js"></script>
<script src="assets/js/tooltip.js"></script>
<script src="assets/js/navigation.js"></script>
<script src="assets/js/qrcode.js"></script>
<script src="assets/js/pages/send.js"></script>
<script src="assets/js/spectre.js"></script>
<script src="assets/plugins/emojione/emojione.js"></script>
<script type="text/javascript">
function preventDefault(e) {
e = e || event;
e.preventDefault();
}
window.addEventListener("dragover", preventDefault, !1);
window.addEventListener("drop", preventDefault, !1);
$(function () {
$(window).resize(function () {
});
$(window).trigger("resize");
});
</script>
</head>
<body class="fixed-header menu-pin">
<div class=page-sidebar data-framework=sidebar>
<div id=appMenu class="sidebar-overlay-slide from-top"></div>
<div id=sidebar-header class=sidebar-header>
<img alt="Alias.cash" data-height-percentage="78" class=brand
data-src="assets/svg/Alias-Horizontal-Reverse.svg"
src="assets/svg/Alias-Horizontal-Reverse.svg"
data-actual-width="250" data-actual-height="60" style="opacity: 1;">
</div>
<div id=sidebar-header-collapsed class=sidebar-header-collapsed>
<img alt="Alias.cash" data-height-percentage="78" class=brand
data-src="assets/svg/Alias-Stacked-Reverse.svg"
src="assets/svg/Alias-Stacked-Reverse.svg"
data-actual-width="40" data-actual-height="60" style="opacity: 1;">
</div>
<div class=sidebar-menu>
<ul class=menu-items id=navitems>
<li class=m-t-30><a href=#overview><span class="title translate">Overview</span> <span
class=icon-thumbnail><i class="fa fa-circle-o"></i></span></a></li>
<li>
<a href=#><span class="title translate">Wallet</span> <span class=arrow></span> <span
class=icon-thumbnail><i class="fa fa-user"></i></span></a>
<ul class=sub-menu>
<li><a href=#send><span class="translate">Send</span> <span class=icon-thumbnail><i
class="fa fa-arrow-right"></i></span></a></li>
<li><a href=#receive><span class="translate">Receive</span> <span class=icon-thumbnail><i
class="fa fa-arrow-left"></i></span></a></li>
<li><a href=#transactions><span class="translate">Transactions</span> <span class=icon-thumbnail><i
class="fa fa-exchange"></i></span></a></li>
<li><a href=#addressbook><span class="translate">Address Book</span> <span class=icon-thumbnail><i
class="fa fa-bars"></i></span></a></li>
</ul>
</li>
<li><a href=#options><span class="title translate">Options</span> <span class=icon-thumbnail><i
class="fa fa-wrench"></i></span></a></li>
<li>
<a href=#><span class="title translate">Wallet Encryption</span> <span class=arrow></span>
<span class=icon-thumbnail><i class="fa fa-floppy-o"></i></span></a>
<ul class=sub-menu>
<li class=encryptWallet><a href=# onclick='bridge.userAction(["encryptWallet"])'><span
class="translate">Encrypt Wallet</span> <span class=icon-thumbnail><i
id=encryptWallet class="fa fa-lock"></i></span></a></li>
<li id=changePassphrase><a href=# onclick='bridge.userAction(["changePassphrase"])'><span
class="translate">Change Passphrase</span> <span class=icon-thumbnail><i
class="fa fa-user-secret"></i></span></a></li>
<li id=toggleLock><a href=# onclick='bridge.userAction(["toggleLock"])'><span
class="translate">(Un)lock Wallet</span> <span class=icon-thumbnail><i id="toggleLockIcon"
class="fa fa-unlock-alt"></i></span></a></li>
</ul>
</li>
<li class="only-debug">
<a href=#><span class="title translate">Sub-Wallets</span> <span class=arrow></span> <span
class=icon-thumbnail><i class="fa fa fa-key"></i></span></a>
<ul class=sub-menu>
<!--<li><a href=#walletmanagement
onclick='$("#walletmanagement-advanced").hide(),$("#key-options").hide(),$("#wizards").show(),gotoWizard("new-key-wizard",0,!0)'><span
class="translate">Add Sub-Wallet</span> <span class=icon-thumbnail><i
class="fa fa-key"></i></span></a></li>
<li><a href=#walletmanagement
onclick='$("#walletmanagement-advanced").hide(),$("#key-options").hide(),$("#wizards").show(),gotoWizard("recover-key-wizard",0,!0)'><span
class="translate">Restore Sub-Wallet</span> <span class=icon-thumbnail><i
class="fa fa-repeat"></i></span></a></li>-->
<li><a href=#walletmanagement
onclick='$("#key-options").hide(),$("#wizards").hide(),$("#walletmanagement-advanced").show(),walletManagementPage.updateKeyList(),walletManagementPage.updateAccountList()'><span
class="translate">Advanced</span> <span class=icon-thumbnail><i
class="fa fa-laptop"></i></span></a></li>
</ul>
</li>
<li>
<a href=#><span class="title translate">Blockchain Info</span> <span class=arrow></span> <span
class=icon-thumbnail><i class="fa fa-th-large"></i></span></a>
<ul class=sub-menu>
<li><a href=#chaindata onclick=chainDataPage.updateAnonOutputs()><span class="translate">Chain Data</span>
<span class=icon-thumbnail><i class="fa fa-link"></i></span></a></li>
<li><a href=#blockdata onclick=blockExplorerPage.updateLatestBlocks()><span
class="translate">Block Explorer</span> <span class=icon-thumbnail><i
class="fa fa-th"></i></span></a></li>
</ul>
</li>
<li>
<a id="menutools" href=#><span class="title translate">Tools</span> <span class=arrow></span> <span
class=icon-thumbnail><i class="fa fa-cogs"></i></span></a>
<ul class=sub-menu>
<li><a href=# onclick='bridge.userAction(["backupWallet"])'><span class="translate">Backup Wallet</span>
<span class=icon-thumbnail><i class="fa fa-floppy-o"></i></span></a></li>
<li><a href=# data-target=#verify-sign-message-modal data-toggle=modal
onclick='$("#sign-href").click(),$("#sign-address")'><span class="translate">Sign Message</span>
<span class=icon-thumbnail><i class="fa fa-pencil"></i></span></a></li>
<li><a href=# data-target=#verify-sign-message-modal data-toggle=modal
onclick='$("#verify-href").click(),$("#verify-address")'><span class="translate">Verify Message</span>
<span class=icon-thumbnail><i class="fa fa-check-square-o"></i></span></a></li>
<li><a href=# onclick='bridge.userAction(["debugClicked"])'><span
class="translate">Debug</span> <span class=icon-thumbnail><i class="fa fa-bug"></i></span></a>
</li>
<li><a href=#b onclick='bridge.userAction(["aboutClicked"])'><span class="translate">About Alias</span>
<span class=icon-thumbnail><i class="fa fa-info-circle"></i></span></a></li>
<li><a href=# onclick='bridge.userAction(["aboutQtClicked"])'><span class="translate">About QT</span>
<span class=icon-thumbnail><i class="fa fa-info-circle"></i></span></a></li>
</ul>
</li>
</ul>
<div class=clearfix></div>
</div>
</div>
<div class=page-container>
<div class=page-content-wrapper>
<div class=content>
<div class=header>
<div class=pull-right>
<div class="visible-lg visible-md visible-sm visible-xs">
<div class="dropdown pull-right">
<div id=status class=b-grey>
<span id="tor" class="tor" data-title="Tor+OBFS4 connection online"></span>
<span id=encryptionIcon class="no-encryption none" onclick='bridge.userAction(["toggleLock"])' data-title="Wallet is encrypted and currently locked"></span>
<span id=stakingIcon class="not-staking" data-title="Not staking because wallet is locked"></span>
<img id=connectionsIcon class="fa-spin"
data-title="0 active connection(s) to Alias network"
src="assets/svg/connection-0.svg">
<span id="connectionsIconText" class="icon-overlay none">13</span>
<img id=syncingIcon class="fa-spin none" data-title="Checking wallet state with network"
src="assets/svg/spinner.svg">
<span id="syncingIconText" class="icon-overlay none">99%</span>
</div>
</div>
</div>
</div>
<div id="network-alert" class="p-l-35 p-t-5" style="overflow:hidden;"><span></span></div>
</div>
<div class="container-fluid no-padding">
<div class="modal fade stick-up" id=qrcode-modal tabindex=-1 role=dialog aria-hidden=true>
<div class=modal-dialog>
<div class="modal-content p-b-25">
<div class="modal-header clearfix text-left">
<button type=button class=close data-dismiss=modal aria-hidden=true><i
class="pg-close fs-20"></i></button>
<h5 class="p-l-10 translate" style="border-bottom:1px solid #F0F1F3">QR
code</h5>
<div id="qrcode"></div>
<div class=form-group>
<div class=col-sm-12>
<div class=row>
<div class=col-sm-12><textarea id=qrcode-data class=form-control
style=color:#382b3f disabled
rows=2></textarea>
</div>
</div>
</div>
</div>
<div class=form-group>
<div class=col-sm-12>
<div class=row>
<div class=col-sm-12><label for=qraddress
class="p-t-10 recipient translate">Address:</label><input
id=qraddress class="form-control pay_to input_box"
placeholder="Enter a Alias address (e.g. SXywGBZBowrppUwwNUo1GCRDTibzJi7g2M)"
onchange=showQRCode()>
</div>
</div>
</div>
</div>
<div class=form-group>
<div class=col-sm-12>
<div class=row>
<div class=col-sm-12><label for=qrlabel
class="p-t-10 recipient translate">Label:</label><input
id=qrlabel class="form-control label2 input_box"
placeholder="An address label for the payment senders address book"
onchange=showQRCode()>
</div>
</div>
</div>
</div>
<div class=form-group>
<div class=col-sm-12>
<div class=row>
<div class=col-sm-12><label for=qrnarration
class="p-t-10 recipient translate">Note:</label><input
id=qrnarration class="form-control narration input_box"
placeholder="Enter a short note to send with a payment (max 24 characters)"
onchange=showQRCode()>
</div>
</div>
</div>
</div>
<div class=form-group>
<div class="col-sm-12 col-xs-12"><label for=qramount
class="p-t-10 recipient translate">Amount:</label>
<div class=row>
<div class="col-sm-9 col-xs-7"><input id=qramount class=form-control
type=number placeholder=0.00000000
step=0.01 value=0.00000000
onchange='unit.parse(this,$("#qrunit").val()),showQRCode()'>
</div>
<div class="col-sm-3 col-xs-5">
<select id=qrunit class="unit select-drop-down"
onchange='unit.format("#qramount",$(this).val()),showQRCode()'>
<option value=0 title=ALIAS>ALIAS
<option value=1 title="Milli-ALIAS (1 / 1000)">mALIAS
<option value=2 title="Micro-ALIAS (1 / 1000000)">µALIAS
<option value=3 title="Satoshi-ALIAS (1 / 100000000)">satALIAS
</select>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade stick-up" id=add-address-modal tabindex=-1 role=dialog
aria-hidden=true>
<div class=modal-dialog>
<div class="modal-content p-b-25" style=background:#fff>
<div id=add-rcv-address style=display:none>
<div class="modal-header clearfix text-left">
<button type=button class=close data-dismiss=modal aria-hidden=true><i
class="pg-close fs-20"></i></button>
<h5 class="p-l-10 translate" style="border-bottom:1px solid #F0F1F3">Add
new receive address</h5>
<div class=form-group>
<div class=col-sm-12><label for=new-address-label
class="recipient translate">Label:</label>
<div class=flex-container>
<div class="form-group"><input id=new-address-label
class="form-control recipient input_box"
placeholder="Enter a label for this address to add it to your address book"
maxlength=128></div>
<div class="form-group">
<select id=new-addresstype
class="recipient select-drop-down"
style=width:167px>
<option value=1 title=Public>Public
<option value=2 title=Private>Private
<!-- <option value=3 title=BIP32>BIP32 -->
</select>
</div>
</div>
<div class=row>
<p id=new-recv-address-error class=red>
</div>
</div>
</div>
<div class="pull-right m-r-10 m-t-25"><a
class="btn btn-danger btn-cons translate"
href=javascript:addAddress();>Add Address <i
class="fa fa-check"></i></a></div>
</div>
</div>
<div id=add-send-address style=display:none>
<div class="modal-header clearfix text-left">
<button type=button class=close data-dismiss=modal aria-hidden=true><i
class="pg-close fs-20"></i></button>
<h5 class="p-l-10 translate" style="border-bottom:1px solid #F0F1F3">Add a
new contact</h5>
<div class=form-group>
<div class=col-sm-12><label for=new-send-label
class="recipient translate">Label:</label>
<div class=row>
<div class=col-sm-12><input id=new-send-label
class="form-control recipient input_box"
data-title="Enter a label for this address to add it to your address book"
placeholder="Enter a label for this address to add it to your address book"
maxlength=128><br></div>
</div>
</div>
</div>
<div class=form-group>
<div class=col-sm-12><label for=new-send-address
class="recipient translate">Address:</label>
<div class=row>
<div class=col-sm-12><input id=new-send-address
class="form-control recipient input_box"
data-title="Enter a address to add it to your address book"
placeholder="Enter a address to add it to your address book"
maxlength=128>
<p id=new-send-address-error class=red>
</div>
</div>
</div>
</div>
<div class="pull-right m-r-10 m-t-25"><a class="btn btn-danger btn-cons"
href=javascript:addSendAddress();>Add
Send Address <i class="fa fa-check"></i></a></div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade stick-up" id=address-lookup-modal tabindex=-1 role=dialog
aria-hidden=true style=z-index:1060>
<div class="modal-dialog modal-lg">
<div class="modal-content p-b-25" style=background:#fff>
<div class="modal-header clearfix text-left">
<button type=button class=close data-dismiss=modal aria-hidden=true><i
class="pg-close fs-20"></i></button>
<h5 class="p-l-10 translate" style="border-bottom:1px solid #F0F1F3">Address
Lookup</h5>
<div class="m-b-10">
<div class="flex-container">
<div class="form-group"><input id=address-lookup-filter hidden> <input
id=address-lookup-address-filter class=form-control
placeholder="Filter by label or address..."></div>
<div class="form-group">
<select id=address-lookup-address-type disabled="true"
class="recipient select-drop-down" style=width:120px>
<option value="" title="Filter Address Type" selected
class="translate">Address Type
<option title=Public class="translate">Public
<option title=Private class="translate">Private
<!-- <option title=Group class="translate">Group-->
<!-- <option title=BIP32 class="translate">BIP32-->
</select>
</div>
</div>
</div>
<table id=address-lookup-table
class="footable-lookup spectre table table-hover" data-page-size=5
data-filter=#address-lookup-filter width=100%
style="margin-bottom:0;border-top:1px solid rgba(230,230,230,.7);border-bottom:1px solid rgba(230,230,230,.7)">
<thead>
<tr>
<th data-sort-ignore=true>
<th title=Label data-sort-initial=ascending class="translate">Label
<th data-toggle=true title=Address class="translate">Address
<th data-toggle=true title="Address Type" class="translate" style="max-width: 50px">Type</th>
<tbody>
<tfoot>
<tr>
<td colspan=4>
<div class="pagination pager hide-if-no-paging"></div>
</table>
</div>
</div>
</div>
</div>
<div class="modal fade stick-up" id=blkexp-txn-modal tabindex=-1 role=dialog aria-hidden=true>
<div class=modal-dialog>
<div class=modal-content style=background:#fff>
<div class="modal-header clearfix text-left">
<button type=button class=close data-dismiss=modal aria-hidden=true><i
class="pg-close fs-20"></i></button>
<h5 class="p-l-10 translate" style="border-bottom:1px solid #F0F1F3">
Transaction Hash</h5>
<div class=ng-scope data-ng-if=block.hash>
<div class=form-group>
<div class="col-sm-12 p-b-25 p-t-10">
<div class=row>
<div class=col-sm-12>
<center><span class=text-muted style=font-weight:700
id=txn-hash></span></center>
</div>
</div>
</div>
</div>
<table class="table table-hover spectre" width=100%
style="border-top:1px solid rgba(230,230,230,.7);border-bottom:1px solid rgba(230,230,230,.7)">
<thead>
<tr>
<th title=Label>Type
<th title=Address>Output
<tbody>
<tr class=modal-tr>
<td><strong>Size (bytes)</strong>
<td class=text-muted id=txn-size>
<tr class=modal-tr>
<td><strong>Received Time</strong>
<td class=text-muted id=txn-rcvtime>
<tr class=modal-tr>
<td><strong>Mined Time</strong>
<td class=text-muted id=txn-minetime>
<tr class=modal-tr>
<td><strong>Included in Block</strong>
<td class=text-muted id=txn-blkhash>
<tr class=modal-tr>
<td id=lbl-reward-or-fee><strong>Reward</strong>
<td class=text-muted id=txn-reward>
<tr class=modal-tr>
<td><strong>Confimations</strong>
<td class=text-muted id=txn-confirmations>
<tr class=modal-tr>
<td><strong>Value</strong>
<td class=text-muted id=txn-value>
</table>
<table id=txn-detail-inputs class="table table-hover spectre">
<thead>
<tr>
<th width="70%" data-toggle=true data-title=Inputs
data-sort-initial=ascending>Inputs
<th width="30%" data-toggle=true data-title=Values
data-sort-initial=ascending style="text-align:right">Values
<tbody>
</table>
<table id=txn-detail-outputs class="table table-hover spectre">
<thead>
<tr>
<th width="70%" data-toggle=true data-title=Outputs
data-sort-initial=ascending>Outputs
<th width="30%" data-toggle=true data-title=Values
data-sort-initial=ascending style="text-align:right">Values
<tbody>
</table>
<div id=error-msg></div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade stick-up" id=block-info-modal tabindex=-1 role=dialog aria-hidden=true>
<div class=modal-dialog>
<div class=modal-content style=background:#fff>
<div class="modal-header clearfix text-left">
<button type=button class=close data-dismiss=modal aria-hidden=true><i
class="pg-close fs-20"></i></button>
<h5 class=p-l-10 style="border-bottom:1px solid #F0F1F3">BlockHash</h5>
<div class=ng-scope data-ng-if=block.hash>
<div class=form-group>
<div class="col-sm-12 p-b-25 p-t-10">
<div class=row>
<div class=col-sm-12>
<center><span class=text-muted style=font-weight:700
id=blk-hash></span></center>
</div>
</div>
</div>
</div>
<h5 class=p-l-10 style="border-bottom:1px solid #F0F1F3">Summary</h5>
<table class="spectre table table-hover">
<thead>
<tr>
<th data-toggle=true data-sort-initial=ascending>Type
<th data-toggle=true data-sort-initial=ascending>Output
<tbody>
<tr class=modal-tr>
<td><strong>Transactions</strong>
<td class=text-muted id=blk-numtx>
<tr class=modal-tr>
<td><strong>Height</strong>
<td class=text-muted id=blk-height>
<tr class=modal-tr>
<td><strong>Block Type</strong>
<td class=text-muted id=blk-type>
<tr class=modal-tr>
<td><strong>Block Reward</strong>
<td class=text-muted id=blk-reward>
<tr class=modal-tr>
<td><strong>Timestamp</strong>
<td class=text-muted id=blk-timestamp>
<tr class=modal-tr>
<td><strong>Merkle Root</strong>
<td class=text-muted id=blk-merkleroot>
<tr class=modal-tr>
<td><strong>Previous Block</strong>
<td class=text-muted id=blk-prevblock>
<tr class=modal-tr>
<td><strong>Next Block</strong>
<td class=text-muted id=blk-nextblock>
<tr class=modal-tr>
<td><strong>Difficulty</strong>
<td class=text-muted id=blk-difficulty>
<tr class=modal-tr>
<td><strong>Bits</strong>
<td class=text-muted id=blk-bits>
<tr class=modal-tr>
<td><strong>Size (bytes)</strong>
<td class=text-muted id=blk-size>
<tr class=modal-tr>
<td><strong>Version</strong>
<td class=text-muted id=blk-version>
<tr class=modal-tr>
<td><strong>Nonce</strong>
<td class=text-muted id=blk-nonce>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade stick-up" id=verify-sign-message-modal tabindex=-1 role=dialog
aria-hidden=true>
<div class=modal-dialog>
<div class=modal-content style=background:#fff>
<div class="modal-header clearfix text-left">
<button type=button class=close data-dismiss=modal aria-hidden=true><i
class="pg-close fs-20"></i></button>
<div class=p-l-10 style="border-bottom:1px solid #F0F1F3">
<div id=signing-options>
<h5><a id=sign-href
onclick='$("#sign-message-modal").show(),$("#verify-message-modal").hide(),$("#sign-href").addClass("heading-selected"),$("#sign-href").removeClass("heading-deselected"),$("#verify-href").addClass("heading-deselected"),$("#verify-href").removeClass("heading-selected")'>Sign
Message</a> / <a id=verify-href
onclick='$("#sign-message-modal").hide(),$("#verify-message-modal").show(),$("#sign-href").addClass("heading-deselected"),$("#sign-href").removeClass("heading-selected"),$("#verify-href").addClass("heading-selected"),$("#verify-href").removeClass("heading-deselected")'>Verify
Message</a></h5>
</div>
</div>
<div id=sign-message-modal style=display:none>
<p>
<center class="p-l-10 p-r-10">You can sign messages with your addresses to
prove you own them. Be careful not to sign anything vague, as phishing
attacks may try to trick you into signing your identity over to them.
Only sign fully-detailed statements you agree to.
</center>
<div class=form-group>
<div class="col-sm-12 p-t-15"><label class=recipient>Address:</label>
<div class=row>
<div class=col-sm-12><input id=sign-address
class="input_box form-control"
data-title="Enter a Alias address to sign the message with (e.g. SaKYqfD8J3vw4RTnqtgk2K9B67CBaL3mhV)"
placeholder="Enter a Alias address to sign the message with (e.g. SaKYqfD8J3vw4RTnqtgk2K9B67CBaL3mhV)"
maxlength=128></div>
</div>
</div>
</div>
<div class=form-group>
<div class="col-sm-12 p-t-15"><label class=recipient>Message:</label>
<div class=row>
<div class=col-sm-12><textarea id=sign-message
class="input_box form-control"
placeholder="Enter the message you want to sign"
data-title="Enter the message you want to sign"></textarea>
</div>
</div>
</div>
</div>
<div class=form-group>
<div class="col-sm-12 p-t-15"><label
class=recipient>Signature:</label>
<div class=row>
<div class=col-sm-10><input id=sign-signature
class="input_box form-control"
placeholder="Click sign message to generate signature"
data-title="Click sign message to generate signature"
readonly></div>
<div class=col-sm-2>
<div class=btn-group><a class="btn btn-default"
href="javascript:bridge.copy($('#sign-signature').val());"
data-title="Copy the signed message signature"><i
class="fa fa-copy"></i></a></div>
</div>
</div>
</div>
</div>
<span id=sign-result class="m-l-15 p-t-10"
style=display:block;width:100%></span>
<div class="pull-right m-r-10 m-t-25 m-b-25"><a
class="btn btn-danger btn-cons" href=javascript:signMessage();><i
class="fa fa-check"></i> Sign Message</a> <a
class="btn btn-danger btn-cons"
href="javascript:$('#sign-message-modal').find('.input_box').val('');$('#sign-result').html('');"><i
class="fa fa-close"></i> Clear all</a></div>
</div>
<div id=verify-message-modal style=display:none>
<p>
<center class="p-l-10 p-r-10">Enter the signing address, message (ensure
you copy line breaks, spaces, tabs etc. exactly) and signature below
to verify the message.<br><br>Be careful not to read more into the
signature than what is in the signed message itself, to avoid being
tricked by a man-in-the-middle attack.
</center>
<div class=form-group>
<div class=col-sm-12><label class=recipient>Address:</label>
<div class=row>
<div class=col-sm-12><input id=verify-address
class="input_box form-control"
data-title="Enter a Alias address to verify the message with (e.g. SaKYqfD8J3vw4RTnqtgk2K9B67CBaL3mhV)"
placeholder="Enter a Alias address to verify the message with (e.g. SaKYqfD8J3vw4RTnqtgk2K9B67CBaL3mhV)"
maxlength=128></div>
</div>
</div>
</div>
<div class=form-group>
<div class="col-sm-12 p-t-15"><label class=recipient>Verify
message:</label>
<div class=row>
<div class=col-sm-12><textarea id=verify-message
class="input_box form-control"
placeholder="Enter the message you want to verify"
data-title="Enter the message you want to verify"></textarea><br>
</div>
</div>
</div>
</div>
<div class=form-group>
<div class=col-sm-12><label class=recipient>Signature:</label>
<div class=row>
<div class=col-sm-10><input id=verify-signature
class="input_box form-control"
placeholder="Enter a Alias signature"
data-title="Enter a Alias signature">
</div>
<div class=col-sm-2>
<div class=btn-group><a class="btn btn-default"
href="javascript:paste('#verify-signature');"
data-title="Paste signature from clipboard"><i
class="fa fa-copy"></i></a></div>
</div>
</div>
</div>
</div>
<span id=verify-result class="m-l-15 p-t-10"
style=display:block;width:100%></span>
<div class="pull-right m-r-10 m-t-25 m-b-25"><a
class="btn btn-danger btn-cons"
href=javascript:verifyMessage();><i class="fa fa-check"></i>
Verify Message</a> <a class="btn btn-danger btn-cons"
href="javascript:$('#verify-message-modal').find('.input_box').val('');$('#verify-result').html('');"><i
class="fa fa-close"></i> Clear all</a></div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade stick-up" id=transaction-info-modal tabindex=-1 role=dialog
aria-hidden=true>
<div class=modal-dialog>
<div class=modal-content style=background:#fff>
<div class="modal-header clearfix text-left">
<button type=button class=close data-dismiss=modal aria-hidden=true><i
class="pg-close fs-20"></i></button>
<h5 class=p-l-10 style="border-bottom:1px solid #F0F1F3">Details</h5>
<div id=transaction-info></div>
</div>
</div>
</div>
</div>
<article id=overview>
<div class=page-content-wrapper>
<nav class="navbar navbar-default nav-sub-menu" style="width: 100%"
role=navigation>
<div>
<h4 class="translate uppercase" style=font-weight:bolder>Overview</h4>
</div>
<div class="navigate">
<a href=# onclick="$('#navitems [href=#send]').click();" class="btn-danger btn">
<i class="fa fa-arrow-right"></i> <span class="translate">Send Payment</span>
</a>
</div>
</nav>
<div class="row">
<div class="panel full-width bg-transparent">
<div class=panel-body style=padding:0>
<div class=row>
<div class=col-md-6>
<div class="panel panel-spectre panel-default no-border"
id=portlet-linear-color>
<div class=panel-heading>
<div class=panel-title>
<p style=font-weight:bolder;white-space:nowrap><span class="translate">Total
Balance</span> <span class="outofsync syncing">(out of sync)</span>
</div>
<div class=panel-controls>
<ul>
<li><a class=portlet-help href=#><i
class="p-b-5 fa fa-question-circle"
data-title="Your total balance"
style=color:#f28321></i></a>
</ul>
</div>
</div>
<hr class=no-margin>
<div class=panel-body>
<div class=total-balance style=text-align:center>
<h3 class=semi-bold><span id=total-big><span>0</span> <span
class=light-red>.</span> <span
class=cents>00</span></span>
</h3>
<div class=clearfix></div>
</div>
</div>
</div>
<div class="panel panel-spectre panel-default no-border"
id=portlet-circular-color>
<div class=wallet>
<table class="table table-condensed table-hover"
id=balances>
<thead>
<tr>
<th style="text-align:left"><span class="translate">Balance</span></th>
<th style="text-align:right"><span class="translate">Public</span>
<div style="float: right;margin-left:5px">
<a class="portlet-help" href="#"><i
class="p-b-5 fa fa-question-circle"
data-title="Public coins, visible on blockchain"
style="color:#f28321"></i></a>
</div>
</th>
<th style="text-align:right"><span class="translate">Private</span>
<div style="float: right;margin-left:5px">
<a class="portlet-help" href="#"><i
class="p-b-5 fa fa-question-circle"
data-title="Private coins, untraceable and unlinkable on blockchain"
style="color:#f28321"></i></a>
</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left font-montserrat all-caps fs-12 b-r b-dashed b-grey">
<span class="translate">Available</span>
<div style="float: right;"><a
class="portlet-help" href="#"><i
class="p-b-5 fa fa-question-circle"
data-title="Available coins for spending"
style="color:#f28321"></i></a>
</div>
</td>
<td class="p-l-20 text-right"><span class=balance>0.00</span></td>
<td class="p-l-20 text-right"><span class=spectre_balance>0.00</span></td>
</tr>
<tr>
<td class="text-left font-montserrat all-caps fs-12 b-r b-dashed b-grey">
<span class="translate">Reserved</span>
<div style="float: right;"><a
class="portlet-help" href="#"><i
class="p-b-5 fa fa-question-circle"
data-title="Reserved coins are not used for staking"
style="color:#f28321"></i></a>
</div>
</td>
<td class="p-l-20 text-right" id=reserved>0.00</td>
<td class="p-l-20 text-right" id=reserved_spectre>0.00</td>
</tr>
<tr>
<td class="text-left font-montserrat all-caps fs-12 b-r b-dashed b-grey">
<span class="translate">Stake</span>
<div style="float: right;"><a
class="portlet-help" href="#"><i
class="p-b-5 fa fa-question-circle"
data-title="Staked coins must mature before they can be accessed"
style="color:#f28321"></i></a>
</div>
</td>
<td class="p-l-20 text-right" id=stake>0.00</td>
<td class="p-l-20 text-right" id=spectre_stake>0.00</td>
</tr>
<tr>
<td class="text-left font-montserrat all-caps fs-12 b-r b-dashed b-grey">
<span class="translate">Unconfirmed</span>
<div style="float: right;"><a
class="portlet-help" href="#"><i
class="p-b-5 fa fa-question-circle"
data-title="Public ALIAS requires 1 confirmation<br>Private ALIAS requires 10 confirmations"
style="color:#f28321"></i></a>
</div>
</td>
<td class="p-l-20 text-right" id=unconfirmed>0.00</td>
<td class="p-l-20 text-right" id=spectre_unconfirmed>0.00</td>
</tr>
<tr>
<td class="text-left font-montserrat all-caps fs-12 b-r b-dashed b-grey">
<span class="translate">Immature</span>
<div style="float: right;"><a
class="portlet-help" href="#"><i
class="p-b-5 fa fa-question-circle"
data-title="Immature generated coins with Proof-of-Work"
style="color:#f28321"></i></a>
</div>
</td>
<td class="p-l-20 text-right" id=immature>0.00</td>
<td class="p-l-20 text-right" id=spectre_immature>0.00</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class=col-md-6>
<div class="panel panel-spectre panel-default no-border"
id=portlet-linear-color>
<div class=panel-heading>
<div class=panel-title>
<p class="translate" style=font-weight:bolder>Recent
Transactions</div>
<div class=panel-controls>
<ul>
<li><a class=portlet-help href=#><i
class="p-b-5 fa fa-question-circle"
data-title="Recent in/out transactions or stakes"
style=color:#f28321></i></a>
</ul>
</div>
</div>
<hr class=no-margin>
<div id=recenttxns-container>
<table class="table table-condensed table-hover"
id=recenttxns>
<thead>
<tr>
<th class=sorting width='30%'
data-sort-initial=ascending data-toggle=true>
<span class="translate">Type</span>
<th class=sorting data-hide=phone,tablet>
<span class="translate">Amount</span>
<th class=sorting width='30%' data-hide=phone>
<span class="translate">Date</span>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</article>
</div>
<article id=send>
<div class=page-content-wrapper>
<nav class="navbar navbar-default nav-sub-menu"
role=navigation>
<div>
<h4 class="translate uppercase" style=font-weight:bolder>Send</h4>
</div>
<div class="show-advanced-controls">
<div class="show-coin-control">
<button class="btn btn-default btn-cons translate"
onclick='$(this).toggleClass("active"),sendPage.toggleCoinControl()'>
<i class="fa fa-repeat"></i> Coin Control
</button>
</div>
</div>
</nav>
<div class="row">
<div class="panel full-width">
<form autocomplete=off class=form-horizontal id=form-work name=form-work>
<ul class="nav nav-tabs nav-tabs-simple nav-tabs-simple-bg">
<li class=active style=font-weight:bolder;color:#333><a data-toggle=tab
href=#send-main
class="translate">Make
payment</a>
<li style=font-weight:bolder;color:#333><a data-toggle=tab
href=#send-balance
class="translate">Balance
transfer</a>
</ul>
<div class=tab-content>
<div id=sendoptions>
<div id=coincontrol>
<div class=form-group style="border-bottom:1px solid #F0F1F3">
<label class="col-sm-3 col-xs-6 p-l-20"><a href=#
onclick=bridge.openCoinControl()
class="translate">Select
Inputs</a> <a href=#><i
class="p-b-5 fa fa-question-circle"
data-title="Select inputs to spend"
style=color:#8a8c8e></i></a></label>
<div class="col-sm-9 col-xs-6">
<div id=coincontrol_auto class="translate">Automatically
selected
</div>
<div id=coincontrol_labels style=display:none><span
style=white-space:nowrap><label
class="coincontrol_inputs translate"
for=coincontrol_quantity>Quantity:</label><span
id=coincontrol_quantity></span> </span><span
style=white-space:nowrap><label
class="coincontrol_inputs translate"
for=coincontrol_amount>Amount:</label><span
id=coincontrol_amount></span> </span><span
style=white-space:nowrap><label
class="coincontrol_inputs translate"
for=coincontrol_fee>Fee:</label><span
id=coincontrol_fee></span> </span><span
style=white-space:nowrap><label
class="coincontrol_inputs translate"
for=coincontrol_afterfee>After Fee:</label><span
id=coincontrol_afterfee></span> </span><span
style=white-space:nowrap><label
class="coincontrol_inputs translate"
for=coincontrol_bytes>Bytes:</label><span
id=coincontrol_bytes></span> </span><span
style=white-space:nowrap><label
class="coincontrol_inputs translate"
for=coincontrol_priority>Priority:</label><span
id=coincontrol_priority></span> </span><span
style=white-space:nowrap><label
class="coincontrol_inputs translate"
for=coincontrol_low>LowOutput:</label><span
id=coincontrol_low></span> <span
style=white-space:nowrap><label
class="coincontrol_inputs translate"
for=coincontrol_change>Change:</label><span
id=coincontrol_change></span></span>
</span>
</div>
</div>
</div>
<div class=form-group style="border-bottom:1px solid #F0F1F3">
<label class="col-sm-3 p-l-20 control-label"><span
class="translate">Custom change address</span> <a
href=#><i class="p-b-5 fa fa-question-circle"
data-title="Optional address to receive transaction change"
style=color:#8a8c8e></i></a></label>
<div class=col-sm-9>
<div class=row>
<div class=col-sm-9><input class=form-control
id=change_address
data-title="Optional address to receive transaction change"
maxlength=128
oninput=base58.check(this)
placeholder="Enter a Alias address (e.g. SXywGBZBowrppUwwNUo1GCRDTibzJi7g2M)">
</div>
<div class="btn-group col-sm-3 sm-m-t-10">
<a
id=cust-add-lkp
data-title="Choose from address book"
data-toggle=modal
data-target=#address-lookup-modal
href=#
onclick='addressLookup("change_address",!0, TYPE_PUBLIC)'
class="btn btn-default">
<i class="fa fa-book"></i>
</a>
<a
data-title="Paste address from clipboard"
class="btn btn-default"
onclick='paste("#change_address")'>
<i class="fa fa-files-o"></i>
</a>
<a
data-title="Remove this recipient"
class="btn btn-default"
onclick='$("#change_address").val("").css("background","").css("color","")'>
<i class="fa fa-close"></i>
</a>
</div>
</div>
</div>
</div>
</div>