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
Léo-Paul Géneau
gitlab-ce
Commits
9bf39477
Commit
9bf39477
authored
Oct 31, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
fb33ccd8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
19 deletions
+18
-19
app/assets/stylesheets/style.scss
app/assets/stylesheets/style.scss
+6
-6
app/views/layouts/_page_title.html.haml
app/views/layouts/_page_title.html.haml
+3
-2
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
+4
-7
app/views/projects/index.html.haml
app/views/projects/index.html.haml
+5
-4
No files found.
app/assets/stylesheets/style.scss
View file @
9bf39477
...
...
@@ -228,14 +228,14 @@ body.login-page{background-color: #f1f1f1; padding-top: 10%}
/* General */
/* Header */
header
{
background
:
#474D57
url('
../img/
bg-header.png')
repeat-x
bottom
;
z-index
:
10000
;
height
:
44px
;
padding
:
10px
2%
6px
2%
}
header
{
background
:
#474D57
url('bg-header.png')
repeat-x
bottom
;
z-index
:
10000
;
height
:
44px
;
padding
:
10px
2%
6px
2%
}
header
a
{
color
:
white
;
text-shadow
:
0
-1px
0
black
}
header
a
:hover
{
color
:
#f1f1f1
}
header
h1
{
width
:
65px
;
}
header
h1
.logo
{
background
:
url('
../img/
images.png')
no-repeat
-3px
-6px
;
background
:
url('images.png')
no-repeat
-3px
-6px
;
width
:
65px
;
height
:
26px
;
margin
:
5px
0
;
...
...
@@ -282,9 +282,9 @@ header nav a.admin{
border-top-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
}
header
nav
a
.dashboard
span
{
background
:
url('
../img/
images.png')
no-repeat
-161px
-4px
;
width
:
20px
;
height
:
20px
;
}
header
nav
a
.admin
span
{
background
:
url('
../img/
images.png')
no-repeat
-184px
-4px
;
width
:
20px
;
height
:
20px
;}
header
nav
a
.project
span
{
background
:
url('
../img/
images.png')
no-repeat
-209px
-5px
;
width
:
20px
;
height
:
18px
;
top
:
7px
}
header
nav
a
.dashboard
span
{
background
:
url('images.png')
no-repeat
-161px
-4px
;
width
:
20px
;
height
:
20px
;
}
header
nav
a
.admin
span
{
background
:
url('images.png')
no-repeat
-184px
-4px
;
width
:
20px
;
height
:
20px
;}
header
nav
a
.project
span
{
background
:
url('images.png')
no-repeat
-209px
-5px
;
width
:
20px
;
height
:
18px
;
top
:
7px
}
header
.login-top
{
float
:
right
;
width
:
180px
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
62
,
color-stop
(
0
.032
,
#464c56
)
,
to
(
#363c45
));
...
...
@@ -366,7 +366,7 @@ header a.arrow-up{
border-bottom
:
5px
solid
white
;
}
/* eo Account Box */
input
.search-input
{
float
:
right
;
text-shadow
:
none
;
width
:
216px
;
background-image
:
url('
../img/
icon-search.png')
;
background-repeat
:
no-repeat
;
background-position
:
10px
;
border-radius
:
100px
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,.
7
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,.
2
)
,
0
2px
2px
rgba
(
0
,
0
,
0
,.
4
)
inset
;
background-color
:
#D2D5DA
;
background-color
:
rgba
(
255
,
255
,
255
,.
5
);
padding
:
5px
;
padding-left
:
26px
;
margin-top
:
4px
;
margin-right
:
10px
}
input
.search-input
{
float
:
right
;
text-shadow
:
none
;
width
:
216px
;
background-image
:
url('icon-search.png')
;
background-repeat
:
no-repeat
;
background-position
:
10px
;
border-radius
:
100px
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,.
7
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,.
2
)
,
0
2px
2px
rgba
(
0
,
0
,
0
,.
4
)
inset
;
background-color
:
#D2D5DA
;
background-color
:
rgba
(
255
,
255
,
255
,.
5
);
padding
:
5px
;
padding-left
:
26px
;
margin-top
:
4px
;
margin-right
:
10px
}
input
.search-input
:focus
{
background-color
:
white
;
}
input
.
search-input
:
:-
webkit-input-placeholder
{
color
:
#666
}
/* eo Header */
...
...
app/views/layouts/_page_title.html.haml
View file @
9bf39477
-
if
content_for?
(
:page_title
)
=
yield
:page_title
-
else
.
page-title
.
grid-4
.container_3
%h1
=
controller
.
controller_name
.
capitalize
%h2
.icon
%span
=
controller
.
controller_name
.
capitalize
app/views/layouts/application.html.haml
View file @
9bf39477
...
...
@@ -17,16 +17,13 @@
%body
#thebody
#container
=
render
:partial
=>
"layouts/flash"
-
if
user_signed_in?
=
render
:partial
=>
"layouts/head_panel"
=
render
:partial
=>
"layouts/page_title"
=
render
:partial
=>
"layouts/head_panel"
%div
{
:id
=>
"main"
,
:role
=>
"main"
,
:class
=>
"container_4"
}
-
if
@project
&&
!
@project
.
new_record?
.top_bar.container
=
render
:partial
=>
"projects/top_menu"
-
if
[
"keys"
,
"profile"
].
include?
(
controller
.
controller_name
)
.top_bar.container
=
render
:partial
=>
"profile/top_menu"
-
if
admin_namespace?
.top_bar.container
=
render
:partial
=>
"admin/top_menu"
%div
{
:id
=>
"main"
,
:role
=>
"main"
,
:class
=>
"container_3"
}
#content-container
=
yield
=
render
:partial
=>
"layouts/page_title"
=
yield
app/views/projects/index.html.haml
View file @
9bf39477
-
content_for
(
:page_title
)
do
.
page-title
.container_3
.
grid-4
%h2
.icon
-
if
current_user
.
can_create_project?
%a
.grey-button
{
:href
=>
new_project_path
}
Create new project
%h1
Projects
%a
.grey-button.right
{
:href
=>
new_project_path
}
Create new project
%span
Projects
-
unless
@projects
.
empty?
%div
{
:class
=>
"tile"
,
:style
=>
view_mode_style
(
"tile"
)}
...
...
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