Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add footer, re-add debug link #542

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 74 additions & 2 deletions oidc-controller/api/templates/verified_credentials.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,32 @@
background-color: var(--bc-primary);
border-bottom: 4px solid var(--bc-accent);
box-shadow: 0px 3px 3px 0px #dedede;
padding-left: 1em;
}
.navbar svg {
height: 4rem;
}
footer {
background-color: var(--bc-primary);
border-top: 2px solid var(--bc-accent);
color: #fff;
}
footer ul {
display: flex;
flex-wrap: wrap;
margin: 0;
color: #fff;
list-style: none;
}
footer ul li a {
font-size: 0.813em;
color: #fff;
padding: 0 1em;
text-decoration: none;
}
footer ul li a:hover {
text-decoration: underline;
}

[v-cloak] {
display: none;
Expand All @@ -150,12 +172,12 @@
</head>
<body>
<div id="app">
<div v-cloak>
<div v-cloak class="d-flex flex-column vh-100">
<nav class="navbar">
<div v-html="bcGovLogo" v-on:click="bcIdClicks++"></div>
</nav>

<main class="container mt-4 text-center">
<main class="container flex-fill mt-4 text-center">
<h1 v-if="!mobileDevice" class="mb-3">Scan with a Digital Wallet</h1>
<div class="row">
<div
Expand Down Expand Up @@ -204,6 +226,26 @@ <h1 v-if="mobileDevice" class="mb-3 text-start fw-bolder fs-1">
v-on:reload="reload"
></qr-code>

<div v-if="bcIdClicks > 9" class="form-group my-5">
<div v-if="mobileDevice">
<label class="text-danger">DEBUG: Deep Link URL</label>
<textarea
rows="8"
class="form-control mb-4"
value="{{wallet_deep_link}}"
>
</textarea>
</div>

<label class="text-danger">DEBUG: QR Code URL</label>
<textarea
rows="4"
class="form-control"
value="{{url_to_message}}"
>
</textarea>
</div>

<hr v-if="mobileDevice" />

<p>
Expand All @@ -219,6 +261,36 @@ <h1 v-if="mobileDevice" class="mb-3 text-start fw-bolder fs-1">
</div>
</div>
</main>

<footer>
<ul class="py-2 px-0 px-sm-4">
<li>
<a href="https://www2.gov.bc.ca/gov/content/home">Home</a>
</li>
<li>
<a href="https://www2.gov.bc.ca/gov/content/home/disclaimer">
Disclaimer
</a>
</li>
<li>
<a href="https://www2.gov.bc.ca/gov/content/home/privacy">
Privacy
</a>
</li>
<li>
<a
href="https://www2.gov.bc.ca/gov/content/home/accessible-government"
>
Accessibility
</a>
</li>
<li>
<a href="https://www2.gov.bc.ca/gov/content/home/copyright">
Copyright
</a>
</li>
</ul>
</footer>
</div>
</div>

Expand Down