Compare commits

...

1 Commits

Author SHA1 Message Date
Vivek Teega
c30085b795
Revert "Disable apple & reset buttons for already applied interns" 2020-07-23 06:43:25 +05:30

View File

@ -175,25 +175,7 @@
} }
</style> </style>
<style> <style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
.embed-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head> </head>
<body class="is-preload" onload="onLoadStartUp()"> <body class="is-preload" onload="onLoadStartUp()">
@ -240,15 +222,12 @@
<article id="intro"> <article id="intro">
<h2 class="major">Intro</h2> <h2 class="major">Intro</h2>
<span class="image main"><img src="images/projects.png" alt="" /></span> <span class="image main"><img src="images/projects.png" alt="" /></span>
<p>RanchiMall invites applications for Internship for Projects listed here. All applicants will need to <p>RanchiMall invites applications for Internship for Projects listed here. All applicants will need to generate their blockchain ID, and then store the private key safely to
generate their blockchain ID, and then store the private key safely to
access our: access our:
<ul> <ul>
<li><a href="https://ranchimall.github.io/internapply" target="_blank">Application Portal @ <li><a href="https://ranchimall.github.io/internapply" target="_blank">Application Portal @ <em>ranchimall.github.io/internapply</em></a></li>
<em>ranchimall.github.io/internapply</em></a></li> <li><a href="https://ranchimall.github.io/RIBC" target="_blank">Internship Portal @ <em>ranchimall.github.io/RIBC</em></a></li>
<li><a href="https://ranchimall.github.io/RIBC" target="_blank">Internship Portal @ </ul>
<em>ranchimall.github.io/RIBC</em></a></li>
</ul>
The process of applying and Internship is: The process of applying and Internship is:
</p> </p>
@ -261,16 +240,12 @@
<li>First Task on Marketing, Actual Project Skills and Blockchain</li> <li>First Task on Marketing, Actual Project Skills and Blockchain</li>
<li>Evaluator Feedback on first task; repeat of first task if standards are not met</li> <li>Evaluator Feedback on first task; repeat of first task if standards are not met</li>
<li>Second Task on Marketing, Actual Project Skills and Blockchain</li> <li>Second Task on Marketing, Actual Project Skills and Blockchain</li>
<li>Evaluator and Consumer Feedback on second task; repeat of second task if standards are not met <li>Evaluator and Consumer Feedback on second task; repeat of second task if standards are not met</li>
</li>
<li>Third Task on Marketing, Actual Project Skills and Blockchain</li> <li>Third Task on Marketing, Actual Project Skills and Blockchain</li>
<li>Consumer Feedback on task: In this phase the feedback will come from general users on Social <li>Consumer Feedback on task: In this phase the feedback will come from general users on Social Media; if feedback is not good, repeat the third task</li>
Media; if feedback is not good, repeat the third task</li>
<li>Issuance of Competency Certificates to those whose complete third task</li> <li>Issuance of Competency Certificates to those whose complete third task</li>
<li>Stipend phase, to be selected among certificate holders - Four levels of stipend: Starter, <li>Stipend phase, to be selected among certificate holders - Four levels of stipend: Starter, Motivated, Passionate, Self Realized</li>
Motivated, Passionate, Self Realized</li> <li>Anyone who drops out can get participation certificate, indicating till what round he/she reached</li>
<li>Anyone who drops out can get participation certificate, indicating till what round he/she
reached</li>
</ol> </ol>
<h4>INTERNSHIP PHASE</h4> <h4>INTERNSHIP PHASE</h4>
@ -304,17 +279,15 @@
</ul> </ul>
<p><em>Keep the Private Key very safe. Do not share with anyone.</em> <p><em>Keep the Private Key very safe. Do not share with anyone.</em>
<br><br> <br><br>
For any more details, tweet us at <a href="https://twitter.com/ranchimallflo" For any more details, tweet us at <a href="https://twitter.com/ranchimallflo" target="_blank">@ranchimallflo</a> and we will respond immediately</p>
target="_blank">@ranchimallflo</a> and we will respond immediately</p>
</article> </article>
<!-- Project List & information --> <!-- Project List & information -->
<article id="projects"> <article id="projects">
<h2 class="major">Projects</h2> <h2 class="major">Projects</h2>
<div class='embed-container'><iframe src='https://www.youtube.com/embed/CrfXqwy_d2I' frameborder='0' <div class='embed-container'><iframe src='https://www.youtube.com/embed/CrfXqwy_d2I' frameborder='0' allowfullscreen></iframe></div>
allowfullscreen></iframe></div>
<br> <br>
<h4>Select Project</h4> <h4>Select Project</h4>
<form id="projectform" autocomplete="off" onsubmit="return false"> <form id="projectform" autocomplete="off" onsubmit="return false">
@ -4692,7 +4665,7 @@
var x = this.getX().toBigInteger(); var x = this.getX().toBigInteger();
var y = this.getY().toBigInteger(); var y = this.getY().toBigInteger();
var len = var len =
32; // integerToBytes will zero pad if integer is less than 32 bytes. 32 bytes length is required by the Bitcoin protocol. 32; // integerToBytes will zero pad if integer is less than 32 bytes. 32 bytes length is required by the Bitcoin protocol.
var enc = ec.integerToBytes(x, len); var enc = ec.integerToBytes(x, len);
// when compressed prepend byte depending if y point is even or odd // when compressed prepend byte depending if y point is even or odd
@ -4705,7 +4678,7 @@
} else { } else {
enc.unshift(0x04); enc.unshift(0x04);
enc = enc.concat(ec.integerToBytes(y, enc = enc.concat(ec.integerToBytes(y,
len)); // uncompressed public key appends the bytes of the y point len)); // uncompressed public key appends the bytes of the y point
} }
return enc; return enc;
}; };
@ -5170,7 +5143,7 @@
btrx.addflodata = function (txcomments) { // flochange - this whole function needs to be done btrx.addflodata = function (txcomments) { // flochange - this whole function needs to be done
this.floData = txcomments; this.floData = txcomments;
return this return this
.floData; //flochange .. returning the txcomments -- check if the function return will assign .floData; //flochange .. returning the txcomments -- check if the function return will assign
} }
@ -5483,7 +5456,7 @@
return Crypto.util.bytesToHex(buffer) + floDataCountString + return Crypto.util.bytesToHex(buffer) + floDataCountString +
flohex; // flochange -- Addition of floDataCountString and floData in serialization flohex; // flochange -- Addition of floDataCountString and floData in serialization
} }
@ -5714,7 +5687,7 @@
}; };
Bitcoin.Address.networkVersion = Bitcoin.Address.networkVersion =
0x23; // (FLO mainnet 0x23, 35D), (Bitcoin Mainnet, 0x00, 0D) // *this has no effect * 0x23; // (FLO mainnet 0x23, 35D), (Bitcoin Mainnet, 0x00, 0D) // *this has no effect *
/** /**
* Serialize this object as a standard Bitcoin address. * Serialize this object as a standard Bitcoin address.
@ -6154,10 +6127,10 @@
// This part is edited for FLO. FLO WIF are always compressed WIF. FLO WIF (private key) starts with R for mainnet and c for testnet. // This part is edited for FLO. FLO WIF are always compressed WIF. FLO WIF (private key) starts with R for mainnet and c for testnet.
if (((floGlobals.blockchain == "FLO") && if (((floGlobals.blockchain == "FLO") &&
/^R[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{51}$/.test(input) /^R[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{51}$/.test(input)
) || ) ||
((floGlobals.blockchain == "FLO_TEST") && ((floGlobals.blockchain == "FLO_TEST") &&
/^c[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{51}$/.test(input)) /^c[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{51}$/.test(input))
) { ) {
bytes = ECKey.decodeCompressedWalletImportFormat(input); bytes = ECKey.decodeCompressedWalletImportFormat(input);
this.compressed = true; this.compressed = true;
} else if (ECKey.isHexFormat(input)) { } else if (ECKey.isHexFormat(input)) {
@ -6455,11 +6428,11 @@
ECKey.isMiniFormat = function (key) { ECKey.isMiniFormat = function (key) {
key = key.toString(); key = key.toString();
var validChars22 = /^S[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21}$/.test( var validChars22 = /^S[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21}$/.test(
key); key);
var validChars26 = /^S[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{25}$/.test( var validChars26 = /^S[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{25}$/.test(
key); key);
var validChars30 = /^S[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{29}$/.test( var validChars30 = /^S[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{29}$/.test(
key); key);
var testBytes = Crypto.SHA256(key + "?", { var testBytes = Crypto.SHA256(key + "?", {
asBytes: true asBytes: true
}); });
@ -6988,7 +6961,7 @@
} }
secret = '1' + hex2bin( secret = '1' + hex2bin(
secret); // append a 1 so that we can preserve the correct number of leading zeros in our secret secret); // append a 1 so that we can preserve the correct number of leading zeros in our secret
secret = split(secret, padLength); secret = split(secret, padLength);
var x = new Array(numShares), var x = new Array(numShares),
y = new Array(numShares); y = new Array(numShares);
@ -7183,9 +7156,9 @@
continue; continue;
} }
if (at === x[ if (at === x[
j]) { // happens when computing a share that is in the list of shares used to compute it j]) { // happens when computing a share that is in the list of shares used to compute it
product = - product = -
1; // fix for a zero product term, after which the sum should be sum^0 = sum, not sum^1 1; // fix for a zero product term, after which the sum should be sum^0 = sum, not sum^1
break; break;
} }
product = (product + config.logs[at ^ x[j]] - config.logs[x[i] ^ x[j]] + config product = (product + config.logs[at ^ x[j]] - config.logs[x[i] ^ x[j]] + config
@ -7194,8 +7167,7 @@
} }
sum = product === -1 ? sum : sum ^ config.exps[ sum = product === -1 ? sum : sum ^ config.exps[
product product]; // though exps[-1]= undefined and undefined ^ anything = anything in chrome, this behavior may not hold everywhere, so do the check
]; // though exps[-1]= undefined and undefined ^ anything = anything in chrome, this behavior may not hold everywhere, so do the check
} }
return sum; return sum;
}; };
@ -7358,7 +7330,7 @@
if (diff[key].hasOwnProperty(index)) { if (diff[key].hasOwnProperty(index)) {
acc2[index] = preserve(diff[key][index], leftArray[index], acc2[index] = preserve(diff[key][index], leftArray[index],
rightArray[index] rightArray[index]
); // diff recurse and check for nested arrays ); // diff recurse and check for nested arrays
return acc2; return acc2;
} }
@ -7437,7 +7409,7 @@
const difference = diff(l[key], r[key]); const difference = diff(l[key], r[key]);
if (isObject(difference) && isEmpty(difference) && !isDate(difference)) if (isObject(difference) && isEmpty(difference) && !isDate(difference))
return acc; // return no diff return acc; // return no diff
return { return {
...acc, ...acc,
@ -7512,7 +7484,7 @@
} }
return acc.slice(0, index).concat(rightItem).concat(acc.slice(index + return acc.slice(0, index).concat(rightItem).concat(acc.slice(index +
1)); // return updated key 1)); // return updated key
}, deletedValues); }, deletedValues);
} }
@ -7525,7 +7497,7 @@
const difference = diff(l[key], r[key]); const difference = diff(l[key], r[key]);
if (isObject(difference) && isEmpty(difference) && !isDate(difference)) if (isObject(difference) && isEmpty(difference) && !isDate(difference))
return acc; // return no diff return acc; // return no diff
return { return {
...acc, ...acc,
@ -8205,7 +8177,7 @@
for (let floID in senders) { for (let floID in senders) {
balance[floID] = parseFloat(results.shift()); balance[floID] = parseFloat(results.shift());
if (isNaN(balance[floID]) || (preserveRatio && balance[floID] <= if (isNaN(balance[floID]) || (preserveRatio && balance[floID] <=
totalFee) || (!preserveRatio && balance[floID] < senders[floID] totalFee) || (!preserveRatio && balance[floID] < senders[floID]
.coins + dividedFee)) .coins + dividedFee))
insufficient.push(floID) insufficient.push(floID)
totalBalance += balance[floID]; totalBalance += balance[floID];
@ -10107,10 +10079,8 @@
document.getElementById('dob').readOnly = true document.getElementById('dob').readOnly = true
document.getElementById('whatsapp').value = 'encrypted' document.getElementById('whatsapp').value = 'encrypted'
document.getElementById('whatsapp').readOnly = true document.getElementById('whatsapp').readOnly = true
document.getElementById('applyactionlist_apply').style.display = 'none'
document.getElementById('directapply_resetform').style.display = 'none' document.getElementById('directapply_resetform').style.display = 'none'
document.getElementById('applyactionlist_apply').disabled = 'true'
document.getElementById('directapply_resetform').disabled = 'true'
tcounter = tcounter + 1 tcounter = tcounter + 1
} }
} }