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
7da7a790
Commit
7da7a790
authored
May 05, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move clone panel to sidebar
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
4adac0b4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+5
-5
app/views/projects/_aside.html.haml
app/views/projects/_aside.html.haml
+3
-2
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+2
-2
app/views/projects/empty.html.haml
app/views/projects/empty.html.haml
+2
-0
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
7da7a790
...
@@ -28,19 +28,19 @@
...
@@ -28,19 +28,19 @@
.project-identicon-holder
{
.project-identicon-holder
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
-20px
;
.avatar
{
.avatar
{
width
:
7
0px
;
width
:
6
0px
;
height
:
7
0px
;
height
:
6
0px
;
}
}
.identicon
{
.identicon
{
font-size
:
45
px
;
font-size
:
28
px
;
line-height
:
1
.6
;
line-height
:
60px
;
}
}
.avatar
,
.identicon
{
.avatar
,
.identicon
{
@include
border-radius
(
4px
);
box-shadow
:
0
1px
2px
#ddd
;
box-shadow
:
0
1px
2px
#ddd
;
}
}
}
}
...
...
app/views/projects/_aside.html.haml
View file @
7da7a790
...
@@ -34,8 +34,9 @@
...
@@ -34,8 +34,9 @@
=
render
'projects/repositories/download_archive'
,
split_button:
true
,
btn_class:
'btn-group-sm'
=
render
'projects/repositories/download_archive'
,
split_button:
true
,
btn_class:
'btn-group-sm'
-#%li
.append-bottom-20
%span.light.prepend-left-20= repository_size
=
render
"shared/clone_panel"
-
if
@project
.
archived?
-
if
@project
.
archived?
.alert.alert-warning
.alert.alert-warning
%h4
%h4
...
...
app/views/projects/_home_panel.html.haml
View file @
7da7a790
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
=
link_to
new_namespace_project_fork_path
(
@project
.
namespace
,
@project
),
title:
"Fork project"
,
class:
'btn btn-sm btn-default'
do
=
link_to
new_namespace_project_fork_path
(
@project
.
namespace
,
@project
),
title:
"Fork project"
,
class:
'btn btn-sm btn-default'
do
=
link_to_toggle_fork
=
link_to_toggle_fork
.project-home-row.hidden-xs
%hr
-#.project-home-row.hidden-xs
- if current_user && !empty_repo
- if current_user && !empty_repo
.project-home-dropdown
.project-home-dropdown
= render "dropdown"
= render "dropdown"
=
render
"shared/clone_panel"
app/views/projects/empty.html.haml
View file @
7da7a790
...
@@ -13,6 +13,8 @@
...
@@ -13,6 +13,8 @@
add a file
add a file
or do a push via the command line.
or do a push via the command line.
.well
=
render
"shared/clone_panel"
%h4
%h4
%strong
Command line instructions
%strong
Command line instructions
%div
.git-empty
%div
.git-empty
...
...
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