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
Kazuhiko Shiozaki
gitlab-ce
Commits
2ee8d5aa
Commit
2ee8d5aa
authored
Jan 06, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve project show page for ipad
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
a6da154e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
15 deletions
+19
-15
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+3
-1
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+14
-12
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+2
-2
No files found.
app/assets/stylesheets/sections/projects.scss
View file @
2ee8d5aa
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
.project-home-panel
{
.project-home-panel
{
border-bottom
:
1px
solid
#DDD
;
border-bottom
:
1px
solid
#DDD
;
padding-bottom
:
2
5px
;
padding-bottom
:
1
5px
;
margin-bottom
:
30px
;
margin-bottom
:
30px
;
&
.empty-project
{
&
.empty-project
{
...
@@ -41,12 +41,14 @@
...
@@ -41,12 +41,14 @@
.project-home-desc
{
.project-home-desc
{
float
:
left
;
float
:
left
;
color
:
#777
;
color
:
#777
;
margin-bottom
:
10px
;
}
}
.project-home-links
{
.project-home-links
{
float
:
right
;
float
:
right
;
a
{
a
{
margin-left
:
10px
;
margin-left
:
10px
;
font-weight
:
500
;
}
}
}
}
}
}
...
...
app/views/projects/_home_panel.html.haml
View file @
2ee8d5aa
...
@@ -14,8 +14,9 @@
...
@@ -14,8 +14,9 @@
.form-horizontal
.form-horizontal
=
render
"shared/clone_panel"
=
render
"shared/clone_panel"
.project-home-extra.clearfix.row
.project-home-extra.row
.project-home-desc.col-md-8
.col-md-8
.project-home-desc
-
if
@project
.
description
.
present?
-
if
@project
.
description
.
present?
=
@project
.
description
=
@project
.
description
-
if
can?
(
current_user
,
:admin_project
,
@project
)
-
if
can?
(
current_user
,
:admin_project
,
@project
)
...
@@ -23,6 +24,7 @@
...
@@ -23,6 +24,7 @@
%strong
=
link_to
'Edit'
,
edit_project_path
%strong
=
link_to
'Edit'
,
edit_project_path
-
unless
empty_repo
-
unless
empty_repo
.col-md-4
.project-home-links
.project-home-links
=
link_to
pluralize
(
@repository
.
round_commit_count
,
'commit'
),
project_commits_path
(
@project
,
@ref
||
@repository
.
root_ref
)
=
link_to
pluralize
(
@repository
.
round_commit_count
,
'commit'
),
project_commits_path
(
@project
,
@ref
||
@repository
.
root_ref
)
=
link_to
pluralize
(
@repository
.
branch_names
.
count
,
'branch'
),
project_branches_path
(
@project
)
=
link_to
pluralize
(
@repository
.
branch_names
.
count
,
'branch'
),
project_branches_path
(
@project
)
...
...
app/views/projects/show.html.haml
View file @
2ee8d5aa
=
render
"home_panel"
=
render
"home_panel"
.row
.row
.col-md-9
.hidden-sm
.col-md-9
=
render
"events/event_last_push"
,
event:
@last_push
=
render
"events/event_last_push"
,
event:
@last_push
=
render
'shared/event_filter'
=
render
'shared/event_filter'
.content_list
.content_list
.loading.hide
.loading.hide
.col-md-3.project-side
.col-md-3.project-side
.hidden-sm
.clearfix
.clearfix
-
if
@project
.
archived?
-
if
@project
.
archived?
.alert
.alert
...
...
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