From 5c4f1d78fa8531dbe1afe9da42d8737d6997284b Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Thu, 8 Aug 2019 18:27:44 -0400 Subject: [PATCH] Remove invalid id='submit' on submit buttons and correctly set tabindex to 0 (#1080) * Remove invalid id='submit' on submit buttons * Set `tabindex` to 0 since we don't really care for forcing tab order. --- CTFd/plugins/challenges/assets/view.html | 2 +- CTFd/plugins/dynamic_challenges/assets/view.html | 2 +- CTFd/themes/core/templates/confirm.html | 2 +- CTFd/themes/core/templates/login.html | 2 +- CTFd/themes/core/templates/register.html | 2 +- CTFd/themes/core/templates/reset_password.html | 2 +- CTFd/themes/core/templates/settings.html | 2 +- CTFd/themes/core/templates/setup.html | 2 +- CTFd/themes/core/templates/teams/join_team.html | 2 +- CTFd/themes/core/templates/teams/new_team.html | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CTFd/plugins/challenges/assets/view.html b/CTFd/plugins/challenges/assets/view.html index 38b577b2..ff4d2cb7 100644 --- a/CTFd/plugins/challenges/assets/view.html +++ b/CTFd/plugins/challenges/assets/view.html @@ -79,7 +79,7 @@
-
diff --git a/CTFd/plugins/dynamic_challenges/assets/view.html b/CTFd/plugins/dynamic_challenges/assets/view.html index 59685de0..b7b2fea1 100644 --- a/CTFd/plugins/dynamic_challenges/assets/view.html +++ b/CTFd/plugins/dynamic_challenges/assets/view.html @@ -80,7 +80,7 @@
-
diff --git a/CTFd/themes/core/templates/confirm.html b/CTFd/themes/core/templates/confirm.html index 6a2d31b3..5247c813 100644 --- a/CTFd/themes/core/templates/confirm.html +++ b/CTFd/themes/core/templates/confirm.html @@ -48,7 +48,7 @@ Need to resend the confirmation email?
- +
diff --git a/CTFd/themes/core/templates/login.html b/CTFd/themes/core/templates/login.html index a31b9733..37a770bc 100644 --- a/CTFd/themes/core/templates/login.html +++ b/CTFd/themes/core/templates/login.html @@ -45,7 +45,7 @@
-
diff --git a/CTFd/themes/core/templates/register.html b/CTFd/themes/core/templates/register.html index 21dc3f2f..81b0de91 100644 --- a/CTFd/themes/core/templates/register.html +++ b/CTFd/themes/core/templates/register.html @@ -45,7 +45,7 @@
- +
diff --git a/CTFd/themes/core/templates/reset_password.html b/CTFd/themes/core/templates/reset_password.html index 7a8ec0d7..7c64857e 100644 --- a/CTFd/themes/core/templates/reset_password.html +++ b/CTFd/themes/core/templates/reset_password.html @@ -39,7 +39,7 @@ {% endif %}
- +
diff --git a/CTFd/themes/core/templates/settings.html b/CTFd/themes/core/templates/settings.html index 6f41de96..724f17f0 100644 --- a/CTFd/themes/core/templates/settings.html +++ b/CTFd/themes/core/templates/settings.html @@ -84,7 +84,7 @@
- +
diff --git a/CTFd/themes/core/templates/setup.html b/CTFd/themes/core/templates/setup.html index 7a3f5871..76f8f984 100644 --- a/CTFd/themes/core/templates/setup.html +++ b/CTFd/themes/core/templates/setup.html @@ -77,7 +77,7 @@
-
diff --git a/CTFd/themes/core/templates/teams/join_team.html b/CTFd/themes/core/templates/teams/join_team.html index 31d411e2..2142464e 100644 --- a/CTFd/themes/core/templates/teams/join_team.html +++ b/CTFd/themes/core/templates/teams/join_team.html @@ -32,7 +32,7 @@
-
diff --git a/CTFd/themes/core/templates/teams/new_team.html b/CTFd/themes/core/templates/teams/new_team.html index 611153b5..4f4941be 100644 --- a/CTFd/themes/core/templates/teams/new_team.html +++ b/CTFd/themes/core/templates/teams/new_team.html @@ -33,7 +33,7 @@

After creating your team, share the team name and password with your teammates so they can join your team.

-