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
Jérome Perrin
gitlab-ce
Commits
da160819
Commit
da160819
authored
Feb 13, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add headings to signin/signup blocks on signin page.
parent
529188e4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
app/assets/stylesheets/sections/login.scss
app/assets/stylesheets/sections/login.scss
+1
-2
app/views/devise/shared/_signin_box.html.haml
app/views/devise/shared/_signin_box.html.haml
+6
-2
app/views/devise/shared/_signup_box.html.haml
app/views/devise/shared/_signup_box.html.haml
+6
-2
No files found.
app/assets/stylesheets/sections/login.scss
View file @
da160819
...
@@ -40,8 +40,7 @@
...
@@ -40,8 +40,7 @@
.login-heading
h3
{
.login-heading
h3
{
font-weight
:
300
;
font-weight
:
300
;
line-height
:
1
.5
;
line-height
:
1
.5
;
margin
:
0
;
margin
:
0
0
10px
0
;
display
:
none
;
}
}
.login-footer
{
.login-footer
{
...
...
app/views/devise/shared/_signin_box.html.haml
View file @
da160819
.login-box
.login-box
.login-heading
-
if
signup_enabled?
%h3
Sign in
.login-heading
%h3
Existing user? Sign in
-
else
.login-heading
%h3
Sign in
.login-body
.login-body
-
if
ldap_enabled?
-
if
ldap_enabled?
%ul
.nav.nav-tabs
%ul
.nav.nav-tabs
...
...
app/views/devise/shared/_signup_box.html.haml
View file @
da160819
.login-box
.login-box
.login-heading
-
if
signin_enabled?
%h3
Sign up
.login-heading
%h3
New user? Create an account
-
else
.login-heading
%h3
Create an account
.login-body
.login-body
=
form_for
(
resource
,
as:
resource_name
,
url:
registration_path
(
resource_name
))
do
|
f
|
=
form_for
(
resource
,
as:
resource_name
,
url:
registration_path
(
resource_name
))
do
|
f
|
.devise-errors
.devise-errors
...
...
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