Replace card header title tags - accessibility improvement

This commit is contained in:
Mia Arh
2021-05-04 09:22:31 +02:00
parent 10ef5b0df5
commit 89ad43113d
16 changed files with 16 additions and 16 deletions
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" set . "activeNav" "clients" }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Authorized clients</h4>
<h1 class="h4 card-title p-3 border-bottom">Authorized clients</h1>
<form
method="POST"
class="clearfix"
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" set . "activeNav" "security" }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Change your password</h4>
<h1 class="h4 card-title p-3 border-bottom">Change your password</h1>
<form
method="POST"
action="{{ links.ChangePassword }}"
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" . }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Internal error</h4>
<h1 class="h4 card-title p-3 border-bottom">Internal error</h1>
<div class="text-danger mb-4 font-weight-bold p-3" role="alert">
{{ .error }}
</div>
+1 -1
View File
@@ -1,7 +1,7 @@
<div class="card-header border-0 p-0">
<div class="text-center w-100">
<a href="{{ links.Profile }}">
<img class="logo m-3" src="{{ links.Assets }}/logo.png">
<img class="logo m-3" alt="Company logo" src="{{ links.Assets }}/logo.png">
</a>
</div>
+1 -1
View File
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" . }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Log in</h4>
<h1 class="h4 card-title p-3 border-bottom">Log in</h1>
{{ if .settings.LocalEnabled }}
<form
method="POST"
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" set . "hideNav" true }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Disable two-factor authentication with TOTP</h4>
<h1 class="h4 card-title p-3 border-bottom">Disable two-factor authentication with TOTP</h1>
<form
class="p-3"
+1 -1
View File
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" set . "hideNav" true }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Configure two-factor authentication with TOTP</h4>
<h1 class="h4 card-title p-3 border-bottom">Configure two-factor authentication with TOTP</h1>
{{ if .enforced }}
<p class="p-3 text-danger mb-0 font-weight-bold">
+1 -1
View File
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" set . "hideNav" true }}
<div class="card-body p-0 mb-2">
<h4 class="card-title p-3 border-bottom">Multi-factor authentication</h4>
<h1 class="h4 card-title p-3 border-bottom">Multi-factor authentication</h1>
{{ if .emailOtpPending }}
<form
@@ -7,7 +7,7 @@
</div>
{{ end }}
<h4 class="card-title p-3 border-bottom">Authorize "{{ coalesce .client.Name }}"</h4>
<h1 class="h4 card-title p-3 border-bottom">Authorize "{{ coalesce .client.Name }}"</h1>
<form
action="{{ links.OAuth2AuthorizeClient }}"
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" . }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Password reset requested</h4>
<h1 class="h4 card-title p-3 border-bottom">Password reset requested</h1>
<div class="p-3" role="alert">
If the email you entered is found in our database, you'll receive a password reset link to your inbox in a few moments.
</div>
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" . }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Confirm your email</h4>
<h1 class="h4 card-title p-3 border-bottom">Confirm your email</h1>
<div class="p-3" role="alert">
You should receive email confirmation link to your inbox in a few moments.
</div>
+1 -1
View File
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" set . "activeNav" "profile" }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Your profile</h4>
<h1 class="h4 card-title p-3 border-bottom">Your profile</h1>
<form
method="POST"
action="{{ links.Profile }}"
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" . }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Request password reset link</h4>
<h1 class="h4 card-title p-3 border-bottom">Request password reset link</h1>
<form
method="POST"
action="{{ links.RequestPasswordReset }}"
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" . }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Reset your password</h4>
<h1 class="h4 card-title p-3 border-bottom">Reset your password</h1>
<form
method="POST"
action="{{ links.ResetPassword }}"
+1 -1
View File
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" set . "activeNav" "security" }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Security</h4>
<h1 class="h4 card-title p-3 border-bottom">Security</h1>
<form
method="POST"
action="{{ links.Security }}"
+1 -1
View File
@@ -1,6 +1,6 @@
{{ template "inc_header.html.tpl" . }}
<div class="card-body p-0">
<h4 class="card-title p-3 border-bottom">Sign up</h4>
<h1 class="h4 card-title p-3 border-bottom">Sign up</h1>
<form
method="POST"
action="{{ links.Signup }}"