Fixed: floData with 16 char didnot sent on testnet

Adjusted max floData size to 1040
This commit is contained in:
Vivek Teega 2020-09-11 18:13:49 +05:30
parent 7e470d520f
commit e61be9f594
3 changed files with 11234 additions and 11149 deletions

File diff suppressed because one or more lines are too long

View File

@ -1799,7 +1799,8 @@
</svg> </svg>
<span></span> <span></span>
</div> </div>
<div class="icons tabs activeButton" title='Generate or recover FLO address' id="addrGenBtn" onclick="showPage(this.id, 'addrGen')"> <div class="icons tabs activeButton" title='Generate or recover FLO address' id="addrGenBtn"
onclick="showPage(this.id, 'addrGen')">
<svg role="img" viewBox="0 0 20 16"> <svg role="img" viewBox="0 0 20 16">
<g> <g>
<circle cx="9" cy="9" r="3" /> <circle cx="9" cy="9" r="3" />
@ -1816,14 +1817,14 @@
<svg role="img" viewBox="0 0 20 16"> <svg role="img" viewBox="0 0 20 16">
<g> <g>
<path d="M0.3,9.1l6.2,2.2c0.2,0.1,0.4,0,0.5-0.1L19.1,0L0.3,8.2C-0.1,8.4-0.1,9,0.3,9.1z" /> <path d="M0.3,9.1l6.2,2.2c0.2,0.1,0.4,0,0.5-0.1L19.1,0L0.3,8.2C-0.1,8.4-0.1,9,0.3,9.1z" />
<path d="M10,18.8l-2.2-6.2c-0.1-0.2,0-0.4,0.1-0.5L19.1,0l-8.2,18.8C10.7,19.2,10.1,19.2,10,18.8z" /> <path
d="M10,18.8l-2.2-6.2c-0.1-0.2,0-0.4,0.1-0.5L19.1,0l-8.2,18.8C10.7,19.2,10.1,19.2,10,18.8z" />
</g> </g>
</svg> </svg>
<h6>Send</h6> <h6>Send</h6>
<span>Send FLO data</span> <span>Send FLO data</span>
</div> </div>
<div class="icons tabs" title='Monitor FLO data' id="getDataBtn" <div class="icons tabs" title='Monitor FLO data' id="getDataBtn" onclick="showPage(this.id, 'getData')">
onclick="showPage(this.id, 'getData')">
<svg role="img" viewBox="0 0 20 16"> <svg role="img" viewBox="0 0 20 16">
<path d="M18,0H2C0.9,0,0,0.9,0,2v14c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V2C20,0.9,19.1,0,18,0z M16.4,6.9l-4.2,4.2 <path d="M18,0H2C0.9,0,0,0.9,0,2v14c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V2C20,0.9,19.1,0,18,0z M16.4,6.9l-4.2,4.2
c-0.4,0.4-1,0.4-1.4,0L8.6,9l-3.5,3.5c-0.4,0.4-1,0.4-1.4,0c-0.4-0.4-0.4-1,0-1.4l4.2-4.2c0.4-0.4,1-0.4,1.4,0L11.4,9l3.5-3.5 c-0.4,0.4-1,0.4-1.4,0L8.6,9l-3.5,3.5c-0.4,0.4-1,0.4-1.4,0c-0.4-0.4-0.4-1,0-1.4l4.2-4.2c0.4-0.4,1-0.4,1.4,0L11.4,9l3.5-3.5
@ -1861,8 +1862,9 @@
<label>FLO Address</label> <label>FLO Address</label>
</div> </div>
<div class="input"> <div class="input">
<input autocomplete="off" aria-label="Label" type="text" onfocus="animateInput(this.parentNode)" <input autocomplete="off" aria-label="Label" type="text"
onblur="revertBack(this.parentNode)" id="addrLabel" /> onfocus="animateInput(this.parentNode)" onblur="revertBack(this.parentNode)"
id="addrLabel" />
<label>Label</label> <label>Label</label>
</div> </div>
<button onclick="closeAdd()">Cancel</button> <button onclick="closeAdd()">Cancel</button>
@ -1963,9 +1965,9 @@
<h5>To send FLO data, make sure you have enough balance.</h5> <h5>To send FLO data, make sure you have enough balance.</h5>
</div> </div>
<div class="input"> <div class="input">
<input autocomplete="off" aria-label="FLO address" <input autocomplete="off" aria-label="FLO address" onfocus="animateInput(this.parentNode)"
onfocus="animateInput(this.parentNode)" onblur="revertBack(this.parentNode)" type="text" onblur="revertBack(this.parentNode)" type="text" id="getBal_addr"
id="getBal_addr" oninput="checkBalAddress(this)" /> oninput="checkBalAddress(this)" />
<label>FLO address</label> <label>FLO address</label>
<button id="getBal_btn" onclick="getBal()" disabled>Check balance</button> <button id="getBal_btn" onclick="getBal()" disabled>Check balance</button>
</div> </div>
@ -2109,9 +2111,8 @@
<h4>Recover FLO address</h4> <h4>Recover FLO address</h4>
<h5>Please enter your private key.</h5> <h5>Please enter your private key.</h5>
<div class="input"> <div class="input">
<input autocomplete="off" aria-label="Private key" type="text" <input autocomplete="off" aria-label="Private key" type="text" onfocus="animateInput(this.parentNode)"
onfocus="animateInput(this.parentNode)" onblur="revertBack(this.parentNode)" id="pop" onblur="revertBack(this.parentNode)" id="pop" oninput="checkPrivateKey(this)" />
oninput="checkPrivateKey(this)" />
<label>Private key</label> <label>Private key</label>
</div> </div>
<button onclick="fadeout()">Cancel</button> <button onclick="fadeout()">Cancel</button>

