Commit b93c1a56 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Use same login layout between CE and EE versions

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a66d6a52
......@@ -6,11 +6,18 @@
}
.login-box{
max-width: 304px;
position: relative;
@include border-radius(5px);
margin: auto;
background: white;
padding: 20px;
background: #f5f5f5;
border: 1px solid #EEE;
}
.brand-image {
margin-bottom: 20px;
img {
max-width: 100%;
}
}
.login-logo{
......@@ -19,7 +26,7 @@
}
.form-control {
background-color: #f1f1f1;
background-color: #FFF;
font-size: 16px;
padding: 14px 10px;
width: 100%;
......
module BrandHelper
def brand_title
'GitLab Community Edition'
end
def brand_image
image_tag 'brand_logo.png'
end
def brand_text
default_text =<<eos
### GitLab is open source software to collaborate on code.
Manage git repositories with fine grained access controls that keep your code secure.
Perform code reviews and enhance collaboration with merge requests.
Each project can also have an issue tracker and a wiki.
Used by more than 50,000 organizations, GitLab is the most popular solution to manage git repositories on-premises.
Read more about GitLab at #{link_to "www.gitlab.com", "https://www.gitlab.com/", target: "_blank"}.
eos
markdown default_text
end
end
......@@ -5,13 +5,16 @@
= render "layouts/flash"
.container
.content
.center
%h1 GitLab
%p.light
GitLab is open source software to collaborate on code.
%br
Sign in or browse for #{link_to "public projects", public_projects_path}.
.login-title
%h1= brand_title
%hr
.container
.content
.row
.col-sm-7
.brand-image
= brand_image
.brand_text
= brand_text
.col-sm-5
= yield
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment