diff --git a/demo/vue/app/frontend/src/router/index.js b/demo/vue/app/frontend/src/router/index.js index 8f0a7895..626a7dd2 100644 --- a/demo/vue/app/frontend/src/router/index.js +++ b/demo/vue/app/frontend/src/router/index.js @@ -88,7 +88,7 @@ export default function getRouter(basePath = '/') { document.title = to.meta.title ? to.meta.title : process.env.VUE_APP_TITLE; - } else document.title = 'Demo VC-Authn-OIDC App”'; // default title + } else document.title = 'Demo VC-Authn-OIDC App'; // default title if (to.query.r && isFirstTransition) { router.replace({ diff --git a/oidc-controller/api/templates/verified_credentials.html b/oidc-controller/api/templates/verified_credentials.html index c1075fbf..b96b041a 100644 --- a/oidc-controller/api/templates/verified_credentials.html +++ b/oidc-controller/api/templates/verified_credentials.html @@ -173,6 +173,21 @@ .header-desc a { line-height: 1rem; } + .text-link { + display: none; + margin-top: 1rem; + margin-bottom: 1rem; + } + .text-link textarea { + border-radius: 5px; + display: block; + max-width: 100%; + resize: none; + width: 100%; + } + .text-link label { + display: block; + } @@ -260,6 +275,17 @@

Scan with a Digital Wallet

/> + + +
Don't have a digital wallet?
@@ -380,5 +406,17 @@

Scan with a Digital Wallet

timer = setInterval(() => { checkStatus(); }, 2000); + + /** + * If the BC_ID is clicked on 10 times in a row, the QR code will be refreshed + */ + let counter = 0; + const textLinkDiv = document.querySelector(".text-link"); + document.querySelector("#BC_ID").addEventListener("click", () => { + counter++; + if (counter === 10) { + textLinkDiv.style.display = "block"; + } + });