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
Jérome Perrin
gitlab-ce
Commits
467d7f67
Commit
467d7f67
authored
May 29, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve UI of project sidebar
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
a3b60982
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+7
-2
app/views/layouts/_head_panel.html.haml
app/views/layouts/_head_panel.html.haml
+6
-6
app/views/projects/_aside.html.haml
app/views/projects/_aside.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
467d7f67
...
@@ -210,8 +210,13 @@ ul.nav.nav-projects-tabs {
...
@@ -210,8 +210,13 @@ ul.nav.nav-projects-tabs {
}
}
.panel
{
.panel
{
@include
border-radius
(
3px
);
.panel-heading
,
.panel-footer
{
.panel-heading
,
.panel-footer
{
background-color
:
#fcfcfc
;
font-weight
:
normal
;
background-color
:
transparent
;
color
:
#666
;
border-color
:
#EEE
;
}
}
.actions
{
.actions
{
...
@@ -225,7 +230,7 @@ ul.nav.nav-projects-tabs {
...
@@ -225,7 +230,7 @@ ul.nav.nav-projects-tabs {
}
}
.nav
{
.nav
{
margin-bottom
:
1
0
px
;
margin-bottom
:
1
5
px
;
}
}
}
}
...
...
app/views/layouts/_head_panel.html.haml
View file @
467d7f67
...
@@ -20,23 +20,23 @@
...
@@ -20,23 +20,23 @@
=
icon
(
'search'
)
=
icon
(
'search'
)
%li
%li
=
link_to
help_path
,
title:
'Help'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
link_to
help_path
,
title:
'Help'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'question-circle'
)
=
icon
(
'question-circle
fw
'
)
%li
%li
=
link_to
explore_root_path
,
title:
'Explore'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
link_to
explore_root_path
,
title:
'Explore'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'globe'
)
=
icon
(
'globe
fw
'
)
%li
%li
=
link_to
user_snippets_path
(
current_user
),
title:
'Your snippets'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
link_to
user_snippets_path
(
current_user
),
title:
'Your snippets'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'clipboard'
)
=
icon
(
'clipboard
fw
'
)
-
if
current_user
.
is_admin?
-
if
current_user
.
is_admin?
%li
%li
=
link_to
admin_root_path
,
title:
'Admin area'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
link_to
admin_root_path
,
title:
'Admin area'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'wrench'
)
=
icon
(
'wrench
fw
'
)
-
if
current_user
.
can_create_project?
-
if
current_user
.
can_create_project?
%li
%li
=
link_to
new_project_path
,
title:
'New project'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
link_to
new_project_path
,
title:
'New project'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'plus'
)
=
icon
(
'plus
fw
'
)
%li
%li
=
link_to
profile_path
,
title:
'Profile settings'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
link_to
profile_path
,
title:
'Profile settings'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'cog'
)
=
icon
(
'cog
fw
'
)
=
render
'shared/outdated_browser'
=
render
'shared/outdated_browser'
app/views/projects/_aside.html.haml
View file @
467d7f67
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
-
unless
@project
.
empty_repo?
-
unless
@project
.
empty_repo?
.panel.panel-default
.panel.panel-default
.panel-heading
.panel-heading
=
icon
(
"
archive
fw"
)
=
icon
(
"
folder-o
fw"
)
Repository
Repository
.panel-body
.panel-body
%ul
.nav.nav-pills
%ul
.nav.nav-pills
...
...
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