Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fairlogin
keycloak-fairlogin-theme
Commits
58cc21b1
Commit
58cc21b1
authored
Apr 18, 2018
by
jbuechele
Browse files
added asterisk to required fields
parent
ce8f97fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
fairlogin/login/register.ftl
View file @
58cc21b1
...
...
@@ -40,12 +40,12 @@
<form action="$
{
url
.registrationAction
}
" method="post">
<div class="form-group">
<label for="firstName">First name</label>
<label for="firstName"
class="required"
>First name</label>
<input id="firstName" type="text" class="form-control" name="firstName" required autofocus>
</div>
<div class="form-group">
<label for="lastName">Last name</label>
<label for="lastName"
class="required"
>Last name</label>
<input id="lastName" type="text" class="form-control" name="lastName" required>
</div>
...
...
@@ -55,18 +55,18 @@
</div>
<div class="form-group">
<label for="email">E-Mail Address</label>
<label for="email"
class="required"
>E-Mail Address</label>
<input id="email" type="email" class="form-control" name="email" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<label for="password"
class="required"
>Password</label>
<input id="password" type="password" class="form-control" name="password" required>
<div class="invalid-feedback">$
{
msg
(
"errorNotValidPassword"
)}
</div>
</div>
<div class="form-group">
<label for="password-confirm">Confirm password</label>
<label for="password-confirm"
class="required"
>Confirm password</label>
<input id="password-confirm" type="password" class="form-control" name="password-confirm" required>
<div class="invalid-feedback">$
{
msg
(
"errorNotSamePassword"
)}
</div>
</div>
...
...
fairlogin/login/resources/css/my-login.css
View file @
58cc21b1
...
...
@@ -146,6 +146,11 @@ a:hover {
text-align
:
center
;
}
.required
::after
{
content
:
' *'
;
color
:
darkred
;
}
@media
screen
and
(
max-width
:
425px
)
{
.my-login-page
.card-wrapper
{
width
:
90%
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment