-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/npm_and_yarn/express-4.21.1
- Loading branch information
Showing
23 changed files
with
556 additions
and
44 deletions.
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
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,81 @@ | ||
{% set html_style = 'background-color: #f0f4f5;' %} | ||
{% set title = 'Task list' %} | ||
{% from 'components/task-list/macro.njk' import taskList %} | ||
{% extends 'layout.njk' %} | ||
|
||
{% block body %} | ||
|
||
<div class="nhsuk-width-container"> | ||
<main class="nhsuk-main-wrapper" id="maincontent"> | ||
|
||
<div class="nhsuk-grid-row"> | ||
<div class="nhsuk-grid-column-two-thirds"> | ||
{{ taskList({ | ||
idPrefix: "your-health", | ||
items: [ | ||
{ | ||
title: { | ||
text: "Exercise" | ||
}, | ||
href: "#", | ||
status: { | ||
text: "Completed", | ||
classes: "nhsuk-task-list__status--completed" | ||
} | ||
}, | ||
{ | ||
title: { | ||
text: "Personal health" | ||
}, | ||
href: "#", | ||
status: { | ||
text: "Completed", | ||
classes: "nhsuk-task-list__status--completed" | ||
} | ||
}, | ||
{ | ||
title: { | ||
text: "Family health history" | ||
}, | ||
hint: { | ||
text: "Details of your parents and siblings" | ||
}, | ||
href: "#", | ||
status: { | ||
tag: { | ||
text: "Incomplete", | ||
classes: "nhsuk-tag--blue" | ||
} | ||
} | ||
}, | ||
{ | ||
title: { | ||
text: "Smoking history" | ||
}, | ||
href: "#", | ||
status: { | ||
tag: { | ||
text: "Incomplete", | ||
classes: "nhsuk-tag--blue" | ||
} | ||
} | ||
}, | ||
{ | ||
title: { | ||
text: "Blood test" | ||
}, | ||
status: { | ||
text: "Cannot start yet", | ||
classes: "nhsuk-task-list__status--cannot-start-yet" | ||
} | ||
} | ||
] | ||
}) }} | ||
|
||
</div> | ||
</div> | ||
|
||
</main> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
{% set html_style = 'background-color: #f0f4f5;' %} | ||
{% set title = 'Task list' %} | ||
{% from 'components/task-list/macro.njk' import taskList %} | ||
{% from 'components/button/macro.njk' import button %} | ||
{% extends 'layout.njk' %} | ||
|
||
{% block body %} | ||
|
||
<div class="nhsuk-width-container"> | ||
<main class="nhsuk-main-wrapper" id="maincontent"> | ||
|
||
<div class="nhsuk-grid-row"> | ||
<div class="nhsuk-grid-column-two-thirds"> | ||
<h1 class="nhsuk-heading-l">Service name</h1> | ||
|
||
<h2 class="nhsuk-heading-m">Check before you start</h2> | ||
{{ taskList({ | ||
idPrefix: "before-you-start", | ||
items: [ | ||
{ | ||
title: { | ||
text: "Check eligibility" | ||
}, | ||
href: "#", | ||
status: { | ||
text: "Completed", | ||
classes: "nhsuk-task-list__status--completed" | ||
} | ||
}, | ||
{ | ||
title: { | ||
text: "Read declaration" | ||
}, | ||
href: "#", | ||
status: { | ||
tag: { | ||
text: "Incomplete", | ||
classes: "nhsuk-tag--blue" | ||
} | ||
} | ||
} | ||
] | ||
}) }} | ||
|
||
<h2 class="nhsuk-heading-m">Prepare application</h2> | ||
|
||
{{ taskList({ | ||
idPrefix: "your-health", | ||
items: [ | ||
{ | ||
title: { | ||
text: "Exercise" | ||
}, | ||
href: "#", | ||
status: { | ||
text: "Completed", | ||
classes: "nhsuk-task-list__status--completed" | ||
} | ||
}, | ||
{ | ||
title: { | ||
text: "Personal health" | ||
}, | ||
href: "#", | ||
status: { | ||
text: "Completed", | ||
classes: "nhsuk-task-list__status--completed" | ||
} | ||
}, | ||
{ | ||
title: { | ||
text: "Family health history" | ||
}, | ||
hint: { | ||
text: "Details of your parents and siblings" | ||
}, | ||
href: "#", | ||
status: { | ||
tag: { | ||
text: "Incomplete", | ||
classes: "nhsuk-tag--blue" | ||
} | ||
} | ||
}, | ||
{ | ||
title: { | ||
text: "Smoking history" | ||
}, | ||
href: "#", | ||
status: { | ||
tag: { | ||
text: "Incomplete", | ||
classes: "nhsuk-tag--blue" | ||
} | ||
} | ||
}, | ||
{ | ||
title: { | ||
text: "Blood test" | ||
}, | ||
status: { | ||
text: "Cannot start yet", | ||
classes: "nhsuk-task-list__status--cannot-start-yet" | ||
} | ||
} | ||
] | ||
}) }} | ||
|
||
{{ button({ | ||
text: "Continue" | ||
}) }} | ||
</div> | ||
</div> | ||
|
||
</main> | ||
</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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.