Skip to content
Snippets Groups Projects
Verified Commit b93c1a56 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Use same login layout between CE and EE versions

parent a66d6a52
Branches
Tags
No related merge requests found
app/assets/images/brand_logo.png

62.1 KiB

Loading
Loading
@@ -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{
Loading
Loading
@@ -19,7 +26,7 @@
}
 
.form-control {
background-color: #f1f1f1;
background-color: #FFF;
font-size: 16px;
padding: 14px 10px;
width: 100%;
Loading
Loading
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
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment