-
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
8e0369d
commit f6b201e
Showing
2 changed files
with
72 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,70 @@ | ||
{% set html_style = 'background-color: #f0f4f5;' %} | ||
{% set title = 'Tables' %} | ||
{% from 'components/tables/macro.njk' import table %} | ||
{% 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-full"> | ||
{{ table({ | ||
panel: false, | ||
caption: "Users", | ||
firstCellIsHeader: false, | ||
head: [ | ||
{ | ||
text: "Name" | ||
}, | ||
{ | ||
text: "Email address" | ||
}, | ||
{ | ||
text: "Status" | ||
}, | ||
{ | ||
html: "<span class=\"nhsuk-u-visually-hidden\">Actions</span>" | ||
} | ||
], | ||
rows: [ | ||
[ | ||
{ | ||
text: "Stephanie Meyer" | ||
}, | ||
{ | ||
text: "[email protected]", | ||
classes: "nhsuk-table__cell--break-word" | ||
}, | ||
{ | ||
text: "Active" | ||
}, | ||
{ | ||
html: "<a href=\"#\">Change <span class=\"nhsuk-u-visually-hidden\">status for Stephanie Meyer</span></a>" | ||
} | ||
], | ||
[ | ||
{ | ||
text: "Aleksandrina Featherstonehaugh-Whitehead" | ||
}, | ||
{ | ||
text: "aleksandrina.featherstonehaughwhitehead23@folkestonepharmacy.test.com", | ||
classes: "nhsuk-table__cell--break-word" | ||
}, | ||
{ | ||
text: "Inactive" | ||
}, | ||
{ | ||
html: "<a href=\"#\">Change <span class=\"nhsuk-u-visually-hidden\">status for Aleksandrina Featherstonehaugh-Whitehead</span></a>" | ||
} | ||
] | ||
] | ||
}) }} | ||
</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