forked from JSKitty/scc-web3
-
Notifications
You must be signed in to change notification settings - Fork 36
/
index.template.html
640 lines (567 loc) · 38.7 KB
/
index.template.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<!-- Primary Meta Tags -->
<title>My PIVX Wallet</title>
<meta name="title" content="My PIVX Wallet" />
<meta name="description" content="The wallet of the future - Receive, Send, Stake and Exchange using a completely decentralized, open-source, battle-hardened PIVX wallet." />
<meta name="keywords" content="web,wallet,webwallet,crypto,cryptocurrency,opensource,oss,pivx,staking,masternodes,exchange,swap,decentralized" />
<link rel="manifest" href="manifest.json"/>
<meta name="mobile-web-app-capable" content="yes" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_GB" />
<meta property="og:url" content="https://mypivxwallet.org/" />
<meta property="og:title" content="My PIVX Wallet" />
<meta property="og:description" content="The wallet of the future - Receive, Send, Stake and Exchange using a completely decentralized, open-source, battle-hardened PIVX wallet." />
<meta property="og:image" content="/logo_opaque-dark-bg.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://mypivxwallet.org/" />
<meta property="twitter:title" content="My PIVX Wallet" />
<meta property="twitter:description" content="The wallet of the future - Receive, Send, Stake and Exchange using a completely decentralized, open-source, battle-hardened PIVX wallet." />
<meta property="twitter:image" content="/logo_opaque-dark-bg.png" />
<!-- Colour Theme -->
<meta name="msapplication-TileColor" content="#470e75" />
<meta name="theme-color" content="#470e75" />
<link rel="icon" type="image/png" href="/logo_opaque-dark-bg.png" />
<link rel="canonical" href="https://mypivxwallet.org/" />
</head>
<body>
<div id="page-container">
<div class="home-hero-dark gradientBackground"></div>
<div id="page-container-light" class="home-hero gradientBackground" style="opacity:1;"></div>
<div id="content-wrap">
<!-- NAVBAR -->
<nav class="navbar navbar-expand-lg sticky-top navbar-dark navbarSpecial" style="z-index: 2001;" id="navbar">
<div class="container">
<img onclick="MPW.openTab(event, 'keypair')" style="cursor: pointer;" class="nav-logo navbar-brand noselect" alt="PIVX" id="mpw-main-logo" />
<ul class="navbar-nav small-dark-bg navBarActions showMenuMobile">
<li class="nav-item">
<span class="nav-link ptr collapsed" id="navbarToggler" style="width:33px" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></span>
</li>
</ul>
<div class="collapse navbar-collapse noselect" id="navbarNav">
<!-- MAIN NAVBAR -->
<div class="nav-centered">
<ul class="navbar-nav">
<li class="nav-item"><span id="dashboard" class="nav-link tablinks" onclick="MPW.openTab(event, 'keypair')" data-i18n="navDashboard">Dashboard</span></li>
<li class="nav-item"><span id="stakeTab" class="nav-link tablinks" onclick="MPW.openTab(event, 'StakingTab')" data-i18n="navStake">Stake</span></li>
<li class="nav-item"><span id="masternodeTab" class="nav-link tablinks" onclick="MPW.openTab(event, 'Masternode')" data-i18n="navMasternode">Masternode</span></li>
<li class="nav-item"><span id="governanceTab" class="nav-link tablinks" onclick="MPW.openTab(event, 'Governance')" data-i18n="navGovernance">Governance</span></li>
<li class="nav-item"><span class="nav-link tablinks" onclick="MPW.openTab(event, 'Settings');" data-i18n="navSettings">Settings</span></li>
</ul>
</div>
<!-- SIDE NAVBAR -->
<div id="SideNavbar">
</div>
</div>
</div>
</nav>
<!-- // NAVBAR -->
<!-- // QR MODAL -->
<div class="modal fade" id="qrModal" tabindex="-1" role="dialog" aria-labelledby="qrModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content exportKeysModalColor">
<div class="modal-header">
<div style="display: flex; justify-content: center; width: 100%;">
<h5 class="modal-title" data-i18n="receive" id="qrModalLabel" style="font-family: 'Montserrat';">
Receive
</h5>
</div>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<i class="fa-solid fa-xmark closeCross"></i>
</button>
</div>
<div class="modal-body center-text">
<code id="ModalQRLabel" class="wallet-code-new w-100" style="margin-bottom: 18px; padding-right: 35px;"></code>
<div id="ModalQR" style="font-family: 'Montserrat'; text-align: start; border-radius: 10px; border: 1px solid #42117e; background-color: #25183d; padding: 13px 13px;" class="auto-fit"></div>
<center>
<button id="ModalQRReceiveTypeBtn" class="pivx-button-small" onclick="MPW.guiToggleReceiveType()" style="margin-top:25px; height: 42px; width: 250px;">
<span class="buttoni-text">Change to Address</span>
</button>
</center>
</div>
</div>
</div>
</div>
<!-- // QR Reader -->
<div class="modal fade" id="qrReaderModal" tabindex="-1" role="dialog" aria-labelledby="qrReaderModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content exportKeysModalColor">
<div class="modal-header">
<h5 class="modal-title" id="qrReaderModalLabel">QR Scanner</h5>
<button id="closeQrReader" type="button" class="close" aria-label="Close">
<i class="fa-solid fa-xmark closeCross"></i>
</button>
</div>
<div class="modal-body center-text">
<video id="qrReaderStream"></video>
</div>
</div>
</div>
</div>
<!-- // Wallet Breakdown -->
<div class="modal fade" id="walletBreakdownModal" tabindex="-1" aria-labelledby="walletBreakdownModalLabel" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content exportKeysModalColor">
<div class="modal-header" style="display: flex; justify-content: center; padding-bottom: 0px;">
<h5 data-i18n="balanceBreakdown" class="modal-title" id="walletBreakdownModalLabel">Balance Breakdown</h5>
</div>
<div class="modal-body center-text" style="padding-bottom: 0px; padding-top: 0px;">
<canvas id="walletBreakdownCanvas"></canvas>
<div id="walletBreakdownLegend" style="padding-left: 14px; padding-top: 20px;"></div>
</div>
<div class="modal-footer" style="padding-top: 0px; display: flex; justify-content: center;">
<button type="button" class="pivx-button-big-cancel" data-dismiss="modal" aria-label="Close">Close</button>
</div>
</div>
</div>
</div>
<br />
<!-- // CONFIRM MODAL -->
<div class="modal" id="confirmModal" tabindex="-1" style="width: 100%; z-index: 2000; background-color: #201436db;" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div id="confirmModalDialog" class="modal-dialog max-w-600" role="document">
<div id="confirmModalMain" class="modal-content modalMain">
<div class="modal-header" id="confirmModalHeader">
<h3 class="modal-title" id="confirmModalTitle" style="text-align: center; width: 100%; color: #8e21ff;"></h3>
</div>
<div id="confirmModalContent" class="modal-body center-text" style="color: #AF9CC6;">
<!-- JS populated modal content -->
</div>
<div class="modal-footer" id="confirmModalButtons">
<div id="confirmModalCancelButton" class="pivx-button-outline" style="float: left;">
<span>Cancel</span>
</div>
<button data-i18n="popupConfirm" type="button" id="confirmModalConfirmButton" class="pivx-button-big" style="float: right;">Confirm</button>
</div>
</div>
</div>
</div>
<!-- Create Masternode -->
<div class="modal fade" id="createMasternodeModal" tabindex="-1" aria-labelledby="createMasternodeModalLabel" role="dialog" aria-hidden="true">
<div class="modal-mask black-text" style="z-index: 2000;background-color: rgba(32, 20, 54, 0.86);">
<div class="modal-dialog masternodeModalDialog modal-dialog-centered" role="document">
<div class="modal-content exportKeysModalColor">
<div class="modal-header" style="z-index: 101;">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<i class="fa-solid fa-xmark closeCross"></i>
</button>
</div>
<div class="modal-body center-text" style="z-index:100; margin-top: -35px; padding-bottom: 35px;">
<div class="container">
<h4>Create a masternode</h4>
<span style="color: #af9cc6; margin-bottom: 23px; display: block;">This action requires <b>10,000 PIV</b> in collateral.</span>
<input class="hide-element" type="text" />
<div style="display: block; text-align: left;">
<p style="margin-bottom: 6px; color: #af9cc6;">Choose your Masternode type</p>
<select id="mnCreateType" style="display: block; text-align: left;" placeholder="Masternode collateral tx" class="form-control">
<option value="VPS"> Self-hosted (a masternode server ran by you)</option>
<option value="Third Party"> Third Party (a masternode server ran by someone else)</option>
</select>
<br />
<br />
</div>
<button onclick="MPW.createMasternode()" class="pivx-button-small" style="height: 42px; width: 228px;">
<span class="buttoni-text">
<span id="plus-icon2" class="plus-icon"></span>
Create Masternode</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container containerMobileApp">
<div class="row no-gutters">
<div class="col-md-12 rm-pd">
<div class="tabcontent" style="display: block;">
<!-- PIVX TITLE SECTION -->
<div class="col-md-12 title-section float-left rm-pd">
<h1 class="pivx-bold-title center-text">
<div class="loadingDots">
<span></span>
<span></span>
<span></span>
</div>
<span data-i18n="loadingTitle">My PIVX Wallet is</span>
<div data-i18n="loading">Loading</div>
</h1>
</div>
<!-- // PIVX TITLE SECTION -->
</div>
<div id="DashboardTab"> </div>
<div id="StakingTab" class="tabcontent"> </div>
<div id="Governance" class="tabcontent">
<div class="col-md-12 title-section float-left rm-pd">
<span style="font: 23px 'Montserrat Regular'; text-align: center; display: block; font-weight: 300;">Vote on Governance</span>
<h3 data-i18n="navGovernance" class="pivx-bold-title center-text">Proposals</h3>
<p data-i18n="govSubtext" class="center-text">From this tab you can check the proposals and, if you have a masternode, be a part of the <b>DAO</b> and vote!</p>
</div>
<div class="row mb-5">
<div class="col-6 col-lg-3 text-center governBudgetCard">
<span data-i18n="govMonthlyBudget" style="font-weight:400; color:#E9DEFF; font-size: 18px;">Monthly Budget</span>
<div style="width: 180px; background-color:#3b1170; margin-top:11px; border-radius: 9px; padding-left: 13px; padding-right: 13px; padding-bottom: 6px; padding-top: 4px;">
<span style="font-size: 19px; color:#E9DEFF;"><span id="totalGovernanceBudget">-</span> <span style="color:#9131ea; font-size: 16px; position: relative; top: 1px;">PIV</span></span>
<hr style="border-top-width: 2px; background-color: #201431; margin-top: 5px; margin-bottom: -2px; margin-left: -13px; margin-right: -13px;">
<span style="font-size: 12px; color:#AF9CC6;"><span id="totalGovernanceBudgetValue">-</span></span>
</div>
</div>
<div class="col-6 col-lg-3 text-center governBudgetCard for-mobile">
<span data-i18n="govAllocBudget" style="font-weight:400; color:#E9DEFF; font-size: 18px;">Budget Allocated</span>
<div style="width: 180px; background-color:#3b1170; margin-top:11px; border-radius: 9px; padding-left: 13px; padding-right: 13px; padding-bottom: 6px; padding-top: 4px;">
<span style="font-size: 19px; color:#E9DEFF;"><span id="allocatedGovernanceBudget">-</span> <span style="color:#9131ea; font-size: 16px; position: relative; top: 1px;">PIV</span></span>
<hr style="border-top-width: 2px; background-color: #201431; margin-top: 5px; margin-bottom: -2px; margin-left: -13px; margin-right: -13px;">
<span style="font-size: 12px; color:#AF9CC6;"><span id="allocatedGovernanceBudgetValue">-</span>
</div>
</div>
<div class="col-12 col-lg-6 text-center governPayoutTime for-desktopTime">
<span data-i18n="govNextPayout" style="font-weight:400; color:#E9DEFF; font-size: 20px;">Next Treasury Payout</span>
<div id="flipdown" class="flipdown"></div>
</div>
<div class="col-12 col-lg-3 text-center governBudgetCard for-desktop">
<span data-i18n="govAllocBudget" style="font-weight:400; color:#E9DEFF; font-size: 18px;">Budget Allocated</span>
<div style="width: 180px; background-color:#3b1170; margin-top:11px; border-radius: 9px; padding-left: 13px; padding-right: 13px; padding-bottom: 6px; padding-top: 4px;">
<span style="font-size: 19px; color:#E9DEFF;"><span id="allocatedGovernanceBudget2">-</span> <span style="color:#9131ea; font-size: 16px; position: relative; top: 1px;">PIV</span></span>
<hr style="border-top-width: 2px; background-color: #201431; margin-top: 5px; margin-bottom: -2px; margin-left: -13px; margin-right: -13px;">
<span style="font-size: 12px; color:#AF9CC6;"><span id="allocatedGovernanceBudgetValue2">-</span>
</div>
</div>
</div>
<div class="pivx-button-small governAdd" onclick="MPW.createProposal()"><i class="fas fa-plus"></i></div>
<div class="dcWallet-activity" style="padding: 16px;">
<table id="proposalsTable" class="table table-hover table-dark bg-transparent governTable" style="width: 100%; margin-bottom: 0px;">
<thead>
<td class="text-center btlr-7p"><b data-i18n="govTableStatus"> Status </b></td>
<td class="text-center"><b data-i18n="govTableName"> Name </b></td>
<td class="text-center for-desktop"><b data-i18n="govTablePayment"> Payment </b></td>
<td class="text-center for-desktop"><b data-i18n="govTableVotes"> Votes </b></td>
<td class="text-center for-desktop btrr-7p"><b data-i18n="govTableVote"> Vote </b></td>
</thead>
<tbody id="proposalsTableBody" style="text-align: center; vertical-align: middle;"></tbody>
</table>
</div>
<hr>
<br>
<h3 data-i18n="contestedProposalsTitle" style="width: 100%;text-align: center;">Contested Proposals</h3>
<p data-i18n="contestedProposalsDesc" style="width: 100%;text-align: center;">These are proposals that received an overwhelming amount of downvotes, making it likely spam or a highly contestable proposal.</p>
<br>
<table id="proposalsContestedTable" class="table table-hover table-dark bg-transparent governTable" style="width: 100%; opacity: 0.8;">
<thead>
<td class="text-center btlr-7p"><b data-i18n="govTableStatus"> STATUS </b></td>
<td class="text-center"><b data-i18n="govTableName"> NAME </b></td>
<td class="text-center for-desktop"><b data-i18n="govTablePayment"> PAYMENT </b></td>
<td class="text-center for-desktop"><b data-i18n="govTableVotes"> VOTES </b></td>
<td class="text-center for-desktop btrr-7p"><b data-i18n="govTableVote"> VOTE </b></td>
</thead>
<tbody id="proposalsContestedTableBody" style="text-align: center; vertical-align: middle;"></tbody>
</table>
</div>
<div id="Masternode" class="tabcontent">
<!-- New Masternode list -->
<div class="d-none">
<div class="dcWallet-activity">
<h4 class="mnTopConfigured">4 Masternodes Configured</h4>
<div class="scrollTable">
<div>
<table class="table table-responsive table-sm stakingTx masternodeTable table-mobile-scroll">
<thead>
<tr>
<th scope="col" style="width: 400px;">Status</th>
<th scope="col" style="width: 400px;">IP Address</th>
<th scope="col" style="width: 400px;">Last Seen</th>
<th scope="col" style="width: 400px;"></th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="masternodeBadges enabledBadge">ENABLED</span></td>
<td><code class="wallet-code text-center active ptr" style="padding: 4px 9px;">127.0.0.1:12345</code></td>
<td><span class="mnLastSeen">27/02/24</span></td>
<td class="text-right" style="padding:0px; padding-top:11px;">
<button class="pivx-button-small" style="height: 43px; width: 43px; padding-left: 13px;">
<span class="buttoni-text">
<span class="plus-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M32,15.8c0.1,8.5-6.5,15.7-15,16.2c-0.3,0-0.7,0-1,0c-3.4,0-6.8-1.1-9.6-3.2l-1.9,2.1
c-0.2,0.3-0.7,0.3-0.9,0.1c-0.1-0.1-0.2-0.2-0.2-0.3l-2-8.1c-0.1-0.4,0.1-0.7,0.5-0.8c0.1,0,0.2,0,0.2,0l8.2,1
c0.4,0,0.6,0.4,0.6,0.7c0,0.1-0.1,0.3-0.2,0.4l-1.8,2c5.4,3.8,12.9,2.5,16.7-2.9c1.5-2.1,2.3-4.6,2.2-7.2c0-0.4,0.1-0.8,0.4-1.1
c0.3-0.3,0.7-0.4,1.1-0.3l1.3,0.2c0.3,0,0.6,0.2,0.8,0.4C31.9,15.1,32,15.4,32,15.8z M3.6,17.4C3.9,17.1,4,16.7,4,16.3
C3.9,9.6,9.1,4.2,15.7,4c2.6-0.1,5.1,0.7,7.2,2.2l-1.8,2c-0.2,0.3-0.2,0.7,0.1,0.9c0.1,0.1,0.2,0.1,0.4,0.2l8.2,1
c0.4,0,0.7-0.2,0.7-0.6c0-0.1,0-0.2,0-0.2l-2-8.1c-0.1-0.4-0.4-0.6-0.8-0.5c-0.1,0-0.3,0.1-0.3,0.2l-1.9,2.1C22.8,1.1,19.5,0,16,0
c-0.3,0-0.6,0-1,0C6.5,0.5-0.1,7.7,0,16.2c0,0.3,0.1,0.7,0.3,0.9c0.2,0.2,0.5,0.4,0.8,0.4l1.3,0.2C2.9,17.8,3.3,17.6,3.6,17.4z"/>
</svg>
</span>
</span>
</button>
<button class="pivx-button-small" style="height: 43px; width: 43px; padding-left: 13px;">
<span class="buttoni-text">
<span class="plus-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M4.5,29.4C4.5,30.9,5.6,32,7,32H25c1.4,0,2.6-1.1,2.6-2.6V9h-23V29.4z M21.1,14.1c0-0.7,0.6-1.3,1.3-1.3
c0.7,0,1.3,0.6,1.3,1.3v12.8c0,0.7-0.6,1.3-1.3,1.3c-0.7,0-1.3-0.6-1.3-1.3V14.1z M14.7,14.1c0-0.7,0.6-1.3,1.3-1.3
c0.7,0,1.3,0.6,1.3,1.3v12.8c0,0.7-0.6,1.3-1.3,1.3c-0.7,0-1.3-0.6-1.3-1.3V14.1z M8.3,14.1c0-0.7,0.6-1.3,1.3-1.3
c0.7,0,1.3,0.6,1.3,1.3v12.8c0,0.7-0.6,1.3-1.3,1.3c-0.7,0-1.3-0.6-1.3-1.3V14.1z M28.8,3.8v2.6H3.2V3.8c0-0.7,0.6-1.3,1.3-1.3h7.7
V1.3c0-0.7,0.6-1.3,1.3-1.3h5.1c0.7,0,1.3,0.6,1.3,1.3v1.3h7.7C28.2,2.6,28.8,3.1,28.8,3.8z"/>
</svg>
</span>
</span>
</button>
</td>
</tr>
<tr>
<td><span class="masternodeBadges missingBadge">MISSING</span></td>
<td><code class="wallet-code text-center active ptr" style="padding: 4px 9px;">127.0.0.1:12345</code></td>
<td><span class="mnLastSeen">27/02/24</span></td>
<td>Btns</td>
</tr>
<tr>
<td><span class="masternodeBadges preEnabledBadge">PRE_ENABLED</span></td>
<td><code class="wallet-code text-center active ptr" style="padding: 4px 9px;">127.0.0.1:12345</code></td>
<td><span class="mnLastSeen">27/02/24</span></td>
<td>Btns</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div style="display: flex; justify-content: center; width: 100%; margin-top: 25px; margin-bottom: 50px;">
<button class="pivx-button-small" style="height: 42px; width: 228px;" data-toggle="modal" data-target="#createMasternodeModal">
<span class="buttoni-text">
<span id="plus-icon3" class="plus-icon"></span>
Add Masternode</span>
</button>
</div>
<div class="dcWallet-activity">
<span style="color: rgb(233, 222, 255); display: flex; justify-content: center; margin-bottom: 24px; margin-top: 20px;">
<span data-i18n="rewardHistory" style="font-size: 24px;">Reward History</span>
<span class="rewardsBadge" style="font-size: 20px;">
0<span style="opacity: 0.55; font-size: 15px">.00</span> <span style="font-size:15px; opacity: 0.55;">tPIV</span>
</span>
</span>
<div class="scrollTable">
<table class="table table-responsive table-sm stakingTx table-mobile-scroll">
<thead>
<tr>
<th scope="col" class="tx1">Time</th>
<th scope="col" class="tx2">ID</th>
<th scope="col" class="tx3">Amount</th>
<th scope="col" class="tx4"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<div class="">
<div class="col-md-12 title-section float-left rm-pd center-text" style="padding-bottom: 0px;">
<h3 style="margin-bottom: -2px;">
<span data-i18n="mnControlYour" style="font-weight: 300;">Control your</span>
</h3>
<h3 data-i18n="navMasternode" class="pivx-bold-title"> Masternode</h3>
<p data-i18n="mnSubtext" style="color:#beaed0;">From this tab you can create and access one or more masternodes</p>
</div>
<div style="display: block;">
<br />
<p id="mnTextErrors" class="center-text"></p>
</div>
<!-- IMPORT MASTERNODE -->
<div id="accessMasternode" class="dashboard-item" style="display: none; width: 100%;">
<div class="container">
<div id="accessMasternodeText"></div>
<br />
<input class="hide-element" type="text" />
<div style="display: block;">
<input type="password" id="mnPrivateKey" placeholder="Masternode Private Key" />
<input type="text" id="mnIP" placeholder="Masternode ip address" />
<select id="mnTxId" style="display: block;" placeholder="Masternode collateral tx" class="form-control"> </select>
<button class="pivx-button-big" onclick="MPW.importMasternode()">
<span class="buttoni-icon"><i class="fas fa-file-upload fa-tiny-margin"></i></span>
<span class="buttoni-text" id="importMnText">Access Masternode</span>
<span class="buttoni-arrow">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M23.328 16.707L13.121 26.914a.5.5 0 01-.707 0l-2.828-2.828a.5.5 0 010-.707L16.964 16 9.586 8.621a.5.5 0 010-.707l2.828-2.828a.5.5 0 01.707 0l10.207 10.207a1 1 0 010 1.414z"></path>
</svg>
</span>
</button>
</div>
</div>
</div>
<!-- // IMPORT MASTERNODE -->
<br />
<div id="createMasternode" style="display: flex; justify-content: center; width: 100%;">
<button class="pivx-button-small" style="height: 42px; width: 228px;" data-toggle="modal" data-target="#createMasternodeModal">
<span class="buttoni-text">
<span id="plus-icon" class="plus-icon"></span>
Create Masternode</span>
</button>
</div>
<div id="mnDashboard" class="staking-banner-bottom">
<div class="stake-box large-box col-md-4">
<h4 class="stake-balances" style="background-color: #2c0044; border-radius: 10px;">Status <small id="mnProtocol" style="opacity: 0.5;"></small></h4>
<h2 id="mnStatus" class="stake-balances" style="overflow-wrap: anywhere; top: 50%; left: 50%; transform: translate(-50%, -50%); position: absolute; width: 100%; padding: 10px;" id="mnStatus"></h2>
</div>
<div class="stake-box large-box col-md-4">
<h4 id="mnNetType" class="stake-balances" style="background-color: #2c0044; border-radius: 10px;"></h4>
<h2
id="mnNetIP"
class="stake-balances"
style="overflow-wrap: anywhere; top: 50%; left: 50%; transform: translate(-50%, -50%); position: absolute; width: 100%; padding: 10px; font-family: mono !important; font-size: x-large;"
id="mnStatus"
></h2>
</div>
<div class="stake-box large-box col-md-4">
<h4 class="stake-balances" style="background-color: #2c0044; border-radius: 10px;">
Last Seen
</h4>
<h2 id="mnLastSeen" class="stake-balances" style="overflow-wrap: anywhere; top: 50%; left: 50%; transform: translate(-50%, -50%); position: absolute; width: 100%; padding: 10px; font-size: xx-large;" id="mnStatus"></h2>
</div>
</div>
<br />
<center id="controlMasternode" style="display: none; width: 100%;">
<button class="pivx-button-big" onclick="MPW.destroyMasternode()" style="margin: 20px; font-weight: 550 !important;">
<span class="buttoni-icon"><i class="fas fa-burn fa-tiny-margin"></i></span>
<span class="buttoni-text" id="importMnText">Destroy Masternode</span>
</button>
<button class="pivx-button-big" onclick="MPW.startMasternode(true)" style="margin: 20px; font-weight: 550 !important;">
<span class="buttoni-icon"><i class="fas fa-redo-alt fa-tiny-margin"></i></span>
<span class="buttoni-text" id="importMnText">Restart Masternode</span>
</button>
</center>
</div>
</div>
<div id="Settings" class="tabcontent">
<div class="row">
<div class="col-12">
<ul class="settingsMenu">
<li data-i18n="wallet" onclick="MPW.switchSettings('wallet')" id="settingsWalletBtn" class="active">Wallet</li>
<li data-i18n="display" onclick="MPW.switchSettings('display')" id="settingsDisplayBtn">Display</li>
</ul>
<div id="settingsWallet" class="settingsContent">
<label for="explorer" data-i18n="settingsExplorer">Choose an explorer:</label>
<br />
<select id="explorer" class="form-control" name="explorer">
<!-- Populated via JS at DOM load (settings.js) -->
</select>
<br />
<label for="node" data-i18n="settingsPivxNode">Choose a PIVX node:</label>
<br />
<select id="node" class="form-control" name="node">
<!-- Populated via JS at DOM load (settings.js) -->
</select>
<br />
<div class="custom-control custom-switch" style="margin-bottom:15px;">
<input type="checkbox" class="custom-control-input" id="autoSwitchToggler" onclick="MPW.toggleAutoSwitch()">
<label data-i18n="settingsAutoSelectNet" class="custom-control-label" for="autoSwitchToggler">Auto-select Explorers and Nodes</label>
</div>
<hr>
<div id="changePassword-container" class="d-none">
<label for="UNKNOWN" data-i18n="TODOTXT">Change your wallet's password</label>
<br>
<button class="pivx-button-small" style="height: 42px; width: 210px; margin: 0px; margin-top: 2px; margin-bottom: 12px;" id="changePasswordBtn" onclick="MPW.changePassword()">
<span class="buttoni-text">
<span id="change-pwd-icon" class="change-pwd-icon"></span>
Change Password
</span>
</button>
<hr>
</div>
<label for="UNKNOWN" data-i18n="TODOTXT">Change your wallet's operational mode</label>
<!-- Default switch -->
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="debugToggler" onclick="MPW.toggleDebug()">
<label data-i18n="settingsToggleDebug" class="custom-control-label" for="debugToggler">Debug Mode</label>
</div>
<br>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="testnetToggler" onclick="MPW.toggleTestnet()">
<label data-i18n="settingsToggleTestnet" class="custom-control-label" for="testnetToggler">Testnet Mode</label>
</div>
<br>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="autoLockModeToggler" onclick="MPW.toggleAutoLockWallet()">
<label data-i18n="settingsToggleAutoLockWallet" class="custom-control-label" for="autoLockModeToggler">Auto Lock the Wallet</label>
</div>
<br>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="advancedModeToggler" onclick="MPW.toggleAdvancedMode()">
<label data-i18n="settingsToggleAdvancedMode" class="custom-control-label" for="advancedModeToggler">Advanced Mode</label>
<p style="margin-top: 5px; color:#7C659D!important;"><i class="fa-solid fa-triangle-exclamation" style="margin-right: 5px;"></i><span data-i18n="settingsToggleAdvancedModeSubtext">This unlocks deeper functionality and customisation, but may be overwhelming and potentially dangerous for unexperienced users!</p>
</div>
<div id="logOut-container">
<hr>
<label for="UNKNOWN" data-i18n="TODOTXT">Permanently delete your wallet</label>
<br>
<button class="pivx-button-small" style="height: 42px; width: 185px; margin: 0px; margin-top: 2px;" onclick="MPW.logOut()">
<span class="buttoni-text">
<span id="del-wallet-icon" class="del-wallet-icon"></span>
Delete Wallet
</span>
</button>
</div>
</div>
<div id="settingsDisplay" class="d-none settingsContent">
<label for="currency" data-i18n="settingsCurrency">Choose a display currency:</label>
<br />
<select id="currency" class="form-control" name="currency">
<!-- Populated via JS at Price Source data load (prices.js) -->
</select>
<p style="opacity: 0.6; margin-top: 5px;"><span data-i18n="priceProvidedBy">Price data provided by</span> <a class="active" href="https://pivxla.bz/oracle" target="_blank" rel="noopener">Labs Oracle</a></p>
<br />
<label for="displayDecimals" data-i18n="settingsDecimals">Balance Decimals:</label> <span class="sliderDisplay" id="sliderDisplay">(-)</span>
<br />
<div class="sliderContainer">
</div>
<input type="range" min="0" max="8" value="2" class="slider" id="displayDecimals" name="displayDecimals" data-toggle="tooltip" data-placement="top" title="0">
<br />
<br />
<label for="translation" data-i18n="settingsLanguage">Choose a Language:</label>
<br />
<select id="translation" class="form-control" name="translation">
<!-- Populated via JS at DOM load (settings.js) -->
</select>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--
Alert
-->
<div class="alertPositioning" id="Alerts"></div>
<footer id="foot" style="padding-bottom: 32px;">
<div class="footer container">
<div class="row" style="margin:0px;">
<div class="col-8 footFlexMob" style="color:#7C659E;">
<div class="w-50-mob">
<span id="version" class="ptr" onclick="MPW.renderChangelog();"></span> - © MIT <span id="copyrightYear">2024</span>
</div>
<div class="w-50-mob textCenterMob">
<span style="cursor: pointer;" onclick="MPW.playMusic()" data-i18n="footerBuiltWithPivxLabs">Built with 💜 by PIVX Labs</span>
</div>
</div>
<div class="col-4 footer-icons text-right">
<a href="https://github.com/PIVX-Labs/MyPIVXWallet" target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-github"></i></a>
<a href="https://discord.gg/zTScGaGtgv" target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-discord"></i></a>
<a href="https://medium.com/@pivx-labs" target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-medium"></i></a>
<a href="https://x.com/PIVX_Labs" target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-x-twitter"></i></a>
</div>
</div>
</div>
</footer>
</div>
<div class="blackBack blackBackHide d-none" id="blackBack"></div>
<div id="app"></div>
</body>
</html>