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

Check all nunjucks components to allow class and attributes parameters #318

Closed
mcheung-nhs opened this issue Dec 21, 2018 · 0 comments
Closed
Assignees

Comments

@mcheung-nhs
Copy link
Collaborator

mcheung-nhs commented Dec 21, 2018

All components should have the option to add an extra class and/or attribute parameter to either the relevant HTML element, such as an anchor tag, or to the containing <div> so it or any child element can be targeted.

@mcheung-nhs mcheung-nhs self-assigned this Jan 17, 2019
mcheung-nhs added a commit that referenced this issue Jan 24, 2019
Removing any whitespace to tidy up resultant markup and refactor
nunjucks templates to make them more readable.

Templates amended:
- action link
- back link
- breadcrumb
- button
- care card
- contents list
- date input
- hint

More to come...
mcheung-nhs added a commit that referenced this issue Jan 24, 2019
Added Nunjucks options for emergency alert and feedback banner
components.

Tidied up code for the other components.

Components amended:
- details
- do-dont-lists
- emergency alert
- error message
- error summary
- feedback banner
mcheung-nhs added a commit that referenced this issue Jan 24, 2019
Added Nunjucks options for the hero and images components.

Code tidy of the Nunjucks templates and README updates.

Components amended:
- fieldset
- footer
- header
- hero
- hint
- images
mcheung-nhs added a commit that referenced this issue Jan 25, 2019
Code tidy of the Nunjucks templates and README updates.

Components amended:
- input
- inset text
- label
- list panel
- nav a-z
- pagination
- panel
mcheung-nhs added a commit that referenced this issue Jan 25, 2019
Tidied up code in Nunjucks templates and READMEs.
For the radio component, removed the conditional parameter as this has
not yet been implemented.

Components amended:
- error-message
- promo
- radios
- review-review
- select
- skip-link
- tables
- textarea
- warning-callout
mcheung-nhs added a commit that referenced this issue Jan 25, 2019
Removing any whitespace to tidy up resultant markup and refactor
nunjucks templates to make them more readable.

Templates amended:
- action link
- back link
- breadcrumb
- button
- care card
- contents list
- date input
- hint

More to come...
mcheung-nhs added a commit that referenced this issue Jan 25, 2019
Added Nunjucks options for emergency alert and feedback banner
components.

Tidied up code for the other components.

Components amended:
- details
- do-dont-lists
- emergency alert
- error message
- error summary
- feedback banner
mcheung-nhs added a commit that referenced this issue Jan 25, 2019
Added Nunjucks options for the hero and images components.

Code tidy of the Nunjucks templates and README updates.

Components amended:
- fieldset
- footer
- header
- hero
- hint
- images
mcheung-nhs added a commit that referenced this issue Jan 25, 2019
Code tidy of the Nunjucks templates and README updates.

Components amended:
- input
- inset text
- label
- list panel
- nav a-z
- pagination
- panel
mcheung-nhs added a commit that referenced this issue Jan 25, 2019
Tidied up code in Nunjucks templates and READMEs.
For the radio component, removed the conditional parameter as this has
not yet been implemented.

Components amended:
- error-message
- promo
- radios
- review-review
- select
- skip-link
- tables
- textarea
- warning-callout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants