+
+
+
+
+
+ Verify certificate
+Enter transaction ID of issued certificate to check genuinity.
+diff --git a/assets/js/components.js b/assets/js/components.js index 8fbd859..9101898 100644 --- a/assets/js/components.js +++ b/assets/js/components.js @@ -1,3 +1,5 @@ const smButton = document.createElement("template"); smButton.innerHTML = "\n\n
", customElements.define("sm-button", class extends HTMLElement { constructor() { super(), this.attachShadow({ mode: "open" }).append(smButton.content.cloneNode(!0)) } static get observedAttributes() { return ["disabled"] } get disabled() { return this.hasAttribute("disabled") } set disabled(t) { t ? this.setAttribute("disabled", "") : this.removeAttribute("disabled") } focusIn() { this.focus() } handleKeyDown(t) { this.hasAttribute("disabled") || "Enter" !== t.key && " " !== t.key || (t.preventDefault(), this.click()) } connectedCallback() { this.hasAttribute("disabled") || this.setAttribute("tabindex", "0"), this.setAttribute("role", "button"), this.addEventListener("keydown", this.handleKeyDown) } attributeChangedCallback(t) { "disabled" === t && (this.hasAttribute("disabled") ? this.removeAttribute("tabindex") : this.setAttribute("tabindex", "0"), this.setAttribute("aria-disabled", this.hasAttribute("disabled"))) } }); +const smInput = document.createElement("template"); smInput.innerHTML = '\n \nEnter transaction ID of issued certificate to check genuinity.
+diff --git a/verify.html b/verify.html new file mode 100644 index 0000000..0dab70b --- /dev/null +++ b/verify.html @@ -0,0 +1,120 @@ + + + +
+ + + +
+ + + + + + + +
+ +