mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-23 07:19:28 -07:00
Rremove obsolete code
This commit is contained in:
parent
ff58678dee
commit
7066c259c4
1 changed files with 0 additions and 43 deletions
|
@ -445,49 +445,6 @@ async function displayProfile(opts) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// userId.forEach((claim, i) => {
|
|
||||||
// feedback += `<div class="profileDataItem">`;
|
|
||||||
// feedback += `<div class="profileDataItem__label">${verifications[i].type}</div>`;
|
|
||||||
// feedback += `<div class="profileDataItem__value">`;
|
|
||||||
// feedback += `<a class="proofDisplay" href="${verifications[i].url}" rel="me">${verifications[i].display}</a>`;
|
|
||||||
// if (verifications[i].isVerified) {
|
|
||||||
// feedback += `<a class="proofUrl proofUrl--verified" href="${verifications[i].proofUrl}">verified ✔</a>`;
|
|
||||||
// } else {
|
|
||||||
// feedback += `<a class="proofUrl" href="${verifications[i].proofUrl}">unverified</a>`;
|
|
||||||
// }
|
|
||||||
// if (verifications[i].isVerified && verifications[i].qr) {
|
|
||||||
// feedback += `<a class="proofQR green" href="/util/qr/${encodeURIComponent(verifications[i].qr)}" target="_blank" title="QR Code">${icon_qr}</a>`;
|
|
||||||
// }
|
|
||||||
// feedback += `</div>`;
|
|
||||||
// feedback += `</div>`;
|
|
||||||
// });
|
|
||||||
|
|
||||||
|
|
||||||
// if (verifications.length > 0) {
|
|
||||||
// for (var i = 0; i < verifications.length; i++) {
|
|
||||||
// if (!verifications[i].type) { continue; }
|
|
||||||
// feedback += `<div class="profileDataItem">`;
|
|
||||||
// feedback += `<div class="profileDataItem__label">${verifications[i].type}</div>`;
|
|
||||||
// feedback += `<div class="profileDataItem__value">`;
|
|
||||||
// feedback += `<a class="proofDisplay" href="${verifications[i].url}" rel="me">${verifications[i].display}</a>`;
|
|
||||||
// if (verifications[i].isVerified) {
|
|
||||||
// feedback += `<a class="proofUrl proofUrl--verified" href="${verifications[i].proofUrl}">verified ✔</a>`;
|
|
||||||
// } else {
|
|
||||||
// feedback += `<a class="proofUrl" href="${verifications[i].proofUrl}">unverified</a>`;
|
|
||||||
// }
|
|
||||||
// if (verifications[i].isVerified && verifications[i].qr) {
|
|
||||||
// feedback += `<a class="proofQR green" href="/util/qr/${encodeURIComponent(verifications[i].qr)}" target="_blank" title="QR Code">${icon_qr}</a>`;
|
|
||||||
// }
|
|
||||||
// feedback += `</div>`;
|
|
||||||
// feedback += `</div>`;
|
|
||||||
// }
|
|
||||||
// } else {
|
|
||||||
// feedback += `<div class="profileDataItem profileDataItem--noLabel">`;
|
|
||||||
// feedback += `<div class="profileDataItem__label"></div>`;
|
|
||||||
// feedback += `<div class="profileDataItem__value">No proofs found in key</div>`;
|
|
||||||
// feedback += `</div>`;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// Display feedback
|
// Display feedback
|
||||||
document.body.querySelector('#profileProofs').innerHTML = feedback;
|
document.body.querySelector('#profileProofs').innerHTML = feedback;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue