Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
0bd53709
Commit
0bd53709
authored
Nov 17, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Un-un-revert signin tab order fix.
parent
2488bff8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
25 deletions
+2
-25
app/assets/stylesheets/pages/login.scss
app/assets/stylesheets/pages/login.scss
+0
-23
app/views/devise/sessions/_new_base.html.haml
app/views/devise/sessions/_new_base.html.haml
+2
-2
No files found.
app/assets/stylesheets/pages/login.scss
View file @
0bd53709
...
...
@@ -255,26 +255,3 @@
}
}
// For sign in pane only, to improve tab order, the following removes the submit button from
// normal document flow and pins it to the bottom of the form. For context, see !6867 & !6928
.login-box
{
.new_user
{
position
:
relative
;
padding-bottom
:
35px
;
@media
(
min-width
:
$screen-sm-min
)
and
(
max-width
:
$screen-sm-max
)
{
.forgot-password
{
float
:
none
!
important
;
margin-top
:
5px
;
}
}
}
.move-submit-down
{
position
:
absolute
;
width
:
100%
;
bottom
:
0
;
}
}
app/views/devise/sessions/_new_base.html.haml
View file @
0bd53709
...
...
@@ -5,8 +5,6 @@
%div
.form-group
=
f
.
label
:password
=
f
.
password_field
:password
,
class:
"form-control bottom"
,
required:
true
,
title:
"This field is required."
%div
.submit-container.move-submit-down
=
f
.
submit
"Sign in"
,
class:
"btn btn-save"
-
if
devise_mapping
.
rememberable?
.remember-me.checkbox
%label
{
for:
"user_remember_me"
}
...
...
@@ -14,3 +12,5 @@
%span
Remember me
.pull-right.forgot-password
=
link_to
"Forgot your password?"
,
new_password_path
(
resource_name
)
%div
.submit-container.move-submit-down
=
f
.
submit
"Sign in"
,
class:
"btn btn-save"
Write
Preview
Markdown
is supported
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