View File

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>FLO webWallet Testnet</title> <title>FLO webWallet Testnet</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
@ -10,6 +11,7 @@ body{
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
* { * {
box-sizing: border-box; box-sizing: border-box;
} }
@ -22,6 +24,7 @@ body{
background: linear-gradient(to bottom, #b5bdc8 0%, #828c95 49%, #b5bdc8 100%); background: linear-gradient(to bottom, #b5bdc8 0%, #828c95 49%, #b5bdc8 100%);
//transform: rotateX(45deg) rotateY(-10deg) rotate(25deg) scale(2); //transform: rotateX(45deg) rotateY(-10deg) rotate(25deg) scale(2);
} }
.inp .label { .inp .label {
position: absolute; position: absolute;
top: 16px; top: 16px;
@ -32,6 +35,7 @@ body{
transform-origin: 0 0; transform-origin: 0 0;
transition: all .2s ease; transition: all .2s ease;
} }
.inp .border { .inp .border {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@ -43,7 +47,9 @@ body{
transform-origin: 0 0; transform-origin: 0 0;
transition: all .15s ease; transition: all .15s ease;
} }
.inp input,textarea{
.inp input,
textarea {
-webkit-appearance: none; -webkit-appearance: none;
width: 100%; width: 100%;
border: 0; border: 0;
@ -58,50 +64,67 @@ body{
color: #223254; color: #223254;
transition: all .15s ease; transition: all .15s ease;
} }
.inp textarea { .inp textarea {
height: 200px; height: 200px;
resize: none; resize: none;
} }
.inp input:hover:enabled,textarea:hover:enabled{
.inp input:hover:enabled,
textarea:hover:enabled {
background: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.5);
} }
.inp input:not(:placeholder-shown)+span, textarea:not(:placeholder-shown)+span{
.inp input:not(:placeholder-shown)+span,
textarea:not(:placeholder-shown)+span {
color: #5A667F; color: #5A667F;
transform: translateY(-24px) scale(.75); transform: translateY(-24px) scale(.75);
} }
.inp input:focus, textarea:focus{
.inp input:focus,
textarea:focus {
background: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.5);
outline: none; outline: none;
} }
.inp input:focus+span, textarea:focus+span{
.inp input:focus+span,
textarea:focus+span {
color: #0077FF; color: #0077FF;
transform: translateY(-24px) scale(.75); transform: translateY(-24px) scale(.75);
} }
.inp input:focus+span+.border, textarea:focus+span+.border{
.inp input:focus+span+.border,
textarea:focus+span+.border {
transform: scaleX(1); transform: scaleX(1);
} }
.inpContainer { .inpContainer {
display: grid; display: grid;
padding: 5px; padding: 5px;
} }
.addrLabelContainer { .addrLabelContainer {
font-family: Avenir; font-family: Avenir;
display: grid; display: grid;
padding: 0px; padding: 0px;
} }
.addrLabel { .addrLabel {
margin-bottom: 0px; margin-bottom: 0px;
} }
.col-50 { .col-50 {
float: left; float: left;
width: 50%; width: 50%;
margin-top: 6px; margin-top: 6px;
} }
.row:after { .row:after {
content: ""; content: "";
display: table; display: table;
clear: both; clear: both;
} }
@media screen and (max-width: 800px) { @media screen and (max-width: 800px) {
.col-50 { .col-50 {
width: 100%; width: 100%;
@ -132,12 +155,15 @@ body{
position: relative; position: relative;
z-index: 1000; z-index: 1000;
} }
.option-input:hover { .option-input:hover {
background: #9faab7; background: #9faab7;
} }
.option-input:checked { .option-input:checked {
background: #aaa; background: #aaa;
} }
.option-input:checked::before { .option-input:checked::before {
height: 30px; height: 30px;
width: 30px; width: 30px;
@ -148,6 +174,7 @@ body{
text-align: center; text-align: center;
line-height: 30px; line-height: 30px;
} }
.option-input:checked::after { .option-input:checked::after {
-webkit-animation: click-wave 0.65s; -webkit-animation: click-wave 0.65s;
-moz-animation: click-wave 0.65s; -moz-animation: click-wave 0.65s;
@ -158,9 +185,11 @@ body{
position: relative; position: relative;
z-index: 100; z-index: 100;
} }
.option-input.radio { .option-input.radio {
border-radius: 50%; border-radius: 50%;
} }
.option-input.radio::after { .option-input.radio::after {
border-radius: 50%; border-radius: 50%;
} }
@ -174,6 +203,7 @@ body{
font-family: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; font-family: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
text-align: left; text-align: left;
} }
.radioContainer label { .radioContainer label {
display: block; display: block;
line-height: 30px; line-height: 30px;
@ -181,7 +211,6 @@ body{
} }
</style> </style>
<style media="screen"> <style media="screen">
.DataTable h4 { .DataTable h4 {
font-family: Avenir; font-family: Avenir;
font-size: 30px; font-size: 30px;
@ -192,19 +221,23 @@ margin-bottom: 0px;
margin-top: 0px; margin-top: 0px;
background-color: rgba(255, 255, 255, 0.3); background-color: rgba(255, 255, 255, 0.3);
} }
.DataTable table { .DataTable table {
width: 100%; width: 100%;
table-layout: fixed; table-layout: fixed;
} }
.tbl-header { .tbl-header {
background-color: rgba(255, 255, 255, 0.3); background-color: rgba(255, 255, 255, 0.3);
} }
.tbl-content { .tbl-content {
height: 300px; height: 300px;
overflow-x: auto; overflow-x: auto;
margin-top: 0px; margin-top: 0px;
border: 1px solid rgba(255, 255, 255, 0.3); border: 1px solid rgba(255, 255, 255, 0.3);
} }
.DataTable th { .DataTable th {
padding: 20px 15px; padding: 20px 15px;
text-align: left; text-align: left;
@ -213,6 +246,7 @@ font-size: 12px;
color: #fff; color: #fff;
text-transform: uppercase; text-transform: uppercase;
} }
.DataTable td { .DataTable td {
padding: 15px; padding: 15px;
text-align: left; text-align: left;
@ -235,9 +269,11 @@ font-family: 'Roboto', sans-serif;
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 6px; width: 6px;
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
} }
@ -263,121 +299,150 @@ width: 6px;
background-position: center center, 0 0; background-position: center center, 0 0;
background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, 0.075) 10%, rgba(255, 255, 255, 0.075) 14%, rgba(255, 255, 255, 0.15) 14%, rgba(255, 255, 255, 0.15) 15%, rgba(255, 255, 255, 0.075) 17%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.075) 40%, rgba(255, 255, 255, 0.15) 42%, rgba(255, 255, 255, 0) 43%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.075) 60%, rgba(255, 255, 255, 0.075) 66%, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0.075) 70%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0) 100%), radial-gradient(ellipse farthest-corner, transparent, rgba(0, 0, 0, 0.2) 110%); background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, 0.075) 10%, rgba(255, 255, 255, 0.075) 14%, rgba(255, 255, 255, 0.15) 14%, rgba(255, 255, 255, 0.15) 15%, rgba(255, 255, 255, 0.075) 17%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.075) 40%, rgba(255, 255, 255, 0.15) 42%, rgba(255, 255, 255, 0) 43%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.075) 60%, rgba(255, 255, 255, 0.075) 66%, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0.075) 70%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0) 100%), radial-gradient(ellipse farthest-corner, transparent, rgba(0, 0, 0, 0.2) 110%);
} }
.btn-glass:hover:enabled ,.btn-glass:disabled{
.btn-glass:hover:enabled,
.btn-glass:disabled {
background-position: -100vw 0, 0 0; background-position: -100vw 0, 0 0;
} }
.btn-glass:active { .btn-glass:active {
background-position: -75vw 0, 0 0; background-position: -75vw 0, 0 0;
border-style: solid; border-style: solid;
} }
.nav-light { .nav-light {
background-color: white; background-color: white;
} }
.nav-light .btn-glass { .nav-light .btn-glass {
color: #585858; color: #585858;
background-color: rgba(17, 17, 17, 0); background-color: rgba(17, 17, 17, 0);
} }
.nav-light .btn-glass:hover:enabled { .nav-light .btn-glass:hover:enabled {
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
border-color: #000000; border-color: #000000;
background-color: #111111; background-color: #111111;
} }
.nav-light .btn-glass:active { .nav-light .btn-glass:active {
position: relative; position: relative;
z-index: 1; z-index: 1;
box-shadow: 0 0 1em 0.5ex rgba(17, 17, 17, 0.5); box-shadow: 0 0 1em 0.5ex rgba(17, 17, 17, 0.5);
} }
.nav-light .btn-glass.btn-blue { .nav-light .btn-glass.btn-blue {
color: #6ab1d1; color: #6ab1d1;
background-color: rgba(42, 143, 189, 0); background-color: rgba(42, 143, 189, 0);
} }
.nav-light .btn-glass.btn-blue:hover:enabled { .nav-light .btn-glass.btn-blue:hover:enabled {
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
border-color: #1c607e; border-color: #1c607e;
background-color: #2A8FBD; background-color: #2A8FBD;
} }
.nav-light .btn-glass.btn-blue:active { .nav-light .btn-glass.btn-blue:active {
position: relative; position: relative;
z-index: 1; z-index: 1;
box-shadow: 0 0 1em 0.5ex rgba(42, 143, 189, 0.5); box-shadow: 0 0 1em 0.5ex rgba(42, 143, 189, 0.5);
} }
.nav-light .btn-glass.btn-green { .nav-light .btn-glass.btn-green {
color: #a5c75f; color: #a5c75f;
background-color: rgba(127, 175, 27, 0); background-color: rgba(127, 175, 27, 0);
} }
.nav-light .btn-glass.btn-green:hover:enabled { .nav-light .btn-glass.btn-green:hover:enabled {
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
border-color: #4f6d11; border-color: #4f6d11;
background-color: #7FAF1B; background-color: #7FAF1B;
} }
.nav-light .btn-glass.btn-green:active { .nav-light .btn-glass.btn-green:active {
position: relative; position: relative;
z-index: 1; z-index: 1;
box-shadow: 0 0 1em 0.5ex rgba(127, 175, 27, 0.5); box-shadow: 0 0 1em 0.5ex rgba(127, 175, 27, 0.5);
} }
.nav-light .btn-glass.btn-yellow { .nav-light .btn-glass.btn-yellow {
color: #fccd69; color: #fccd69;
background-color: rgba(251, 184, 41, 0); background-color: rgba(251, 184, 41, 0);
} }
.nav-light .btn-glass.btn-yellow:hover:enabled { .nav-light .btn-glass.btn-yellow:hover:enabled {
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
border-color: #d49104; border-color: #d49104;
background-color: #FBB829; background-color: #FBB829;
} }
.nav-light .btn-glass.btn-yellow:active { .nav-light .btn-glass.btn-yellow:active {
position: relative; position: relative;
z-index: 1; z-index: 1;
box-shadow: 0 0 1em 0.5ex rgba(251, 184, 41, 0.5); box-shadow: 0 0 1em 0.5ex rgba(251, 184, 41, 0.5);
} }
.nav-light .btn-glass.btn-red { .nav-light .btn-glass.btn-red {
color: #f56558; color: #f56558;
background-color: rgba(240, 35, 17, 0); background-color: rgba(240, 35, 17, 0);
} }
.nav-light .btn-glass.btn-red:hover:enabled { .nav-light .btn-glass.btn-red:hover:enabled {
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
border-color: #aa180b; border-color: #aa180b;
background-color: #F02311; background-color: #F02311;
} }
.nav-light .btn-glass.btn-red:active { .nav-light .btn-glass.btn-red:active {
position: relative; position: relative;
z-index: 1; z-index: 1;
box-shadow: 0 0 1em 0.5ex rgba(240, 35, 17, 0.5); box-shadow: 0 0 1em 0.5ex rgba(240, 35, 17, 0.5);
} }
.nav-light .btn-glass.btn-info { .nav-light .btn-glass.btn-info {
color: #6CDFFF; color: #6CDFFF;
background-color: rgba(108, 223, 234, 0); background-color: rgba(108, 223, 234, 0);
} }
.nav-light .btn-glass.btn-info:hover:enabled { .nav-light .btn-glass.btn-info:hover:enabled {
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
border-color: #29d0e0; border-color: #29d0e0;
background-color: #6CDFEA; background-color: #6CDFEA;
} }
.nav-light .btn-glass.btn-info:active { .nav-light .btn-glass.btn-info:active {
position: relative; position: relative;
z-index: 1; z-index: 1;
box-shadow: 0 0 1em 0.5ex rgba(108, 223, 234, 0.5); box-shadow: 0 0 1em 0.5ex rgba(108, 223, 234, 0.5);
} }
.nav-dark { .nav-dark {
background-color: #444; background-color: #444;
} }
.nav-dark .btn-glass { .nav-dark .btn-glass {
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
background-color: rgba(17, 17, 17, 0); background-color: rgba(17, 17, 17, 0);
} }
.nav-dark .btn-glass:hover:enabled, .nav-dark .btn-glass:disabled{
.nav-dark .btn-glass:hover:enabled,
.nav-dark .btn-glass:disabled {
border-color: #000000; border-color: #000000;
background-color: #111111; background-color: #111111;
} }
.nav-dark .btn-glass:active { .nav-dark .btn-glass:active {
position: relative; position: relative;
z-index: 1; z-index: 1;
box-shadow: 0 0 1em 0.5ex rgba(17, 17, 17, 0.5); box-shadow: 0 0 1em 0.5ex rgba(17, 17, 17, 0.5);
} }
nav.btn-bar { nav.btn-bar {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
flex-wrap: wrap; flex-wrap: wrap;
} }
:root { :root {
font-family: 'Open Sans', sans; font-family: 'Open Sans', sans;
font-size: 11pt; font-size: 11pt;
@ -386,11 +451,13 @@ nav.btn-bar {
background-attachment: fixed, scroll; background-attachment: fixed, scroll;
background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/49914/grit-fs8.png), radial-gradient(ellipse farthest-corner, #555, #999); background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/49914/grit-fs8.png), radial-gradient(ellipse farthest-corner, #555, #999);
} }
body { body {
width: 85vw; width: 85vw;
margin: 4em auto; margin: 4em auto;
line-height: inherit; line-height: inherit;
} }
article { article {
padding: 0; padding: 0;
border: 2px solid transparent; border: 2px solid transparent;
@ -399,25 +466,32 @@ article {
background-color: white; background-color: white;
box-shadow: 0 1ex 1em rgba(0, 0, 0, 0.3); box-shadow: 0 1ex 1em rgba(0, 0, 0, 0.3);
} }
article+article { article+article {
margin-top: 4em; margin-top: 4em;
} }
article section { article section {
margin: 5px; margin: 5px;
} }
article>section>h2 { article>section>h2 {
font-family: 'Lato'; font-family: 'Lato';
font-weight: 800; font-weight: 800;
font-size: 1.3em; font-size: 1.3em;
margin-bottom: 0.8em; margin-bottom: 0.8em;
} }
article>section>p { article>section>p {
margin-bottom: 1em; margin-bottom: 1em;
text-indent: 2ch; text-indent: 2ch;
} }
article>section>p:first-child, article>section>h2+p {
article>section>p:first-child,
article>section>h2+p {
text-indent: 0; text-indent: 0;
} }
h1 { h1 {
font-family: 'Lato'; font-family: 'Lato';
font-weight: 800; font-weight: 800;
@ -425,20 +499,25 @@ h1 {
font-size: 5vw; font-size: 5vw;
color: rgba(255, 255, 255, 0.3); color: rgba(255, 255, 255, 0.3);
} }
h1 sub { h1 sub {
font-size: 2vw; font-size: 2vw;
} }
.btn { .btn {
cursor: pointer cursor: pointer
} }
.nav-light .btn:disabled { .nav-light .btn:disabled {
cursor: not-allowed; cursor: not-allowed;
} }
.nav-dark .btn:disabled { .nav-dark .btn:disabled {
cursor: auto; cursor: auto;
} }
</style> </style>
</head> </head>
<body> <body>
<script> <script>
const crypto = "FLO_TEST" const crypto = "FLO_TEST"
@ -468,8 +547,10 @@ h1 sub{
<article id="addrGen"> <article id="addrGen">
<div class="inpContainer"> <div class="inpContainer">
<nav class="btn-bar nav-light"> <nav class="btn-bar nav-light">
<button id="GenNewAddrBtn" class="btn btn-glass btn-green" onclick="GenNewAddr()">Generate New Address</button> <button id="GenNewAddrBtn" class="btn btn-glass btn-green" onclick="GenNewAddr()">Generate New
<button id="RecoverAddrBtn" class="btn btn-glass btn-yellow" onclick="RecoverAddr()">Recover FLO Address</button> Address</button>
<button id="RecoverAddrBtn" class="btn btn-glass btn-yellow" onclick="RecoverAddr()">Recover FLO
Address</button>
</nav> </nav>
</div> </div>
<section class="DataTable"> <section class="DataTable">
@ -522,7 +603,8 @@ h1 sub{
<span class="border"></span> <span class="border"></span>
</label> </label>
<nav class="btn-bar nav-light"> <nav class="btn-bar nav-light">
<button class="btn btn-glass btn-green" id="sendBtn" onclick="sendTransaction()" disabled>Send</button> <button class="btn btn-glass btn-green" id="sendBtn" onclick="sendTransaction()"
disabled>Send</button>
</nav> </nav>
</div> </div>
</div> </div>
@ -537,7 +619,8 @@ h1 sub{
</label> </label>
<nav class="btn-bar nav-light"> <nav class="btn-bar nav-light">
<button id="getData" class="btn btn-glass btn-blue" onclick="monitorData()">Monitor Data</button> <button id="getData" class="btn btn-glass btn-blue" onclick="monitorData()">Monitor Data</button>
<button id="clearLocalData" class="btn btn-glass btn-red" onclick="clearLocalData()">Clear Local Data</button> <button id="clearLocalData" class="btn btn-glass btn-red" onclick="clearLocalData()">Clear Local
Data</button>
</nav> </nav>
</div> </div>
<div id="dispData"></div> <div id="dispData"></div>
@ -4666,12 +4749,12 @@ h1 sub{
floDataCount = this.floData.length; floDataCount = this.floData.length;
//flochange -- creating unique data character count logic for floData. This string is prefixed before actual floData string in Raw Transaction //flochange -- creating unique data character count logic for floData. This string is prefixed before actual floData string in Raw Transaction
if (floDataCount <= 16) { if (floDataCount < 16) {
floDataCountString = floDataCount.toString(16); floDataCountString = floDataCount.toString(16);
floDataCountString = "0" + floDataCountString; floDataCountString = "0" + floDataCountString;
} else if (floDataCount < 253) { } else if (floDataCount < 253) {
floDataCountString = floDataCount.toString(16); floDataCountString = floDataCount.toString(16);
} else if (floDataCount <= 1023) { } else if (floDataCount <= 1040) {
floDataCountAdjusted = (floDataCount - 253) + parseInt("0xfd00fd"); floDataCountAdjusted = (floDataCount - 253) + parseInt("0xfd00fd");
floDataCountStringAdjusted = floDataCountAdjusted.toString(16); floDataCountStringAdjusted = floDataCountAdjusted.toString(16);
floDataCountString = floDataCountStringAdjusted.substr(0, 2) + floDataCountStringAdjusted.substr(4, 2) + floDataCountStringAdjusted.substr(2, 2); floDataCountString = floDataCountStringAdjusted.substr(0, 2) + floDataCountStringAdjusted.substr(4, 2) + floDataCountStringAdjusted.substr(2, 2);
@ -5750,4 +5833,5 @@ h1 sub{
}; };
</script> </script>
</body> </body>
</html> </html>