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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
05d76fc4
Commit
05d76fc4
authored
Jan 27, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bootstrap: login screen
parent
4d9c3f31
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
64 additions
and
63 deletions
+64
-63
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+1
-0
app/assets/stylesheets/dashboard.scss
app/assets/stylesheets/dashboard.scss
+0
-3
app/assets/stylesheets/login.scss
app/assets/stylesheets/login.scss
+41
-0
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+13
-11
app/assets/stylesheets/style.scss
app/assets/stylesheets/style.scss
+0
-41
app/views/dashboard/_sidebar.html.haml
app/views/dashboard/_sidebar.html.haml
+3
-2
app/views/devise/passwords/new.html.erb
app/views/devise/passwords/new.html.erb
+1
-1
app/views/devise/sessions/new.html.erb
app/views/devise/sessions/new.html.erb
+2
-2
app/views/devise/shared/_links.erb
app/views/devise/shared/_links.erb
+2
-2
app/views/layouts/devise.html.haml
app/views/layouts/devise.html.haml
+1
-1
No files found.
app/assets/stylesheets/common.scss
View file @
05d76fc4
...
...
@@ -120,6 +120,7 @@ $blue_link: "#2fa0bb";
@import
"issues.css.scss"
;
@import
"merge_requests.css.scss"
;
@import
"notes.css.scss"
;
@import
"login.scss"
;
//@import "style.scss";
...
...
app/assets/stylesheets/dashboard.scss
View file @
05d76fc4
.application
h2
.icon
span
{
background-position
:
9px
-69px
;
}
.application
header
{
margin-bottom
:
0
}
.application
.news-feed
{
margin-left
:
285px
;
min-height
:
600px
;
margin-top
:
20px
;
margin-right
:
2px
;
padding
:
20px
;}
.application
.application-content
{
position
:
relative
;
float
:
left
;
width
:
100%
;
height
:
100%
;
}
.application
.news-feed
h2
{
float
:
left
;}
...
...
@@ -7,7 +5,6 @@
body
.application
aside
{
min-height
:
820px
;
position
:
relative
;
top
:
0
;
bottom
:
0
;
right
:
0
;
width
:
260px
;
float
:
left
;
border-right
:
1px
solid
$border_color
;
padding
:
20px
;
padding-right
:
0
;
h4
{
margin
:
0
;
border-bottom
:
1px
solid
#ccc
;
padding
:
20px
20px
20px
0px
;
font-size
:
11px
;
font-weight
:
bold
;
text-transform
:
uppercase
;}
h4
a
.button-small
{
float
:
right
;
text-transform
:
none
;
border-radius
:
4px
;
margin-right
:
2%
;
margin-top
:
-4px
;
display
:
block
;}
.project-list
{
list-style
:
none
;
margin
:
0
;
padding
:
0
;}
.project-list
li
a
{
background
:
white
;
color
:
#{
$blue_link
}
;
display
:
block
;
border-bottom
:
1px
solid
$lite_border_color
;
padding
:
14px
6%
14px
0px
;}
.project-list
li
a
span
.project-name
{
font-size
:
14px
;
display
:
block
;
margin-bottom
:
8px
}
...
...
app/assets/stylesheets/login.scss
0 → 100644
View file @
05d76fc4
/* Login Page */
body
.login-page
{
padding-top
:
10%
}
.login-box
{
width
:
304px
;
position
:
relative
;
border-radius
:
5px
;
margin
:
auto
;
padding
:
20px
;
background
:
white
;
}
.login-box
.login-logo
{
margin
:
10px
0
30px
0
;
display
:
block
;
}
.login-box
input
.text
{
background-color
:
#f1f1f1
;
font-size
:
16px
;
border-radius
:
0
;
padding
:
14px
10px
;
width
:
280px
}
.login-box
input
.text.top
{
-webkit-border-top-left-radius
:
5px
;
-webkit-border-top-right-radius
:
5px
;
-moz-border-radius-topleft
:
5px
;
-moz-border-radius-topright
:
5px
;
border-top-left-radius
:
5px
;
border-top-right-radius
:
5px
;
}
.login-box
input
.text.bottom
{
-webkit-border-bottom-right-radius
:
5px
;
-webkit-border-bottom-left-radius
:
5px
;
-moz-border-radius-bottomright
:
5px
;
-moz-border-radius-bottomleft
:
5px
;
border-bottom-right-radius
:
5px
;
border-bottom-left-radius
:
5px
;
border-top
:
0
;
margin-bottom
:
20px
;
}
.login-box
a
.forgot
{
float
:
right
;
padding-top
:
6px
}
app/assets/stylesheets/projects.css.scss
View file @
05d76fc4
...
...
@@ -2,18 +2,20 @@
margin-right
:
50px
}
.sidebar
{
.fixed
{
position
:fixed
;
}
.project
{
.sidebar
{
.fixed
{
position
:fixed
;
}
aside
a
{
display
:block
;
position
:relative
;
padding
:
15px
10px
;
margin
:
10px
0
0
0
;
font-size
:
13px
;
font-weight
:bold
;
aside
a
{
display
:block
;
position
:relative
;
padding
:
15px
10px
;
margin
:
10px
0
0
0
;
font-size
:
13px
;
font-weight
:bold
;
}
}
}
.file_stats
{
...
...
app/assets/stylesheets/style.scss
View file @
05d76fc4
...
...
@@ -178,47 +178,6 @@ table thead .image{width:100px}
/* eo UI Box */
/* Login Page */
body
.login-page
{
background-color
:
#f1f1f1
;
padding-top
:
10%
}
.login-box
{
width
:
304px
;
position
:
relative
;
border-radius
:
5px
;
margin
:
auto
;
padding
:
20px
;
background
:
white
;
box-shadow
:
rgba
(
0
,
0
,
0
,
0
.07
)
0
1px
0
,
white
0
2px
0
,
rgba
(
0
,
0
,
0
,
0
.07
)
0
3px
0
,
white
0
4px
0
,
rgba
(
0
,
0
,
0
,
0
.07
)
0
5px
0
;
}
.login-box
.login-logo
{
margin
:
10px
0
30px
0
;
display
:
block
;
}
.login-box
input
.text
{
background-color
:
#f1f1f1
;
font-size
:
16px
;
border-radius
:
0
;
padding
:
14px
10px
;
width
:
280px
}
.login-box
input
.text.top
{
-webkit-border-top-left-radius
:
5px
;
-webkit-border-top-right-radius
:
5px
;
-moz-border-radius-topleft
:
5px
;
-moz-border-radius-topright
:
5px
;
border-top-left-radius
:
5px
;
border-top-right-radius
:
5px
;
}
.login-box
input
.text.bottom
{
-webkit-border-bottom-right-radius
:
5px
;
-webkit-border-bottom-left-radius
:
5px
;
-moz-border-radius-bottomright
:
5px
;
-moz-border-radius-bottomleft
:
5px
;
border-bottom-right-radius
:
5px
;
border-bottom-left-radius
:
5px
;
border-top
:
0
;
margin-bottom
:
20px
;
}
.login-box
a
.forgot
{
float
:
right
;
padding-top
:
6px
}
/* Icons */
.directory
,
.file
{
...
...
app/views/dashboard/_sidebar.html.haml
View file @
05d76fc4
%aside
%h4
-
if
current_user
.
can_create_project?
%a
.button-small.button-green
{
:href
=>
new_project_path
}
New Project
Your Projects
-
if
current_user
.
can_create_project?
=
link_to
new_project_path
,
:class
=>
"btn small"
do
New Project
%ol
.project-list
-
@projects
.
each
do
|
project
|
%li
...
...
app/views/devise/passwords/new.html.erb
View file @
05d76fc4
...
...
@@ -3,6 +3,6 @@
<%=
devise_error_messages!
%>
<%=
f
.
email_field
:email
,
:placeholder
=>
"Email"
,
:class
=>
"text top"
%>
<br/>
<%=
f
.
submit
"Reset password"
,
:class
=>
"
grey-butto
n"
%>
<%=
f
.
submit
"Reset password"
,
:class
=>
"
primary bt
n"
%>
<div
class=
"right"
>
<%=
render
:partial
=>
"devise/shared/links"
%>
</div>
<%
end
%>
app/views/devise/sessions/new.html.erb
View file @
05d76fc4
...
...
@@ -4,9 +4,9 @@
<%=
f
.
password_field
:password
,
:class
=>
"text bottom"
,
:placeholder
=>
"Password"
%>
<%
if
devise_mapping
.
rememberable?
-%>
<div
>
<%=
f
.
check_box
:remember_me
%>
<%=
f
.
label
:remember_me
%>
</div>
<div
class=
"clearfix"
>
<%=
f
.
label
:remember_me
%><%=
f
.
check_box
:remember_me
%>
</div>
<%
end
-%>
<br/>
<%=
f
.
submit
"Sign in"
,
:class
=>
"
grey-butto
n"
%>
<%=
f
.
submit
"Sign in"
,
:class
=>
"
primary bt
n"
%>
<div
class=
"right"
>
<%=
render
:partial
=>
"devise/shared/links"
%>
</div>
<%
end
%>
app/views/devise/shared/_links.erb
View file @
05d76fc4
<%-
if
controller_name
!=
'sessions'
%>
<%=
link_to
"Sign in"
,
new_session_path
(
resource_name
)
%>
<br
/>
<%=
link_to
"Sign in"
,
new_session_path
(
resource_name
)
,
:class
=>
"btn"
%>
<br
/>
<%
end
-%>
<%-
if
devise_mapping
.
registerable?
&&
controller_name
!=
'registrations'
%>
...
...
@@ -7,7 +7,7 @@
<%
end
-%>
<%-
if
devise_mapping
.
recoverable?
&&
controller_name
!=
'passwords'
%>
<%=
link_to
"Forgot your password?"
,
new_password_path
(
resource_name
)
%>
<br
/>
<%=
link_to
"Forgot your password?"
,
new_password_path
(
resource_name
),
:class
=>
"btn"
%>
<br
/>
<%
end
-%>
<%-
if
devise_mapping
.
confirmable?
&&
controller_name
!=
'confirmations'
%>
...
...
app/views/layouts/devise.html.haml
View file @
05d76fc4
...
...
@@ -13,4 +13,4 @@
REQ_REFFER = "
#{
request
.
env
[
"HTTP_REFERER"
]
}
";
%body
.login-page
=
render
:partial
=>
"layouts/flash"
=
yield
.container-fluid
=
yield
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