minor changes
This commit is contained in:
parent
f0bec0881d
commit
6ac32f30a6
@ -311,10 +311,9 @@
|
||||
defer></script>
|
||||
<script id="onLoadStartUp">
|
||||
function onLoadStartUp() {
|
||||
console.log("Ranchimall Certificate Verifier")
|
||||
console.log("RanchiMall Certificate Verifier")
|
||||
floBlockchainAPI.getBalance(floCrypto.generateNewID().floID).then(r => {
|
||||
const [key, value] = window.location.search.substring(1).split('=')
|
||||
console.log(key, value)
|
||||
if (key === '' && !value) throw new Error("No verification ID found")
|
||||
switch (key) {
|
||||
case "internCertificate":
|
||||
@ -329,7 +328,6 @@
|
||||
case "participationCertificate":
|
||||
verifyCertificate(value, "Participation certificate", "CERTIFICATE OF PARTICIPATION");
|
||||
break;
|
||||
|
||||
}
|
||||
}).catch(e => {
|
||||
console.error(e)
|
||||
@ -347,7 +345,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon--big" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M2.166 4.999A11.954 11.954 0 0010 1.944 11.954 11.954 0 0017.834 5c.11.65.166 1.32.166 2.001 0 5.225-3.34 9.67-8 11.317C5.34 16.67 2 12.225 2 7c0-.682.057-1.35.166-2.001zm11.541 3.708a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /> </svg>
|
||||
<h4> Verified </h4>
|
||||
<div class="hover-over">
|
||||
<button class="link">See how verification works.</button>
|
||||
<button class="link">What was verified?</button>
|
||||
<div class="verification-steps">
|
||||
<div class="step">
|
||||
<div class="step-icon">
|
||||
@ -392,7 +390,7 @@
|
||||
document.getElementById('main').classList.remove('hidden')
|
||||
}
|
||||
|
||||
function wait(ms = 500) {
|
||||
function wait(ms = 200) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
function processStatus(iVerify, oVerify, cVerify) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user