diff --git a/ietf/doc/tests_ballot.py b/ietf/doc/tests_ballot.py index dc2fd34d6..9261588ba 100644 --- a/ietf/doc/tests_ballot.py +++ b/ietf/doc/tests_ballot.py @@ -501,7 +501,7 @@ class BallotWriteupsTests(TestCase): self.assertEqual(r.status_code, 200) q = PyQuery(r.content) self.assertEqual(len(q('textarea[name=ballot_writeup]')), 1) - self.assertFalse(q('[class=help-block]:contains("not completed IETF Last Call")')) + self.assertFalse(q('[class=form-text]:contains("not completed IETF Last Call")')) self.assertTrue(q('[type=submit]:contains("Save")')) self.assertCountEqual(draft.action_holders.all(), []) @@ -525,7 +525,7 @@ class BallotWriteupsTests(TestCase): self.assertEqual(r.status_code, 200) q = PyQuery(r.content) self.assertEqual(len(q('textarea[name=ballot_writeup]')), 1) - self.assertTrue(q('[class=help-block]:contains("not completed IETF Last Call")')) + self.assertTrue(q('[class=text-danger]:contains("not completed IETF Last Call")')) self.assertTrue(q('[type=submit]:contains("Save")')) def test_edit_approval_text(self): diff --git a/ietf/static/js/status-change-edit-relations.js b/ietf/static/js/status-change-edit-relations.js index cc50f7d38..c5e2754b2 100644 --- a/ietf/static/js/status-change-edit-relations.js +++ b/ietf/static/js/status-change-edit-relations.js @@ -11,7 +11,7 @@ $(function () { form.on("keydown", ".new-relation-row input[type=text]", function () { var top = $(this).closest(".new-relation-row"); top.removeClass("new-relation-row"); - top.find(".help-block").remove(); + top.find(".form-text").remove(); top.find(".delete").show(); top.find("input,select").each(function () { this.name += counter; diff --git a/ietf/submit/tests.py b/ietf/submit/tests.py index 71e784e18..c542be626 100644 --- a/ietf/submit/tests.py +++ b/ietf/submit/tests.py @@ -2652,7 +2652,7 @@ Subject: test r = self.client.post(url, files) if r.status_code != 302: q = PyQuery(r.content) - print(q('div.invalid-feedback span.help-block div').text()) + print(q('div.invalid-feedback span.form-text div').text()) self.assertEqual(r.status_code, 302) diff --git a/ietf/templates/403.html b/ietf/templates/403.html index b9f07377b..e6dfce2f9 100644 --- a/ietf/templates/403.html +++ b/ietf/templates/403.html @@ -1,18 +1,22 @@ +{# bs5ok #} {# Copyright The IETF Trust 2007, All Rights Reserved #} {% extends "base.html" %} {% load static %} {% block title %}404 Not Found{% endblock %} {% block content %} - - +
-

Restricted Access.

- -

{{ exception }}

- -

If you think this is a server error, please contact {{ bugreport_email }}.

- +

+ {{ exception }} +

+

+ If you think this is a server error, please contact + {{ bugreport_email }} + . +

-{% endblock %} - +{% endblock %} \ No newline at end of file diff --git a/ietf/templates/404.html b/ietf/templates/404.html index fa7f8c32c..3ff6f1e8a 100644 --- a/ietf/templates/404.html +++ b/ietf/templates/404.html @@ -1,20 +1,23 @@ +{# bs5ok #} {# Copyright The IETF Trust 2007, All Rights Reserved #} {% extends "base.html" %} {% load static %} {% block title %}404 Not Found{% endblock %} {% block content %} - - +
-

The page you were looking for couldn't be found.

- - -

The requested URL was not found on this server. If you entered the URL - manually please check your spelling and try again.

- -

If you think this is a server error, please contact {{ bugreport_email }}.

- +

+ The requested URL was not found on this server. If you entered the URL + manually please check your spelling and try again. +

+

+ If you think this is a server error, please contact + {{ bugreport_email }} + . +

-{% endblock %} - +{% endblock %} \ No newline at end of file diff --git a/ietf/templates/500.html b/ietf/templates/500.html index 102efa760..ed9804394 100644 --- a/ietf/templates/500.html +++ b/ietf/templates/500.html @@ -1,13 +1,14 @@ +{# bs5ok #} {# Copyright The IETF Trust 2007, All Rights Reserved #} {% extends "base.html" %} {% load static %} {% block title %}500 Internal Server Error{% endblock %} {% block content %} - - - +

Internal Server Error.

-

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an @@ -19,7 +20,7 @@ A failure report with details about what happened has been sent to the server administrators. It would be helpful if you would file a bug report with additional information at the - IETF database issue tracker, too. + IETF database issue tracker + , too.

- -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/ietf/templates/admin/group/group/change_form.html b/ietf/templates/admin/group/group/change_form.html index b291398ac..7b4bf2a0d 100644 --- a/ietf/templates/admin/group/group/change_form.html +++ b/ietf/templates/admin/group/group/change_form.html @@ -1,3 +1,4 @@ +{# bs5ok #} {% extends "admin/change_form.html" %} {# Copyright The IETF Trust 2015, All Rights Reserved #} {% load origin %} @@ -14,4 +15,4 @@ {% if has_absolute_url %}
  • {% trans "View on site" %}
  • {% endif%} {% endif %}{% endif %} -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/ietf/templates/admin/group/group/change_list.html b/ietf/templates/admin/group/group/change_list.html index d31484258..750db0691 100644 --- a/ietf/templates/admin/group/group/change_list.html +++ b/ietf/templates/admin/group/group/change_list.html @@ -1,3 +1,4 @@ +{# bs5ok #} {% extends "admin/change_list.html" %} {# Copyright The IETF Trust 2015, All Rights Reserved #} {% load origin %} @@ -16,4 +17,4 @@ {% endif %} -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/ietf/templates/admin/group/group/send_sdo_reminder.html b/ietf/templates/admin/group/group/send_sdo_reminder.html index cc745ae35..43baa3ce9 100644 --- a/ietf/templates/admin/group/group/send_sdo_reminder.html +++ b/ietf/templates/admin/group/group/send_sdo_reminder.html @@ -1,3 +1,4 @@ +{# bs5ok #} {% extends "admin/base_site.html" %} {# Copyright The IETF Trust 2015, All Rights Reserved #} {% load origin %} @@ -43,4 +44,4 @@ {% endif %} -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/ietf/templates/base.html b/ietf/templates/base.html index ee41c18f0..64812dd47 100644 --- a/ietf/templates/base.html +++ b/ietf/templates/base.html @@ -1,3 +1,4 @@ +{# bs5ok #} {# Copyright The IETF Trust 2015-2021, All Rights Reserved #} {% load ietf_filters static %} @@ -37,18 +38,7 @@ -