Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Memorekall Member New
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rekall
Memorekall Member New
Commits
ce33a8a0
Commit
ce33a8a0
authored
Jan 31, 2022
by
Camille Simiand
Browse files
Options
Downloads
Patches
Plain Diff
Fix Login and Register page responsivity
parent
aa35f460
No related branches found
No related tags found
1 merge request
!45
tuleap-81-allow-a-new-user-to-access-the-capsule-edition-mode
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/registration/register.html.twig
+7
-7
7 additions, 7 deletions
templates/registration/register.html.twig
templates/security/login.html.twig
+5
-5
5 additions, 5 deletions
templates/security/login.html.twig
with
12 additions
and
12 deletions
templates/registration/register.html.twig
+
7
−
7
View file @
ce33a8a0
...
@@ -11,14 +11,14 @@
...
@@ -11,14 +11,14 @@
{%
endfor
%}
{%
endfor
%}
{{
form_start
(
registrationForm
,
{
'attr'
:
{
novalidate
:
'novalidate'
,
'class'
:
'd-flex flex-column justify-content-center'
}}
) }}
{{
form_start
(
registrationForm
,
{
'attr'
:
{
novalidate
:
'novalidate'
,
'class'
:
'd-flex flex-column justify-content-center'
}}
) }}
{{
form_row
(
registrationForm.firstName
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-
6
'
}}
) }}
{{
form_row
(
registrationForm.firstName
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-
12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5
'
}}
) }}
{{
form_row
(
registrationForm.lastName
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-
6
'
}}
) }}
{{
form_row
(
registrationForm.lastName
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-
12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5
'
}}
) }}
{{
form_row
(
registrationForm.email
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-
6
'
}}
) }}
{{
form_row
(
registrationForm.email
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-
12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5
'
}}
) }}
{{
form_row
(
registrationForm.plainPassword.first
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-
6
'
}}
) }}
{{
form_row
(
registrationForm.plainPassword.first
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-
12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5
'
}}
) }}
{{
form_row
(
registrationForm.plainPassword.second
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-
6
'
}}
) }}
{{
form_row
(
registrationForm.plainPassword.second
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-
12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5
'
}}
) }}
{{
form_row
(
registrationForm.captcha
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-5 col-
6
'
}}
) }}
{{
form_row
(
registrationForm.captcha
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-5 col-
12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5
'
}}
) }}
{{
form_row
(
registrationForm.agreeTerms
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-auto justify-content-center'
}
,
'label_attr'
:
{
'class'
:
'ms-3'
}}
) }}
{{
form_row
(
registrationForm.agreeTerms
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-4 col-auto justify-content-center'
}
,
'label_attr'
:
{
'class'
:
'ms-3'
}}
) }}
{{
form_row
(
registrationForm.submit
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-5
col-2
'
}}
) }}
{{
form_row
(
registrationForm.submit
,
{
'row_attr'
:
{
'class'
:
'form-group d-flex flex-column m-auto mb-5'
}}
) }}
{{
form_end
(
registrationForm
)
}}
{{
form_end
(
registrationForm
)
}}
</div>
</div>
{%
endblock
%}
{%
endblock
%}
This diff is collapsed.
Click to expand it.
templates/security/login.html.twig
+
5
−
5
View file @
ce33a8a0
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
{%
endblock
%}
{%
endblock
%}
{%
block
body
%}
{%
block
body
%}
<form
method=
"post"
class=
"d-flex flex-column justify-content-center"
>
{%
if
error
%}
{%
if
error
%}
<div
class=
"alert alert-danger col-6 m-auto"
>
{{
error.messageKey
|
trans
(
error.messageData
,
'security'
)
}}
</div>
<div
class=
"alert alert-danger col-6 m-auto"
>
{{
error.messageKey
|
trans
(
error.messageData
,
'security'
)
}}
</div>
{%
endif
%}
{%
endif
%}
...
@@ -13,13 +12,14 @@
...
@@ -13,13 +12,14 @@
<div
class=
"text-center alert alert-warning col-6 m-auto"
role=
"alert"
>
{{
flashMessage
}}
</div>
<div
class=
"text-center alert alert-warning col-6 m-auto"
role=
"alert"
>
{{
flashMessage
}}
</div>
{%
endfor
%}
{%
endfor
%}
<div
class=
"form-group d-flex flex-column m-auto mb-4 mt-4 col-6"
>
<form
method=
"post"
class=
"d-flex flex-column justify-content-center"
>
<div
class=
"form-group d-flex flex-column m-auto mb-4 mt-4 col-12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5"
>
<label
for=
"inputEmail"
class=
"form-label"
>
<label
for=
"inputEmail"
class=
"form-label"
>
{{
'general.email'
|
trans
}}
{{
'general.email'
|
trans
}}
</label>
</label>
<input
type=
"email"
value=
"
{{
last_username
}}
"
name=
"email"
id=
"inputEmail"
class=
"form-control"
autocomplete=
"email"
required
autofocus
>
<input
type=
"email"
value=
"
{{
last_username
}}
"
name=
"email"
id=
"inputEmail"
class=
"form-control"
autocomplete=
"email"
required
autofocus
>
</div>
</div>
<div
class=
"form-group d-flex flex-column m-auto mb-4 col-
6
"
>
<div
class=
"form-group d-flex flex-column m-auto mb-4 col-
12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5
"
>
<label
for=
"inputPassword"
class=
"form-label"
>
<label
for=
"inputPassword"
class=
"form-label"
>
{{
'general.password'
|
trans
}}
{{
'general.password'
|
trans
}}
</label>
</label>
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
{{
'login.forgot_password_link'
|
trans
}}
{{
'login.forgot_password_link'
|
trans
}}
</a>
</a>
<button
class=
"btn btn-primary
col-2
m-auto mt-4"
type=
"submit"
>
<button
class=
"btn btn-primary m-auto mt-4"
type=
"submit"
>
{{
'login.log_in'
|
trans
}}
{{
'login.log_in'
|
trans
}}
</button>
</button>
</form>
</form>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment