Skip to content

Commit

Permalink
update css to frontend release 2.1.0
Browse files Browse the repository at this point in the history
update setup.py to accept latest css file

update static js to 2.1.0

update testapp to accept latest js

Update docs
  • Loading branch information
Ross-Clark committed Apr 12, 2019
1 parent c0748cf commit 3bce6b6
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Include the CSS in your base template

Include the Javascript in your base template
```html
<script type="text/javascript" src="{% static 'wagtailnhsukfrontend/js/nhsuk-1.0.0.min.js' %}" defer></script>
<script type="text/javascript" src="{% static 'wagtailnhsukfrontend/js/nhsuk-2.1.0.min.js' %}" defer></script>
```

# Further reading
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class CompileCSSCommand(build):
def run(self):
filepath_base = 'wagtailnhsukfrontend/static/wagtailnhsukfrontend/css/'
filenames = [
'nhsuk-1.0.0.min.css',
'nhsuk-2.1.0.min.css',
'fixes.css',
]

Expand Down
2 changes: 1 addition & 1 deletion testapp/testapp/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<link rel="stylesheet" type="text/css" href="{% static 'wagtailnhsukfrontend/css/wagtail-nhsuk-frontend.min.css' %}">

{# NHSUK JS library #}
<script type="text/javascript" src="{% static 'wagtailnhsukfrontend/js/nhsuk-1.0.0.min.js' %}" defer></script>
<script type="text/javascript" src="{% static 'wagtailnhsukfrontend/js/nhsuk-2.1.0.min.js' %}" defer></script>

{% block extra_css %}
{# Override this in templates to add extra stylesheets #}
Expand Down

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 3bce6b6

Please sign in to comment.