-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
executable file
·1319 lines (1232 loc) · 65.3 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 lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="Blockchain Media Distribution">
<meta name="keywords" content="Blockchain Media Distribution, Blockchain, Media, Distribution, Alexandria, Bitcoin, Florincoin, Decentralized, P2P, FLO, BTC, Free, Video, Publisher">
<title>ΛLΞXΛNDRIΛ Publisher</title>
<!-- Application styles-->
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./css/entypo.css">
<link rel="stylesheet" href="./css/font-awesome.css">
<!-- <link rel="stylesheet" href="css/bootstrap-dashboard.css"> -->
<link href="./css/bootstrap-tagsinput.css" rel="stylesheet">
<link href="./css/main.css" rel="stylesheet">
<link href="./css/artifact.css" rel="stylesheet">
<link href="./css/sweet-alert.css" rel="stylesheet">
<style type="text/css">
/*.form-control {
border:1px solid #888 !important;
color: #000 !important;
}
.nav-pills > li > a{
border:1px solid #888 !important;
color: #000 !important;
}
button {
border:1px solid #888 !important;
}*/
@media (min-width: 768px) {
.navbar .navbar-nav {
display: inline-block;
float: none;
vertical-align: top;
}
.navbar .navbar-collapse {
text-align: center;
}
.navbar-center {
float: left;
margin-left: 50%;
}
}
h1 {
border-bottom: none;
}
.dual-selector {
display: flex;
padding: 0px 0px !important;
width: 100%;
padding-top: 1px !important;
}
.custom-file-control::before {
color: #5bc0de;
background-color: #fff;
border: 1px solid rgba(91, 192, 222, 1);
border-radius: 0 .25rem .25rem 0;
}
.custom-file-control::before:hover{
color: #fff;
background-color: #5bc0de;
border: 1px solid rgba(91, 192, 222, 1);
border-radius: 0 .25rem .25rem 0;
}
.table-icon {
width: 20px;
height: 20px;
color: #ccc;
fill: currentColor;
}
.type-circle {
margin: 0 auto;
border-radius: 50%;
border: 1px solid #979797;
background-color: #ffffff;
height: 60px;
width: 60px;
background-size: 40px 40px;
background-repeat: no-repeat;
background-position: center;
color: #979797;
fill: currentColor;
}
.type-circle:hover {
background-color: #ddd;
border: 1px solid #999999;
}
.type-circle-active {
background-color: rgba(83, 139, 212, 0.3);
}
.song-icon {
background-image: url('./assets/svg/beamed-note.svg');
}
.video-icon {
background-image: url('./assets/svg/video-camera.svg');
}
.image-icon {
background-image: url('./assets/svg/image.svg');
}
.text-icon {
background-image: url('./assets/svg/text-document.svg');
}
.software-icon {
background-image: url('./assets/svg/code.svg');
}
.web-icon {
background-image: url('./assets/svg/browser.svg');
}
.album-icon {
background-image: url('./assets/svg/album-icon.svg');
}
.book-icon {
background-image: url('./assets/svg/book-icon.svg');
}
.media-icon {
background-image: url('./assets/svg/media-icon.svg');
}
.movie-icon {
background-image: url('./assets/svg/movie-icon.svg');
}
.podcast-icon {
background-image: url('./assets/svg/podcast-icon.svg');
}
.recipe-icon {
background-image: url('./assets/svg/recipe-icon.svg');
}
.things-icon {
background-image: url('./assets/svg/things-icon.svg');
}
.nav-pills li a:active {
background: rgba(83, 139, 212, 0.2);
color: #8e8e90;
transition: 0.1s all;
}
.loader {
position: absolute;
top: 50%;
left: 45%;
top: 200px;
border: 16px solid #f3f3f3; /* Light grey */
border-top: 16px solid #3498db; /* Blue */
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.navbar-center {
float: none;
display: inline-block;
text-align: center;
}
</style>
</head>
<body>
<nav class="navbar navbar-dark bg-dark fixed-top">
<a class="navbar-brand" href="#">
<img src="./img/logo.png" width="30px" height="30px" class="d-inline-block align-top" alt="">
<span style="margin-left: 5px;">ΛLΞXΛNDRIΛ Publisher</span>
<div style="display: inline-block;"><span class="badge badge-primary" style="font-size: 12px; margin-top: -21px; position: absolute; margin-left: 3px;">beta</span></div>
</a>
<form class="form-inline mr-auto" style="margin: 0px auto">
<ul class="navbar-nav" style="list-style: none;width: 100%; padding-right: 20px; padding-left: 25px; margin: 0 auto; text-align: center;">
<li style="display:inline-block;">
<select id="publisherSelect" class="custom-select" style="display: none;" onchange="PhoenixUI.onPublisherSelectChange(this);">
<option value="a"></option>
</select>
</li>
</ul>
</form>
<button class="btn btn-outline-light" style="right: 20px;" onclick="Phoenix.logout();">Sign Out</button>
</nav>
<div class="container-fluid" style="margin-top: 55px">
<div class="loader" id="loader" style=""></div>
<div class="errorScreen" id="errorScreen" style="display: none;text-align: center; padding-top: 300px;">
<h1 class="danger">Oops! Looks like there was an error loading the publisher, please try again later!</h1>
</div>
<div id="main" class="row" style="display: none;">
<nav class="col-sm-4 col-md-3 col-lg-2 hidden-xs-down bg-light sidebar">
<div class="text-center" style="margin-top: 30px">Welcome, <span id="pub-name"></span></div>
<div class="text-center" style="margin-bottom: 0px"><code><span id="walletBalance"></span></code></strong></div>
<div class="text-center" style="margin-bottom: 10px"> <strong>USD</strong>: <code style="color: green"><span id="walletBalanceUSD"></span></code></strong></div>
<ul class="nav nav-pills flex-column">
<li class="nav-item"><a href="#" class="nav-link" id="publisherNav" style="color: black" onclick="showDraftsPage()"><img style="width: 20px; height: auto; margin-left: 5px; margin-right: 10px;" src="./assets/svg/publish.svg"">Publisher</a></li>
<li class="nav-item"><a href="#" class="nav-link" id="artifactsNav" style="color: black" onclick="showArtifactPage()"><img style="width: 20px; height: auto; margin-left: 5px; margin-right: 10px;" src="./assets/svg/menu.svg">My Artifacts</a></li>
<li class="nav-item"><a href="#" class="nav-link" id="walletNav" style="color: black" onclick="showWalletPage()"><img style="width: 20px; height: auto; margin-left: 5px; margin-right: 10px;" src="./assets/svg/wallet.svg">Wallet</a></li>
<li class="nav-item"><a href="#" class="nav-link" id="toolsNav" style="color: black" onclick="showToolsPage()"><img style="width: 20px; height: auto; margin-left: 5px; margin-right: 10px;" src="./assets/svg/scissors.svg">Tools</a></li>
</ul>
</nav>
<main class="col-sm-8 offset-sm-4 col-md-9 col-lg-10 offset-md-3" style="overflow-y: auto;">
<section class="row text-center" id="wizard">
<nav class="navbar navbar-light" style="width: 100%; border-bottom: 1px solid #000;">
<div class="col-3"><button class="btn btn-outline-info btn-background-white pull-left" onclick="showDraftsPage()"><span class="icon icon-chevron-left"></span> Back</button></div>
<div class="col-6">New Artifact: <span id="fillArtTitle"></span></div>
<div class="col-3"><button class="btn btn-outline-success btn-background-white pull-right" onclick="PhoenixUI.publish()">Publish <span class="icon icon-chevron-right"></span></button></div>
</nav>
<div class="container">
<div style="margin-top:60px;">
<div class="section publish col-lg-12">
<div class="publish-section artifact-type">
<h5 style="margin-bottom: 5px;">Select Artifact type</h5>
<div class="row justify-content-center" style="margin-bottom: 10px;" id="typeCircles">
<!-- <div class="col-2"><div class="type-circle song-icon type-circle-active"></div>Audio</div>
<div class="col-2"><div class="type-circle video-icon"></div>Video</div>
<div class="col-2"><div class="type-circle image-icon"></div>Image</div>
<div class="col-2"><div class="type-circle text-icon"></div>Text</div>
<div class="col-2"><div class="type-circle software-icon"></div>Software</div>
<div class="col-2"><div class="type-circle web-icon"></div>Web</div> -->
</div>
<div style="display: inline-block; float: left; font-size: 16px; font-weight: 500;padding-right:10px;">Select Subtype: </div>
<ul class="nav nav-pills" role="tablist" id="subtypePills" style="margin-bottom:-5px;">
<!-- <li class="active" onclick="changeArtifactType('music')"><a href="#music" data-toggle="tab">Basic</a></li>
<li onclick="changeArtifactType('song')"><a href="#video" data-toggle="tab">Song</a></li>
<li onclick="changeArtifactType('album')"><a href="#video" data-toggle="tab">Album</a></li>
<li onclick="changeArtifactType('podcast')"><a href="#podcast" data-toggle="tab">Podcast</a></li>
<li onclick="changeArtifactType('book')"><a href="#book" data-toggle="tab">Book</a></li>
<li onclick="changeArtifactType('movie')"><a href="#movie" data-toggle="tab">Movie</a></li>
<li onclick="changeArtifactType('thing')"><a href="#thing" data-toggle="tab">Thing</a></li>
<li onclick="changeArtifactType('html')"><a href="#html" data-toggle="tab">HTML</a></li> -->
</ul>
</div>
<div class="publish-section" style="margin-top: -15px;">
<div class="publish-files audio-tracks">
<!-- Upload effect is on CSS :hover state, make it for drag & drop only -->
<div class="upload-area" id="mediaDrop" style="padding-bottom: 15px; height: 150px;display: flex; justify-content: center; align-items: center;">
<h3 style="color: #ccc; margin-bottom: -10px;">Please Click or Drag & Drop to Upload...</h3>
</div>
<table class="table" id='mediaFilesTable' style="margin-bottom: -5px; display: none">
<thead>
<tr>
<th width="5%" class="text-center" style="border-top: none;"></th>
<th width="40%" class="text-center" style="border-top: none;">Display Name</th>
<th width="10%" class="text-center" style="border-top: none;">Size</th>
<th width="30%" class="text-center" style="border-top: none;">Type</th>
<th width="10%" class="text-center" style="border-top: none;"></th>
</tr>
</thead>
<tbody id="mediaTable">
<!-- <tr>
<td><img class="table-icon" src="./assets/svg/song-icon.svg"></td>
<td class="text-left"> <input type="text" class="form-control" name="dispName" value="Display Name"></td>
<td>3.2MB</td>
<td style="width: 100%">
<div class="row form-control dual-selector">
<select class="form-control col-6" id="exampleSelect1">
<option>Audio</option>
<option>Video</option>
<option>Image</option>
<option>Software</option>
<option>Web</option>
<option>Text</option>
</select>
<select class="form-control col-6" id="exampleSelect1">
<option>Song</option>
</select>
</div>
</td>
<td><button class="btn btn-sm btn-outline-danger">x</button></td>
</tr> -->
</tbody>
</table>
<!-- <label class="custom-file text-left" style="margin-top: 10px; float:right; margin-top: -40px;">
<input type="file" name="mediaFiles" id="mediaFiles" multiple accept="audio/*" class="custom-file-input">
<span class="custom-file-control"></span>
</label> -->
</div>
</div>
<div class="publish-section" id='metainfo' style="">
<div id='music' class="">
<div class="row">
<div class="col-12 col-md-6 col-lg-8 col-xl-8">
<div class="row">
<div class="col-12">
<h3 id="metaTitle">title</h3>
</div>
</div>
<div class="row" id="metaForm">
<!-- <div class="col-12 form-group" id="artifactTitleGroup">
<input type="text" class="form-control" id="title" placeholder="Album Title">
</div>
<div class="col-12 form-group" id="artifactArtistGroup">
<input type="text" class="form-control" id="artistName" placeholder="Artist Name">
</div>
<div class="col-6">
<div class="form-group" id="artifactgenreGroup">
<input type="text" class="form-control" id="genre" placeholder="Genre">
</div>
</div>
<div class="col-6">
<div class="form-group" id="artifactDateGroup">
<input type="number" class="form-control" id="releaseDate" placeholder="Release Year">
</div>
</div>
<div class="col-12 form-group" id="artifactTagsGroup">
<input type="text" class="form-control" id="tags" placeholder="Tags">
</div>
<div class="col-12 form-group" id="artifactRecordLabelGroup">
<input type="text" class="form-control" id="recordLabel" placeholder="Record Label">
</div>
<div class="col-12 form-group" id="artifactDescriptionGroup">
<textarea row="3" class="form-control" id="description" placeholder="Album Description"></textarea>
</div> -->
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-4">
<center>
<h3 id="posterTitle">Thumbnail</h3>
<div class="cover-art-square" id='poster' style="display: flex; justify-content: center; align-items: center;">
<h4 id="thumbText" style="color: #ccc; margin-bottom: -10px;">Please Click or Drag & Drop to Upload...</h4>
</div>
<input type="file" id="posterFile" class="custom-file-input" style="display: none;">
<div style="height:100px;"></div>
<div style="bottom:10px;position:absolute;">
<span style="font-size: 1em; font-weight: 100;">My Artifact is ok for:</span>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-sm btn-outline-primary active" id='allRadioLabel'>
<input id='allRadio' type="radio" name="nsfw" id="artifactFreeBtn" autocomplete="off" onclick="" checked> All Ages
</label>
<label class="btn btn-sm btn-outline-dark" id='nsfwRadioLabel'>
<input id='nsfwToggle' type="radio" name="nsfw" id="artifactPaidBtn" autocomplete="off" onclick="" unchecked> 18+ (NSFW)
</label>
</div>
<br />
<a data-toggle="popover" data-trigger="hover" data-placement="bottom" title="What is NSFW content?" data-content="NSFW content would be things you wouldn't want your boss or children to know you were watching. This includes all content which contains nudity, intense sexuality, intense profanity, violence/gore or other disturbing content."><small class="text-muted">Please select if your content is suitible for all ages or if it has NSFW/sensitive content. <span class="icon icon-help-with-circle"></span></small></a>
</div>
</center>
</div>
</div>
</div>
</div>
<div class="row" id='bitcoinAddressField'>
<div class="col-sm-12">
<h3>Pricing Information</h3>
<center style="margin-top: 15px; margin-bottom: 20px">
<span style="font-size: 1.5em; font-weight: 100;">I want my Artifact to be:</span>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-outline-primary active" id='freeRadioLabel'>
<input id='freeRadio' type="radio" name="free" id="artifactFreeBtn" autocomplete="off" onclick="" checked> Free
</label>
<label class="btn btn-outline-success" id='paidRadioLabel'>
<input id='paidRadio' type="radio" name="free" id="artifactPaidBtn" autocomplete="off" onclick="$('#paymentInfo').show();" unchecked> Paid
</label>
</div>
<br/>
<small class="text-muted">If you would like to enter suggested tip amounts, custom payment addresses, or set advanced payment information, <br /> please set your artifact to Paid.</small>
</center>
<div class="row text-left" id="paymentInfo">
<div class="col-12">
<div class="publish-section publish-pricing" id='pricing' style="display: none;">
<table class="table" id='pricingTable'>
<thead>
<tr>
<th>File Name</th>
<th><span data-toggle="popover" data-trigger="hover" data-placement="bottom" title="Disallow Play?" data-content="If you check this, then nobody will be able to play/view this file. They will need to purchase the file to view/play it.">Playable <span class="icon icon-help-with-circle"></span></span></th>
<th>Price per Play</th>
<th><span data-toggle="popover" data-trigger="hover" data-placement="bottom" title="Disallow Buy?" data-content="If you check this, then nobody will be able to buy this file. They will always need to pay for each play.">Purchasable <span class="icon icon-help-with-circle"></span></span></th>
<th>Price to Buy</th>
</tr>
</thead>
<tbody id="pricingTableBody">
<tr class="text-center">
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div style="margin: 10px auto; margin-bottom: 30px">
<button class="btn btn-outline-dark" onclick="PhoenixUI.toggleAdvanced(this)">Show Advanced Settings <span class="icon icon-chevron-down"></span></button>
</div>
<div class="row" style="display: none" id="advancedSettings">
<div class="col-6">
<h5 class="text-center">Suggested Tips</h5>
<div class="row">
<div class="col input-group"><span class="input-group-addon" style="padding-left:5px;padding-right:5px;">$</span><input type="text" class="form-control col" id="tip1" placeholder="0.01" oninput="PhoenixUI.onTipsInput(this);" onblur="PhoenixUI.onTipsInput(this, true);"></div>
<div class="col input-group"><span class="input-group-addon" style="padding-left:5px;padding-right:5px;">$</span><input type="text" class="form-control col" id="tip2" placeholder="0.10" oninput="PhoenixUI.onTipsInput(this);" onblur="PhoenixUI.onTipsInput(this, true);"></div>
<div class="col input-group"><span class="input-group-addon" style="padding-left:5px;padding-right:5px;">$</span><input type="text" class="form-control col" id="tip3" placeholder="1" oninput="PhoenixUI.onTipsInput(this);" onblur="PhoenixUI.onTipsInput(this, true);"></div>
</div>
<small class="form-text text-center text-muted" data-toggle="popover" data-trigger="hover" data-placement="bottom" title="Do I need to enter tips?" data-content="No. You do not need to enter suggested tip amounts. If you do not enter any information, the Retailer will show their default tip amounts.">The suggested tip amounts will be displayed to the user if they click to "Tip" your video. <span class="icon icon-help-with-circle"></span></small>
</div>
<div class="col-6" id="bitcoinAddressGroup">
<!-- <span>Payment Addresses</span>
<input class="form-control" style="width: 30%" type="text" id="bitcoinAddress" placeholder="17aGuzA9p1ZmG49V9GmR6UgGzg1dQx9We9">
<p class="help-block">This is your Bitcoin address that you will use to receive payments for this artifact.</p> -->
<div class="form-group col-lg-12">
<h5 class="text-center">Payment Addresses</h5>
<div id="paymentAddresses">
<!-- <div class="row">
<div class="input-group col-11" style="margin-bottom: 5px;">
<div class="input-group-btn">
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img style="height: 30px" src="./img/bitcoin.svg">
</button>
<div class="dropdown-menu">
<a style="padding-left:-10px" class="dropdown-item" href="#"><img style="height: 30px" src="./img/Bitcoin.svg"> <span> Bitcoin</span></a>
<a style="padding-left:-10px" class="dropdown-item" href="#"><img style="height: 30px" src="./img/FLOflat2.png"> <span> Florincoin</span></a>
<a style="padding-left:-10px" class="dropdown-item" href="#"><img style="height: 30px" src="./img/Litecoin.svg"> <span> Litecoin</span></a>
</div>
</div>
<input type="text" class="form-control" aria-label="Text input with dropdown button">
<span class="input-group-addon">
<input type="radio" name="mainAddressRadio" checked>
</span>
</div>
</div>
<div class="row">
<div class="input-group col-11" style="margin-bottom: 5px;">
<div class="input-group-btn">
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img style="height: 30px" src="./img/FLOflat2.png">
</button>
<div class="dropdown-menu">
<a style="padding-left:-10px" class="dropdown-item" href="#"><img style="height: 30px" src="./img/Bitcoin.svg"> <span> Bitcoin</span></a>
<a style="padding-left:-10px" class="dropdown-item" href="#"><img style="height: 30px" src="./img/FLOflat2.png"> <span> Florincoin</span></a>
<a style="padding-left:-10px" class="dropdown-item" href="#"><img style="height: 30px" src="./img/Litecoin.svg"> <span> Litecoin</span></a>
</div>
</div>
<input type="text" class="form-control" aria-label="Text input with dropdown button">
<span class="input-group-addon">
<input type="radio" name="mainAddressRadio">
</span>
</div>
</div> -->
<div class="row" id="0">
<div class="input-group col-11" style="margin-bottom: 5px;" data-toggle="popover" data-trigger="hover" data-placement="bottom" title="Why can't I change this?" data-content="This Payment Address is your Publisher Address that your account is linked to. By default, if you have no other payment methods your funds will be sent to this address.">
<div class="input-group-btn has-danger">
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>
<img style="height: 30px" src="./img/FLOflat2.png">
</button>
<div class="dropdown-menu">
</div>
</div>
<input id="currentPublisherAddress" type="text" class="form-control" oninput="PhoenixUI.onPaymentAddressChange(this);" disabled value="">
<span class="input-group-addon">
<input type="radio" name="mainAddressRadio" checked>
</span>
</div>
<div class="col-1">
</div>
</div>
<div class="row" id="1">
<div class="input-group col-10" style="margin-bottom: 5px;">
<div class="input-group-btn">
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img style="height: 30px" src="./img/Bitcoin.svg">
</button>
<div class="dropdown-menu">
<a style="padding-left:-10px" class="dropdown-item" href="" onclick="PhoenixUI.changePaymentAddressType(this);return false;"><img style="height: 30px" src="./img/Bitcoin.svg"> <span> Bitcoin</span></a>
<a style="padding-left:-10px" class="dropdown-item" href="" onclick="PhoenixUI.changePaymentAddressType(this);return false;"><img style="height: 30px" src="./img/FLOflat2.png"> <span> Florincoin</span></a>
<a style="padding-left:-10px" class="dropdown-item" href="" onclick="PhoenixUI.changePaymentAddressType(this);return false;"><img style="height: 30px" src="./img/Litecoin.svg"> <span> Litecoin</span></a>
<a style="padding-left:-10px" class="dropdown-item" href="" onclick="PhoenixUI.changePaymentAddressType(this);return false;"><img style="height: 30px" src="./img/bch.png"> <span> Bitcoin Cash</span></a>
</div>
</div>
<input type="text" class="form-control" oninput="PhoenixUI.onPaymentAddressChange(this);">
<span class="input-group-addon">
<input type="radio" name="mainAddressRadio">
</span>
</div>
<div class="col-2">
<div class="row justify-content-center align-items-center" style="margin-top: 7px; float: left;">
<button class="btn btn-sm btn-outline-danger" onclick="PhoenixUI.removePaymentAddress(this);">-</button>
<div style="width: 5px"> </div>
<button class="btn btn-sm btn-outline-success" onclick="PhoenixUI.addPaymentAddress(this);">+</button>
</div>
</div>
</div>
</div>
<small id="emailHelp" class="form-text text-muted">Select the default payment address using the selector on the Right side.</small>
</div>
</div>
<div class="col-12">
<h5 class="text-center" style="margin-top: 20px;">Advanced</h5>
<div class="form-group row text-right">
<div class="col-4">
<div class="row">
<label for="example-text-input" class="col-6 col-form-label" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-offset="0 -45" title="What is a Promoter?" data-content="A Promoter is someone who drives traffic to your content. This can be anybody that shares your content, or leads people to your content.">Promoter <span class="icon icon-help-with-circle"></span></label>
<div class="col-6">
<div class="input-group">
<input id="promoter" type="text" class="form-control" oninput="PhoenixUI.onAdvancedInput(this);" placeholder="15">
<span class="input-group-addon" style="padding-left:5px;padding-right:5px;">%</span>
</div>
</div>
</div>
</div>
<div class="col-4">
<div class="row">
<label for="example-text-input" class="col-6 col-form-label" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-offset="0 -45" title="What is a Retailer?" data-content="A Retailer is someone who sells your content. This includes people like Alexandria currently.">Retailer <span class="icon icon-help-with-circle"></span></label>
<div class="col-6">
<div class="input-group">
<input id="retailer" type="text" class="form-control" oninput="PhoenixUI.onAdvancedInput(this);" placeholder="15">
<span class="input-group-addon" style="padding-left:5px;padding-right:5px;">%</span>
</div>
</div>
</div>
</div>
<div class="col-4">
<div class="row">
<label for="example-text-input" class="col-6 col-form-label" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-offset="0 -25" title="What is the Max Discount?" data-content="The Max Discount percentage is the maximum amount you would ever like your content to be discounted. This includes for example sales and promotions.">Max Discount <span class="icon icon-help-with-circle"></span></label>
<div class="col-6">
<div class="input-group">
<input id="disPer" type="text" class="form-control" oninput="PhoenixUI.onAdvancedInput(this);" placeholder="30">
<span class="input-group-addon" style="padding-left:5px;padding-right:5px;">%</span>
</div>
</div>
</div>
</div>
</div>
<small class="form-text text-muted text-center" style="margin-bottom: 10px">Hover over the Promoter, Retailer, and Max Discount text for more information.</small>
</div>
</div>
</div>
<div class="publish-section publish-submit" id="publishSubmitSection">
<div class="row align-items-center">
<div class="col-3">
<!-- <p class="small" id="artJSON">You will be able to submit your artifact after you preview it. Be sure it looks exactly like what you desire as you will be unable to change this later. </p>-->
</div>
<div class="col-6 text-center" style="color: green">
Cost To Publish
<br />
<h1 style="margin-bottom: 0px;"><span id="publishFee">Free!</span><span id="publishSlash" style="color: #333; display:none"> / </span><span id="publishFeeFLO" style="color: cornflowerblue; display:none">0 FLO</span></h1>
<span style="color: #d9534f; display:none" id="pubBalanceTooLow">You do not have enough balance in your wallet!</span>
</div>
<div class="col-3 text-right">
<button type="button" id="previewButton" class="btn btn-outline-success btn-background-white" onClick="PhoenixUI.publish()">Publish</button>
</div>
</div>
</div>
<div style='height:30px'></div>
<pre class="small text-left" id="artJSON"></pre>
</div>
</div>
</div>
<div class="modal fade" id="previewModal" tabindex="-1" role="dialog" aria-labelledby="previewLabel">
<div class="">
<div class="modal-dialog" role="document" style='width:95%'>
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="previewLabel">Preview Artifact</h4>
</div>
<div class="modal-body">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="row media-embed">
<center>
<video id='previewVideo' controls="controls" src="" style="width: 80%">
</video>
</center>
</div>
<div class="row entity-meta-header">
<br>
<h2 id='previewTitle'>Title</h2>
<h3 id="previewArtist">Artist</h3>
<div class="entity-meta-content">
<div id='previewTime' class="entity-pub-time">Posted <span id="current-time">Tue Dec 08 2015 09:36:34 GMT-0700 (MST)</span></div>
<div id='previewRuntime' class="entity-runtime">Runtime: <span id="runtime">00:12:48</span></div>
</div>
</div>
<div class="row media-desc">
<p id='previewDescription'>Description</p>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger pull-left" data-dismiss="modal" onclick="$('#previewVideo').get(0).pause();">Cancel</button>
<button type="button" class="btn btn-success pull-right" data-dismiss="modal" onclick="submitArtifact()">Submit</button>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="tradebotModal" tabindex="-1" role="dialog" aria-labelledby="tradebotLabel">
<div class="vertical-alignment-helper">
<div class="vertical-align-center modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="tradebotLabel">Get FLO with TradeBot</h4>
</div>
<div class="modal-body">
<div class="container">
<div class="row">
<div class="col-md-6" id="tradebotBuy">
<center>
<p>Please send $<span id="usdLabel"></span> in BTC to this address. You can change this amount below.</p>
<div id="qrcode" style="width: 80%; height: 80%;"></div>
<br>
<code style="font-size: 18px" id="btcDisplayAddress">1EV7zyqRK6qS2QnZdwXrgS2aKzXpi91jBn</code>
<br>
<br>
<form class="form-inline">
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">$</div>
<input type="text" class="form-control" id="usdValue" placeholder="" style="width: 75px;" onblur="updateUSD()">
<div class="input-group-addon">USD</div>
</div>
</div>
<div class="form-group">
<div class="input-group">
<input type="text" class="form-control" id="btcValue" placeholder="" style="width: 7.25em;" onblur="updateBTC()">
<div class="input-group-addon">BTC</div>
</div>
</div>
<div class="form-group">
<div class="input-group">
<input type="text" class="form-control" id="floValue" placeholder="" style="width: 75px;" onblur="updateFLO()">
<div class="input-group-addon">FLO</div>
</div>
</div>
</form>
<a class="coinbase-widget" id="coinbase_widget" href="">Buy FLO with Debit/Credit</a>
</center>
</div>
<div class="col-md-6" id="tradebotPending" style="opacity: 0; display: none;">
<center>
<p style="padding-top: 20px;">Bitcoin transaction recieved... waiting for Tradebot to send funds...</p>
</center>
<div id="loading">
<ul class="bokeh">
<li></li>
<li></li>
<li></li>
</ul>
</div>
<center>
<p style="padding-top: -50px;">This usually takes 5-10 minutes depending on Bitcoin block times and Tradebot response times.</p>
</center>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger pull-right" data-dismiss="modal" onclick="cancelFloBuy()">Cancel</button>
</div>
</div>
</div>
</div>
<video src="" width="1" height="1" id="video_player"></video>
</div>
</section>
<section class="text-center container" id="draftSelect">
<div class="col-12" style="margin-top: 20px">
<h4 class="m0 text-thin">Please select a draft or start a new Artifact!</h4><small>Please select from in the table below</small>
</div>
<br />
<br />
<br />
<div>
<button class="btn btn-outline-success btn-lg" onClick="PhoenixUI.startNewWIP()"><span class="icon icon-pencil"></span> Start New Artifact</button>
</div>
<br />
<br />
<div>
<h3 id="draftOr">or</h3>
</div>
<br />
<br />
<div class="col-12">
<table class="table" id="draftTable">
<thead>
<tr>
<th style="text-align:center">#</th>
<th style="text-align:center">Type</th>
<th style="text-align:center">Title</th>
<th style="text-align:center">Controls</th>
</tr>
</thead>
<tbody id="draftTbody">
<!-- <tr>
<th scope="row">1</th>
<td>Audio - Basic</td>
<td>Beach Ambiance Audio</td>
<td>
<button class="btn btn-outline-info"><span class="icon icon-pencil"></span> Resume</button>
<button class="btn btn-outline-danger"><span class="icon icon-trash"></span> Delete</button>
</td>
</tr> -->
</tbody>
</table>
</div>
</section>
<section id="artifacts" class="container">
<div class="col-12" style="margin-top: 20px;">
<h4>Publish Status</h4>
<table class="table table-hover table-bordered text-center" style="vertical-align: middle">
<thead>
<tr>
<th>Status</th>
<th>Name</th>
<th style="width: 50%"></th>
<th style="min-width:261px;"></th>
</tr>
</thead>
<tbody id="artifactsTBody">
<!-- <tr class="table-default">
<th scope="row"><span class="badge badge-success">Active</span></th>
<td><code>Apollo 11</code></td>
<td>
</td>
<td>
<button class="btn btn-no-pad btn-outline-info">View</button>
<button class="btn btn-no-pad btn-outline-danger">Deactivate</button>
</td>
</tr>
<tr class="table-secondary">
<th scope="row"><span class="badge badge-secondary">Processing</span></th>
<td><code>Apollo 12</code></td>
<td>
<div class="progress">
<div class="progress-bar progress-bar-animated progress-bar-striped bg-secondary" role="progressbar" style="width: 100%;" aria-valuenow="65" aria-valuemin="0" aria-valuemax="100">Waiting for Artifact to be picked up by Front End</div>
</div>
</td>
<td>
<button class="btn btn-no-pad btn-outline-info btn-background-white">More Info</button>
</td>
</tr>
<tr class="table-danger">
<th scope="row"><span class="badge badge-danger">Error</span></th>
<td><code>Apollo 13</code></td>
<td>
<code>Error uploading files</code>
</td>
<td>
<button class="btn btn-no-pad btn-outline-warning btn-background-white">Retry</button>
<button class="btn btn-no-pad btn-outline-danger btn-background-white">Delete</button>
</td>
</tr>
<tr class="table-default">
<th scope="row"><span class="badge badge-success">Active</span></th>
<td><code>Apollo 14</code></td>
<td>
</td>
<td>
<button class="btn btn-no-pad btn-outline-info">View</button>
<button class="btn btn-no-pad btn-outline-danger">Deactivate</button>
</td>
</tr>
<tr class="table-default">
<th scope="row"><span class="badge badge-success">Active</span></th>
<td><code>Apollo 15</code></td>
<td>
</td>
<td>
<button class="btn btn-no-pad btn-outline-info">View</button>
<button class="btn btn-no-pad btn-outline-danger">Deactivate</button>
</td>
</tr>
<tr class="table-warning">
<th scope="row"><span class="badge badge-warning">Uploading Files...</span></th>
<td><code>Apollo 16</code></td>
<td>
<div class="progress">
<div class="progress-bar progress-bar-animated progress-bar-striped bg-warning" role="progressbar" style="width: 65%;color: #000;" aria-valuenow="65" aria-valuemin="0" aria-valuemax="100">65% - (5/7 files complete)</div>
</div>
</td>
<td>
<button class="btn btn-no-pad btn-outline-info btn-background-white">More Info</button>
</td>
</tr>
<tr class="table-info">
<th scope="row"><span class="badge badge-info">Adding to IPFS</span></th>
<td><code>Apollo 17</code></td>
<td>
<div class="progress">
<div class="progress-bar progress-bar-animated progress-bar-striped bg-info" role="progressbar" style="width: 100%" aria-valuenow="65" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</td>
<td>
<button class="btn btn-no-pad btn-outline-info btn-background-white">More Info</button>
</td>
</tr> -->
</tbody>
</table>
</div>
<div class="modal" id="more-info-modal">
<div class="modal-dialog" role="document" style="margin: 20% auto;">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title text-center">More Info</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p id="moreInfoText">Currently waiting for 1 confirmation. ETA 40 seconds.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</section>
<section id="WalletPage" class="container">
<div class="content-heading bg-white" style="padding-top: 30px">
<div class="row">
<div class="col-12">
<h2 class="text-center">Wallets</h2>
</div>
<div class="col-12 col-sm-6 col-md-4">
<div class="card">
<div class="card-body text-center">
<h3 class="card-title"><img src="img/btcflat.svg" style="height: 50px" /> Bitcoin</h3>
<h6 class="card-subtitle mb-2 text-muted" style="margin-bottom:12px !important"><span id="btcWalletValue"></span></h6>
<h4 class="card-subtitle mb-2 text-muted"><span style="color: #28a745"><span id="btcWalletUSD"></span></span></h4>
<div style="height:10px"></div>
</div>
<div></div>
</div>
</div>
<div class="col-12 col-sm-6 col-md-4">
<div class="card">
<div class="card-body text-center">
<h3 class="card-title"><img src="img/FLOflat2.png" style="height: 50px" /> Florincoin</h3>
<h6 class="card-subtitle mb-2 text-muted" style="margin-bottom:12px !important"><span id="floWalletValue"></span></h6>
<h4 class="card-subtitle mb-2 text-muted"><span style="color: #28a745"><span id="floWalletUSD"></span></span></h4>
<div style="height:10px"></div>
</div>
</div>
</div>
<div class="col-12 col-sm-6 col-md-4">
<div class="card">
<div class="card-body text-center">
<h3 class="card-title"><img src="img/ltcflat.svg" style="height: 50px" /> Litecoin</h3>
<h6 class="card-subtitle mb-2 text-muted" style="margin-bottom:12px !important"><span id="ltcWalletValue"></span></h6>
<h4 class="card-subtitle mb-2 text-muted"><span style="color: #28a745"><span id="ltcWalletUSD"></span></span></h4>
<div style="height:10px"></div>
</div>
</div>
</div>
<!-- <div class="col-12" style="margin-top: 15px;">
<div class="card border border-success">
<div class="card-body text-center">
<h5 class="card-title"><span></span> Withdraw to Bank!</h5>
<h6 class="card-subtitle mb-2 text-muted"><span style="color: #28a745">up to $--.--</span></h6>
<a href="#" class="btn btn-sm btn-outline-success"><span class="icon icon-flash"></span> Instant Sell ($--.--)</a>
<a href="#" class="btn btn-sm btn-outline-secondary"><span class="icon icon-wallet"></span> Deposit to Bank ($--.--)</a>
</div>
</div>
</div> -->
<div class="col-12" style="margin-top: 50px;display:none">
<h4>Recent Transactions</h4>
<div class="table-responsive">
<table class="table table-bordered table-condensed" id="TXTable" style=" word-wrap: break-word; word-break: break-all; table-layout: fixed;">
<thead>
<tr>
<th>TXID</th>
<th style="width: 60%">Message</th>
<th>Tools</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>d02aa650d71f9cb0...</code></td>
<td>oip-mp(2,2,FAFRmxDW9an5XLBMixU1ZCF9aB6LShZjyP,8b06659213,HzmxqBMTzD3jhWdYQGfb+d/3kD4S+bapo8G2Xeu07tuoXgNBfsWRCwGiCPjSuoiFZ2JbwHHtDVoMmKUX1Fk5bQs=,):zsLLREpk9sErAqRf7MGc5QB8"}]},"timestamp":1505055379,"publisher":"FAFRmxDW9an5XLBMixU1ZCF9aB6LShZjyP"},"signature":"IPwf997oKAJLPIHlihgdKq6QEoqEhLR0VHXGfw84urBLMsA1+2phnIWPhL6iyXzHjZm/tIBW5Fj1mwGo1Tz8qL8="}}</td>
<td><a href="" class="btn btn-outline-dark">View on Blockchain</a></td>
</tr>
<tr>
<td><code>7f34242885899199...</code></td>
<td>oip-mp(1,2,FAFRmxDW9an5XLBMixU1ZCF9aB6LShZjyP,8b06659213,ICxZyIQmR0VGxCtVGj5UmA3VlihxWPGWqK9JBpnth8d6XdOi3n4lqpVrfIEMHUij98PMQwyTsSwLCJdV3dfcvxs=,):.P.Lovecraft's short stories."},"storage":{"network":"IPFS","files":[{"fname":"Abdul_Alhazred.png","fsize":4114031,"type":"Image"},{"fname":"Abdul_Alhazred.jpg","fsize":292033,"type":"Image","subtype":"cover"}],"location":"QmUQY6YmNWnjwjKD2a8JBeXAhMcqLdm9k4VDHfm34fHhxo"},"payment":{"fiat":"USD","disPer":0.3,"sugTip":[],"addresses":[{"token":"BTC","address":"1Fv5b1hkQC</td>
<td><a href="" class="btn btn-outline-dark">View on Blockchain</a></td>
</tr>
<tr>
<td><code>8b06659213edc14d...</code></td>
<td>oip-mp(0,2,FAFRmxDW9an5XLBMixU1ZCF9aB6LShZjyP,,IJL97irZHAg8Eiw6Doc9B1A2u8KavjMPgMWY5B9Z3Ox1O93WXh94tx4CBJt272tLUavwhY2Wgi7QJjpfuqBjd4U=):{"oip-041":{"artifact":{"type":"Image-Basic","info":{"extraInfo":{"artist":"Katharsisdrill","genre":"The Arts","tags":["#drawing #lovecraft #krita #blackwhite #creativecommons"]},"title":"Abdul Alhazred","year":2017,"description":"Creative Commons -by - Depicting Abdul Alhazred, the author of the fictitious book The Necronomicon, and a character from the pulp-writer H</td>
<td><a href="" class="btn btn-outline-dark">View on Blockchain</a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!--<div class="col-sm-12 bg-white" style="padding-top: 25px">
<h4 class="text-center">Identifier: <code id="identifier"></code></h4>
<div class="table-responsive">
<table class="table table-bordered table-condensed" id="addressTable">
<thead>
<tr>
<th>Address</th>
<th>Balance</th>
</tr>
</thead>
<tbody>
<tr></tr>
</tbody>
</table>
</div>
<div id="walletAccordian"></div>
<div class="card" id="walletAccordian" role="tablist" aria-multiselectable="true">
<div class="card-block panel-default">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
<div class="card-header" role="tab" id="headingOne">
<h4 class="card-title">
<div style="padding: 0px 30px; color: #000">
FLuiVU5iDQ4a6ztcpBLwBNjBisyY2DvUTV<span style="float: right"><span class="color: green">$22.15</span> - 443.11323606 FLO</span>
</div>
</h4>
</div>
</a>
<div class="card-body">
<div class="col-md-12" align="center">
<div id="walletQrCode" title="bitcoin:FHbt6Q7BrALUxDi1ma9SXFcPPdjgRnoPme"><canvas width="256" height="256" style="display: none;"></canvas><img alt="Scan me!" style="display: block;" src=""></div> <br>
<div>
<span id="walletAddress">FHbt6Q7BrALUxDi1ma9SXFcPPdjgRnoPme</span>
</div>
<br>
<div style="text-align:center; width:430px;">
<ul class="nav nav-pills" role="tablist">
<li role="presentation" class="active"><a href="javascript:;" id="walletBalance" rel="0.000868" style="display: block;">443.11323606 FLO</a></li>
<li role="presentation"><a href="#walletSpend" id="walletShowSpend" aria-controls="walletSpend" role="pill" data-toggle="pill">Spend</a></li>
<li role="presentation"><a id="walletHistory" href="http://florincoin.info/address/FHbt6Q7BrALUxDi1ma9SXFcPPdjgRnoPme" target="_blank" data-ytta-id="-">History</a></li>
<li role="presentation"><a href="#tradebot" target="" >Buy</a></li>
<li role="presentation"><a href="#walletKeys" id="walletShowKeys" aria-controls="walletKeys" role="pill" data-toggle="pill">Keys</a></li>
</ul>
<br>
<div class="tab-content" style="margin-top: -40px;">
<div role="tabpanel" id="walletKeys" class="tab-pane">
<label>Public Key</label>
<input class="form-control pubkey" type="text" readonly="" data-original-title="" title="" value="FHbt6Q7BrALUxDi1ma9SXFcPPdjgRnoPme">
<label>Private key</label>
<div class="input-group">
<input class="form-control privkey" type="password" readonly="" data-original-title="" title="" value="">
<span class="input-group-btn">
<button class="showKey btn btn-default" onclick="$('#privKey').type == 'text' ? $('#privKey').type('password') : $('#privKey').type('text')" type="button">Show</button>
</span>
</div>
</div>
<div id="walletSpend" class="tab-pane active">
<div class="row">
<div class="form-inline output">
<div class="col-xs-8">
<label>Address</label>
</div>