-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
3562 lines (3179 loc) · 170 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>Shadow GUIv2 alpha</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<!-- JS - custom - inline js either before or after resources -->
<script type="text/javascript">
// Disable drop/dragging
function preventDefault(e) {
e = e || event;
e.preventDefault();
}
window.addEventListener("dragover", preventDefault, false);
window.addEventListener("drop", preventDefault, false);
</script>
<!-- default CSS-->
<link href="assets/plugins/pace/pace-theme-flash.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/boostrapv3/css/bootstrap.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/jquery-scrollbar/jquery.scrollbar.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="assets/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/font-awesome-buttons.css" rel="stylesheet" type="text/css">
<link href="assets/plugins/contextMenu/contextMenu.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/normalize.css" rel="stylesheet" type="text/css">
<!-- core CSS-->
<link href="assets/css/shadow.css" rel="stylesheet" type="text/css"/>
<!-- framework CSS-->
<link href="assets/css/framework.css" class="main-stylesheet" rel="stylesheet" type="text/css"/>
<link href="assets/css/framework-icons.css" rel="stylesheet" type="text/css">
<!-- smiley CSS-->
<link rel="stylesheet" href="assets/plugins/emojione/assets/css/emojione.min.css" type="text/css" media="all" />
</head>
<body class="fixed-header menu-pin">
<!-- begin sidebar -->
<div class="page-sidebar" data-framework="sidebar">
<div id="appMenu" class="sidebar-overlay-slide from-top"></div>
<!-- begin sidebar header-->
<div class="sidebar-header">
<img src="assets/img/shadow_logo.png" alt="logo" class="brand" data-src="assets/img/shadow_logo.png" width="150" height="60">
<div class="sidebar-header-controls">
<button data-toggle-pin="sidebar" class="btn btn-link visible-lg-inline" type="button">
<i class="fa fs-12"></i>
</button>
</div>
<div id="sidebar-header-collapsed" class="sidebar-header-collapsed">
<img src="assets/img/shadow_logo.png" alt="logo" class="brand" data-src="assets/img/shadow_logo.png" width="150" height="60" style="min-height: 100%; min-width: 100%;">
</div>
</div>
<!-- end sidebar header -->
<!-- begin sidebar menu -->
<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 class="">
<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 class="">
<a href="#send" class="translate">Send
<span class="icon-thumbnail">
<i class="fa fa-arrow-right"></i>
</span>
</a>
</li>
<li class="">
<a href="#receive" class="translate">Receive
<span class="icon-thumbnail">
<i class="fa fa-arrow-left"></i>
</span>
</a>
</li>
<li class="">
<a href="#transactions" class="translate">Transactions
<span class="icon-thumbnail">
<i class="fa fa-exchange"></i>
</span>
</a>
</li>
<li class="">
<a href="#addressbook" class="translate">Address Book
<span class="icon-thumbnail">
<i class="fa fa-bars"></i>
</span>
</a>
</li>
</ul>
</li>
<li class="">
<a href="#market">
<span class="title" class="translate">Market</span>
<span class="icon-thumbnail ">
<i class="fa fa-shopping-cart"></i>
</span>
</a>
</li>
<li class="">
<a href="#messages" id="chat-menu-link" onclick="scrollMessages();">
<span class="title translate">Chat</span>
<span class="icon-thumbnail ">
<i class="fa fa-comment"></i>
</span>
<span class="details">
<span class="user-notifications">
<span id="message-count">0</span>
</span>
<span class="translate">Notifications</span>
</span>
</a>
</li>
<li class="">
<a href="#options">
<span class="title translate">Options</span>
<span class="icon-thumbnail ">
<i class="fa fa-wrench"></i>
</span>
</a>
</li>
<li class="">
<a href="#">
<span class="title translate">Wallet Management</span>
<span class=" arrow"></span>
<span class="icon-thumbnail">
<i class="fa fa fa-key"></i>
</span>
</a>
<ul class="sub-menu">
<li class="">
<a href="#walletmanagement" onclick="$('#walletmanagement-advanced').hide(); $('#key-options').hide(); $('#wizards').show();gotoWizard('new-key-wizard', 0, true);"><span class="translate">Add New Wallet</span>
<span class="icon-thumbnail">
<i class="fa fa-key"></i>
</span>
</a>
</li>
<li class="">
<a href="#walletmanagement" onclick="$('#walletmanagement-advanced').hide(); $('#key-options').hide(); $('#wizards').show();gotoWizard('recover-key-wizard', 0, true);"><span class="translate">Import Wallet</span>
<span class="icon-thumbnail">
<i class="fa fa-repeat"></i>
</span>
</a>
</li>
<li class="">
<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 class="">
<a href="#">
<span class="title translate">Backup</span>
<span class=" arrow"></span>
<span class="icon-thumbnail">
<i class="fa fa-floppy-o"></i>
</span>
</a>
<ul class="sub-menu">
<li class="">
<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 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" class="">
<a href="#" onclick="bridge.userAction(['toggleLock']);"><span class="translate">(Un)lock Wallet</span>
<span class="icon-thumbnail">
<i class="fa fa-unlock-alt"></i>
</span>
</a>
</li>
</ul>
</li>
<li class="">
<a 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 class="">
<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 class="">
<a href="#blockdata" onclick="blockExplorerPage.updateLatestBlocks();"><span class="translate">Block Explorer</span>
<span class="icon-thumbnail">
<i class="fa fa-th-large"></i>
</span>
</a>
</li>
<li class="">
<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 class="">
<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 class="">
<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 class="">
<a href="#b" onclick="bridge.userAction(['aboutClicked']);"><span class="translate">About Shadow</span>
<span class="icon-thumbnail">
<i class="fa fa-info-circle"></i>
</span>
</a>
</li>
<li class="">
<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>
<!-- end sidebar menu -->
</div>
<!-- end sidebar -->
<!-- start page-container -->
<div class="page-container">
<!-- start page header wrapper -->
<!-- start header -->
<div class="header ">
<!-- start mobile controls -->
<!-- left side -->
<div class="pull-left full-height visible-sm visible-xs">
<!-- start action bar -->
<div class="sm-action-bar">
<a href="#" class="btn-link toggle-sidebar" data-toggle="sidebar">
<span class="icon-set menu-hambuger"></span>
</a>
</div>
<!-- end action bar -->
</div>
<!-- right side -->
<div class="pull-right full-height visible-sm visible-xs">
<!-- start action bar -->
<div class="sm-action-bar">
<!-- <a href="#" class="btn-link" data-toggle="quickview" data-toggle-element="#quickview">
<span class="icon-set menu-hambuger-plus"></span>
</a> -->
</div>
<!-- end action bar -->
</div>
<!-- end mobile controls -->
<div class=" pull-left sm-table">
<div class="header-inner">
<!-- <div class="brand inline">
<img src="assets/img/shadow_logo_black.png" alt="logo" class="brand" data-src="assets/img/shadow_logo_black.png" width="300" height="60">
</div>
<a href="#" class="search-link" data-toggle="search"><i class="pg-search"></i>Type to <span class="bold">search</span></a>-->
</div>
</div>
<div class=" pull-right">
<!-- start user/wallet info -->
<div class="visible-lg visible-md m-t-10">
<div class="dropdown pull-right">
<div id="status" class="b-grey">
<ul class="no-margin hidden-sm hidden-xs no-style p-l-10 p-r-10 p-b-10">
<li class="inline p-l-10">
<progress id="syncProgressBar"
max=100
value=1
data-title="Catching up...
downloaded 0 blocks of history..."></progress>
</li>
<li class="inline p-l-10">
<div id="tor" class="no-tor" data-title="Tor connection offline"></div>
</li>
<li class="inline p-l-10">
<div id="i2p" class="no-i2p" data-title="i2p connection offline"></div>
</li>
<li class="inline p-l-10">
<div id="encryptionIcon" class="no-encryption f-off" onclick="bridge.userAction(['toggleLock']);" data-title="Wallet is encrypted and currently locked"></div>
</li>
<li class="inline p-l-10">
<div id="stakingIcon" class="not-staking" data-title="Not staking because wallet is locked"></div>
</li>
<li class="inline p-l-10">
<div id="connectionsIcon" class="connect-0" data-title="0 active connection(s) to ShadowCash network"></div>
</li>
<li class="inline p-l-10">
<div id="syncingIcon" class="syncing-spinner" data-title="Wallet is syncing"></div>
<div id="blocksIcon" class="no-syncing none" data-title="Wallet is syncing"></div>
</li>
<li class="inline p-l-10">
<a href="#" data-toggle="quickview" data-toggle-element="#quickview">
<div id="chatIcon" class="chat-icon" data-title="Open chat list"></div>
<!-- global-chat-btn -->
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- end user info -->
</div>
</div>
<!-- end header -->
<!-- end page header wrapper -->
<!-- start page content wrapper -->
<div class="page-content-wrapper">
<!-- start page content -->
<div class="content">
<!-- start container fluid -->
<div class="container-fluid no-padding">
<!-- begin modals -->
<!-- qr modal -->
<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:#131218;" 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 Shadow 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="Enter a label for this address to add it to your 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">Narration:</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">
<label for="qramount" class="p-t-10 recipient translate">Amount:</label>
<div class="row">
<div class="col-sm-8">
<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>
<select id="qrunit" class="unit select-drop-down" style="width:167px;" onchange="unit.format('#qramount', $(this).val());showQRCode();">
<option value="0" title="Shadow" class="translate">SDC</option>
<option value="1" title="Milli-Shadow (1 / 1000)" class="translate">mSDC</option>
<option value="2" title="Micro-Shadow (1 / 1000000)" class="translate">µSDC</option>
<option value="3" title="Shadowshi (1 / 100000000)" class="translate">Shadowshi</option>
</select>
</div>
</div>
</div>
</div>
</div>
<!-- modal content -->
</div>
<!-- modal dialog -->
</div>
<!-- qr modal -->
<!-- add address modal -->
<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="row">
<div class="col-sm-8">
<input
id="new-address-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"/>
</div>
<select id="new-addresstype" class="recipient select-drop-down" style="width:167px;" onchange="">
<option value="1" title="Normal" class="translate">Normal</option>
<option value="2" title="Stealth" class="translate">Stealth</option>
<option value="3" title="BIP32" class="translate">BIP32</option>
</select>
</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" onchange="" maxlength="128"/>
<p id="new-send-address-error" class='red'></p>
</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>
<!-- modal content -->
</div>
<!-- modal dialog -->
</div>
<!-- add address modal -->
<!-- add lookup modal -->
<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">
<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="form-group">
<div class="col-sm-12 m-b-25">
<div class="row">
<div class="col-sm-8">
<input id="address-lookup-filter" hidden />
<input id="address-lookup-address-filter" class="form-control" placeholder="Filter by label or address..."/>
</div>
<select id="address-lookup-address-type" class="recipient select-drop-down" style="width:167px;">
<option value="" title="Filter Address Type" selected class="translate">Address Type</option>
<option title="Normal" class="translate">Normal</option>
<option title="Stealth" class="translate">Stealth</option>
<option title="Group" class="translate">Group</option>
<option title="BIP32" class="translate">BIP32</option>
</select>
</div>
</div>
</div>
<table
id="address-lookup-table"
class="footable-lookup shadow table table-hover"
data-page-size="5"
data-filter="#address-lookup-filter"
width="100%"
style="margin-bottom:0px;border-top: 1px solid rgba(230, 230, 230, 0.7);border-bottom: 1px solid rgba(230, 230, 230, 0.7)">
<thead>
<tr>
<th data-toggle="true" title="Label" data-sort-initial="ascending" class="translate">Label</th>
<th data-toggle="true" title="Address" class="translate">Address</th>
<th data-toggle="true" title="Public Key" class="translate">Public Key</th>
<th data-toggle="true" title="Address Type" class="translate">Address Type</th>
</tr>
</thead>
<tbody></tbody>
<tfoot>
<tr>
<td colspan="4">
<div class="pagination pager hide-if-no-paging"></div>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
<!-- modal content -->
</div>
<!-- modal dialog -->
</div>
<!-- add lookup modal -->
<!-- block explorer modal -->
<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:bold;" id="txn-hash"></span>
</center>
</div>
</div>
</div>
</div>
<table class="table table-hover shadow" width="100%" style="margin-bottom:0px;border-top: 1px solid rgba(230, 230, 230, 0.7);border-bottom: 1px solid rgba(230, 230, 230, 0.7)">
<thead>
<tr>
<th title="Label">Type</th>
<th title="Address">Output</th>
</tr>
</thead>
<tbody>
<tr class="modal-tr">
<td>
<strong>Size (bytes)</strong>
</td>
<td class="text-muted" id="txn-size"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Received Time</strong>
</td>
<td class="text-muted" id="txn-rcvtime"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Mined Time</strong>
</td>
<td class="text-muted" id="txn-minetime"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Included in Block</strong>
</td>
<td class="text-muted" id="txn-blkhash"></td>
</tr>
<tr class="modal-tr">
<td id="lbl-reward-or-fee">
<strong>Reward</strong>
</td>
<td class="text-muted" id="txn-reward"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Confimations</strong>
</td>
<td class="text-muted" id="txn-confirmations"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Value</strong>
</td>
<td class="text-muted" id="txn-value"></td>
</tr>
</tbody>
</table>
<table class="table shadow" width="100%">
<tr>
<td width="50%" style="vertical-align:top">
<table id="txn-detail-inputs" class="table table-hover shadow" width="50%">
<thead>
<tr>
<th data-toggle="true" data-title="Inputs" data-sort-initial="ascending">Inputs</th>
<th data-toggle="true" data-title="Values" data-sort-initial="ascending">Values</th>
</tr>
</thead>
<tbody></tbody>
</table>
</td>
<td width="50%" style="vertical-align:top">
<table id="txn-detail-outputs" class="table table-hover shadow" width="50%">
<thead>
<tr>
<th data-toggle="true" data-title="Outputs" data-sort-initial="ascending">Outputs</th>
<th data-toggle="true" data-title="Values" data-sort-initial="ascending">Values</th>
</tr>
</thead>
<tbody></tbody>
</table>
</td>
</tr>
</table>
<div id="error-msg"></div>
</div>
<!-- modal content -->
</div>
<!-- modal dialog -->
</div>
</div>
</div>
<!-- block explorer modal -->
<!-- block explorer modal -->
<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:bold" id="blk-hash"></span>
</center>
</div>
</div>
</div>
</div>
<h5 class="p-l-10" style="border-bottom: 1px solid #F0F1F3">Summary</h5>
<table class="shadow table table-hover">
<thead>
<tr>
<th data-toggle="true" data-sort-initial="ascending">Type</th>
<th data-toggle="true" data-sort-initial="ascending">Output</th>
</tr>
</thead>
<tbody>
<tr class="modal-tr">
<td>
<strong>Transactions</strong>
</td>
<td class="text-muted" id="blk-numtx"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Height</strong>
</td>
<td class="text-muted" id="blk-height"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Block Type</strong>
</td>
<td class="text-muted" id="blk-type"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Block Reward</strong>
</td>
<td class="text-muted" id="blk-reward"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Timestamp</strong>
</td>
<td class="text-muted" id="blk-timestamp"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Merkle Root</strong>
</td>
<td class="text-muted" id="blk-merkleroot"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Previous Block</strong>
</td>
<td class="text-muted" id="blk-prevblock"></a>
</td>
</tr>
<tr class="modal-tr">
<td>
<strong>Next Block</strong>
</td>
<td class="text-muted" id="blk-nextblock"></a>
</td>
</tr>
<tr class="modal-tr">
<td>
<strong>Difficulty</strong>
</td>
<td class="text-muted" id="blk-difficulty"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Bits</strong>
</td>
<td class="text-muted" id="blk-bits"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Size (bytes)</strong>
</td>
<td class="text-muted" id="blk-size"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Version</strong>
</td>
<td class="text-muted" id="blk-version"></td>
</tr>
<tr class="modal-tr">
<td>
<strong>Nonce</strong>
</td>
<td class="text-muted" id="blk-nonce"></td>
</tr>
</tbody>
</table>
</div>
<!-- modal content -->
</div>
<!-- modal dialog -->
</div>
</div>
</div>
<!-- block explorer modal -->
<!-- Sign/verify modal -->
<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>
</p>
<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 ShadowCash address to sign the message with (e.g. SaKYqfD8J3vw4RTnqtgk2K9B67CBaL3mhV)"
placeholder="Enter a ShadowCash address to sign the message with (e.g. SaKYqfD8J3vw4RTnqtgk2K9B67CBaL3mhV)"
maxlength="128"/>
<!--<a id="sign-addlkp-btn" class="button is-inverse has-fixed-icon small-button" data-title="Choose address from address book" href="#address-lookup-modal" onclick="addressLookup('sign-address', true);"><i class="fa fa-book"></i></a>-->
</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>
</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>
</p>
<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 ShadowCash address to verify the message with (e.g. SaKYqfD8J3vw4RTnqtgk2K9B67CBaL3mhV)"
placeholder="Enter a ShadowCash address to verify the message with (e.g. SaKYqfD8J3vw4RTnqtgk2K9B67CBaL3mhV)"
maxlength="128"/>
<!--<a id="verify-addlkp-btn" class="button is-inverse has-fixed-icon small-button" style="margin-right: 0px" data-title="Choose address from address book" href="#address-lookup-modal"
onclick="addressLookup('verify-address', false);"><i class="fa fa-book"></i></a><a class="button is-inverse has-fixed-icon small-button" href="javascript:paste('#verify-address');" data-title="Paste address from clipboard"><i class="fa fa-copy"></i></a><br/>-->
</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 ShadowCash signature" data-title="Enter a ShadowCash signature" onchange=""/>
</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>