BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
e20dba02
Commit
e20dba02
authored
Jan 26, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redesign way how project avatar displayed on project page
parent
b926b023
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
projects.scss
app/assets/stylesheets/sections/projects.scss
+18
-4
_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+2
-1
No files found.
app/assets/stylesheets/sections/projects.scss
View file @
e20dba02
...
...
@@ -16,6 +16,8 @@
.project-home-panel
{
margin-bottom
:
15px
;
position
:
relative
;
padding-left
:
85px
;
&
.empty-project
{
border-bottom
:
0px
;
...
...
@@ -23,6 +25,22 @@
margin-bottom
:
0px
;
}
.project-identicon-holder
{
position
:
absolute
;
left
:
0
;
.avatar
{
width
:
70px
;
height
:
70px
;
@include
border-radius
(
0px
);
}
.identicon
{
font-size
:
45px
;
line-height
:
1
.6
;
}
}
.project-home-dropdown
{
margin-left
:
10px
;
float
:
right
;
...
...
@@ -36,10 +54,6 @@
float
:
left
;
color
:
#666
;
font-size
:
16px
;
.avatar
{
margin-top
:
-5px
;
}
}
.star-fork-buttons
{
...
...
app/views/projects/_home_panel.html.haml
View file @
e20dba02
-
empty_repo
=
@project
.
empty_repo?
.project-home-panel
{
:class
=>
(
"empty-project"
if
empty_repo
)}
.project-identicon-holder
=
project_icon
(
@project
.
to_param
,
alt:
''
,
class:
'avatar'
)
.project-home-row
.project-home-desc
=
project_icon
(
@project
.
to_param
,
alt:
''
,
class:
'avatar s32'
)
-
if
@project
.
description
.
present?
=
escaped_autolink
(
@project
.
description
)
-
if
can?
(
current_user
,
:admin_project
,
@project
)
...
...
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