-
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.
- Loading branch information
1 parent
4515b3a
commit 0aeccf8
Showing
4 changed files
with
135 additions
and
20 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,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 nhsuk-u-margin-top-3">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
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