-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from trade-tariff/FPO-345-desc-page
FPO-345
- Loading branch information
Showing
4 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { type Request, type Response } from 'express' | ||
|
||
export const identifyPage = (req: Request, res: Response): void => { | ||
res.render('identifyPage') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{% extends "layout.njk" %} | ||
{% from "govuk/components/button/macro.njk" import govukButton %} | ||
{% from "govuk/components/radios/macro.njk" import govukRadios %} | ||
{% from "govuk/components/inset-text/macro.njk" import govukInsetText %} | ||
{% block title %}Identify Page{% endblock %} | ||
{% block content %} | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<h1 class="govuk-heading-xl">Commodi-tea ☕</h1> | ||
<p class="govuk-heading-l">Can you identify</p> | ||
<h1 class="govuk-heading-l">"Bland and tasteless microwave meals"</h1> | ||
<p class="govuk-body">The tool identifies it as a commodity code: 21069098</p> | ||
{{ govukInsetText({ | ||
text: "MISCELLANEOUS EDIBLE PREPARATIONS | ||
- Food preparations not elsewhere specified or included | ||
- Other" | ||
}) }} | ||
<p class="govuk-body"> | ||
Look it up on the <a href="https://www.gov.uk/trade-tariff" class="govuk-link">Online Trade Tariff</a> | ||
</p> | ||
{{ govukRadios({ | ||
name: "correctCNCode", | ||
fieldset: { | ||
legend: { | ||
text: "Is this the correct 8 digit CN Code?", | ||
isPageHeading: true, | ||
classes: "govuk-fieldset__legend--l" | ||
} | ||
}, | ||
items: [ | ||
{ | ||
value: "yes", | ||
text: "Yes - it's defintely correct", | ||
hint: { | ||
text: "There is enough information in the description that I'm confident it's the right code" | ||
} | ||
}, | ||
{ | ||
value: "maybe", | ||
text: "Maybe", | ||
hint: { | ||
text: "It might be the right code, but there's not really enough information to be sure" | ||
} | ||
}, | ||
{ | ||
value: "no", | ||
text: "No", | ||
hint: { | ||
text: "It's got it completely wrong!" | ||
} | ||
} | ||
] | ||
}) }} | ||
{{ govukButton({ | ||
text: "Continue", | ||
href: "/confirmation" | ||
}) }} | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters