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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
3f91da68
Commit
3f91da68
authored
Feb 18, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed widget counts, improved styles
parent
fa7bd43a
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
102 additions
and
80 deletions
+102
-80
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+5
-0
app/views/deploy_keys/_show.html.haml
app/views/deploy_keys/_show.html.haml
+12
-7
app/views/deploy_keys/index.html.haml
app/views/deploy_keys/index.html.haml
+2
-2
app/views/deploy_keys/new.html.haml
app/views/deploy_keys/new.html.haml
+2
-1
app/views/hooks/index.html.haml
app/views/hooks/index.html.haml
+9
-5
app/views/hooks/new.html.haml
app/views/hooks/new.html.haml
+5
-6
app/views/keys/_show.html.haml
app/views/keys/_show.html.haml
+13
-8
app/views/keys/index.html.haml
app/views/keys/index.html.haml
+3
-4
app/views/profile/password.html.haml
app/views/profile/password.html.haml
+3
-2
app/views/projects/_form.html.haml
app/views/projects/_form.html.haml
+1
-1
app/views/projects/files.html.haml
app/views/projects/files.html.haml
+11
-10
app/views/repositories/_feed.html.haml
app/views/repositories/_feed.html.haml
+10
-8
app/views/repositories/branches.html.haml
app/views/repositories/branches.html.haml
+1
-1
app/views/repositories/show.html.haml
app/views/repositories/show.html.haml
+5
-6
app/views/repositories/tags.html.haml
app/views/repositories/tags.html.haml
+10
-8
app/views/snippets/_snippet.html.haml
app/views/snippets/_snippet.html.haml
+4
-5
app/views/snippets/index.html.haml
app/views/snippets/index.html.haml
+1
-1
app/views/team_members/show.html.haml
app/views/team_members/show.html.haml
+2
-2
app/views/widgets/_project_member.html.haml
app/views/widgets/_project_member.html.haml
+3
-3
No files found.
app/assets/stylesheets/common.scss
View file @
3f91da68
...
@@ -268,6 +268,7 @@ img.lil_av {
...
@@ -268,6 +268,7 @@ img.lil_av {
.ui-box
{
.ui-box
{
margin-bottom
:
40px
;
margin-bottom
:
40px
;
@include
round-borders-all
(
4px
);
@include
round-borders-all
(
4px
);
border-color
:
#ddd
;
border-color
:
#ddd
;
...
@@ -322,3 +323,7 @@ img.lil_av {
...
@@ -322,3 +323,7 @@ img.lil_av {
width
:
20px
;
width
:
20px
;
}
}
}
}
.borders
{
border
:
1px
solid
#ccc
;
}
app/views/deploy_keys/_show.html.haml
View file @
3f91da68
%a
.update-item
{
:href
=>
project_deploy_key_path
(
key
.
project
,
key
)}
%tr
%span
.update-title
%td
%a
{
:href
=>
project_deploy_key_path
(
key
.
project
,
key
)}
=
key
.
title
=
key
.
title
%td
%span
.update-author
%span
.update-author
Added
Added
=
time_ago_in_words
(
key
.
created_at
)
=
time_ago_in_words
(
key
.
created_at
)
ago
ago
%td
=
link_to
'Remove'
,
project_deploy_key_path
(
key
.
project
,
key
),
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
,
:class
=>
"danger btn delete-key small"
app/views/deploy_keys/index.html.haml
View file @
3f91da68
...
@@ -5,6 +5,6 @@
...
@@ -5,6 +5,6 @@
=
link_to
new_project_deploy_key_path
(
@project
),
:class
=>
"btn small"
,
:title
=>
"New Deploy Key"
do
=
link_to
new_project_deploy_key_path
(
@project
),
:class
=>
"btn small"
,
:title
=>
"New Deploy Key"
do
Add Deploy Key
Add Deploy Key
%
ul
.unstyled
%
table
.zebra-striped.borders
-
@keys
.
each
do
|
key
|
-
@keys
.
each
do
|
key
|
%li
=
render
(
:partial
=>
'show'
,
:locals
=>
{
:key
=>
key
})
=
render
(
:partial
=>
'show'
,
:locals
=>
{
:key
=>
key
})
app/views/deploy_keys/new.html.haml
View file @
3f91da68
=
render
"repositories/head"
=
render
"repositories/head"
%h2
New Deploy key
%h3
New Deploy key
%hr
=
render
'form'
=
render
'form'
app/views/hooks/index.html.haml
View file @
3f91da68
...
@@ -6,13 +6,17 @@
...
@@ -6,13 +6,17 @@
=
link_to
new_project_hook_path
(
@project
),
:class
=>
"btn small"
,
:title
=>
"New Web Hook"
do
=
link_to
new_project_hook_path
(
@project
),
:class
=>
"btn small"
,
:title
=>
"New Web Hook"
do
Add Post Receive Hook
Add Post Receive Hook
%
ul
.unstyled
%
table
.zebra-striped.borders
-
@hooks
.
each
do
|
hook
|
-
@hooks
.
each
do
|
hook
|
%li
.wll
%tr
%td
=
link_to
project_hook_path
(
@project
,
hook
)
do
=
link_to
project_hook_path
(
@project
,
hook
)
do
=
hook
.
url
=
hook
.
url
%td
=
link_to
'Remove'
,
project_hook_path
(
@project
,
hook
),
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
,
:class
=>
"danger btn small"
.alert-message.block-message.info
.alert-message.block-message
We send some data with POST request when someone makes git push
We send some data with POST request when someone makes git push
.well
=
render
"data_ex"
.well
=
render
"data_ex"
app/views/hooks/new.html.haml
View file @
3f91da68
...
@@ -4,10 +4,9 @@
...
@@ -4,10 +4,9 @@
%ul
%ul
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
.clearfix
=
f
.
label
:url
,
"URL:"
=
f
.
label
:url
,
"URL:"
=
f
.
text_field
:url
,
:class
=>
"text_field"
.input
=
f
.
text_field
:url
,
:class
=>
"text_field"
.clear
.actions
%br
=
f
.
submit
"Save"
,
:class
=>
"btn"
.merge-tabs
=
f
.
submit
"Save"
,
:class
=>
"grey-button"
app/views/keys/_show.html.haml
View file @
3f91da68
%li
.wll
%tr
%td
=
link_to
key_path
(
key
)
do
=
link_to
key_path
(
key
)
do
%p
%p
%strong
=
key
.
title
%strong
=
key
.
title
%td
%span
.right.cgray
%span
.right.cgray
Added
Added
=
time_ago_in_words
(
key
.
created_at
)
=
time_ago_in_words
(
key
.
created_at
)
ago
ago
%td
=
link_to
'Remove'
,
key
,
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
,
:class
=>
"btn small danger delete-key right"
app/views/keys/index.html.haml
View file @
3f91da68
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
%hr
%hr
%div
#keys-table
%table
#keys-table
.zebra-striped.borders
%ul
.unstyled
-
@keys
.
each
do
|
key
|
-
@keys
.
each
do
|
key
|
=
render
(
:partial
=>
'show'
,
:locals
=>
{
:key
=>
key
})
=
render
(
:partial
=>
'show'
,
:locals
=>
{
:key
=>
key
})
app/views/profile/password.html.haml
View file @
3f91da68
...
@@ -2,9 +2,10 @@
...
@@ -2,9 +2,10 @@
%hr
%hr
=
form_for
@user
,
:url
=>
profile_password_path
,
:method
=>
:put
do
|
f
|
=
form_for
@user
,
:url
=>
profile_password_path
,
:method
=>
:put
do
|
f
|
.data
.data
.alert-message.block-message.warning
%p
After successfull password update you will be redirected to login page where you should login with new password
%p
After successfull password update you will be redirected to login page where you should login with new password
-
if
@user
.
errors
.
any?
-
if
@user
.
errors
.
any?
#error_explanation
.alert-message.block-message.error
%ul
%ul
-
@user
.
errors
.
full_messages
.
each
do
|
msg
|
-
@user
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/projects/_form.html.haml
View file @
3f91da68
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
=
f
.
label
:default_branch
,
"Default Branch"
=
f
.
label
:default_branch
,
"Default Branch"
.input
=
f
.
select
(
:default_branch
,
@project
.
heads
.
map
(
&
:name
),
{},
:style
=>
"width:210px;"
)
.input
=
f
.
select
(
:default_branch
,
@project
.
heads
.
map
(
&
:name
),
{},
:style
=>
"width:210px;"
)
.
well
.
alert-message.block-message.warning
%h5
Features
%h5
Features
.clearfix
.clearfix
...
...
app/views/projects/files.html.haml
View file @
3f91da68
=
render
"project_head"
=
render
"project_head"
-
unless
@notes
.
empty?
-
unless
@notes
.
empty?
%div
.update-data.ui-box.ui-box-small
%table
.zebra-striped.borders
.data
-
@notes
.
each
do
|
note
|
-
@notes
.
each
do
|
note
|
%a
.update-item
{
:href
=>
note
.
attachment
.
url
}
%tr
%td
%a
{
:href
=>
note
.
attachment
.
url
}
=
image_tag
gravatar_icon
(
note
.
author_email
),
:class
=>
"left"
,
:width
=>
16
=
image_tag
gravatar_icon
(
note
.
author_email
),
:class
=>
"left"
,
:width
=>
16
%span
.update-title
{
:style
=>
"margin-bottom:0px;"
}
=
note
.
attachment_identifier
=
note
.
attachment_identifier
%span
.update-author.right
%td
Added
Added
=
time_ago_in_words
(
note
.
created_at
)
=
time_ago_in_words
(
note
.
created_at
)
ago
ago
...
...
app/views/repositories/_feed.html.haml
View file @
3f91da68
-
commit
=
update
-
commit
=
update
.wll
%tr
%td
=
link_to
project_commits_path
(
@project
,
:ref
=>
commit
.
head
.
name
)
do
=
link_to
project_commits_path
(
@project
,
:ref
=>
commit
.
head
.
name
)
do
%p
%strong
%strong
.label
=
commit
.
head
.
name
=
commit
.
head
.
name
%br
%td
%div
%code
=
commit
.
id
.
to_s
[
0
..
10
]
%code
=
commit
.
id
.
to_s
[
0
..
10
]
=
image_tag
gravatar_icon
(
commit
.
author_email
),
:class
=>
""
,
:width
=>
16
=
image_tag
gravatar_icon
(
commit
.
author_email
),
:class
=>
""
,
:width
=>
16
=
truncate
(
commit
.
safe_message
,
:length
=>
40
)
=
truncate
(
commit
.
safe_message
,
:length
=>
40
)
%td
%span
.right.cgray
%span
.right.cgray
=
time_ago_in_words
(
commit
.
committed_date
)
=
time_ago_in_words
(
commit
.
committed_date
)
ago
ago
app/views/repositories/branches.html.haml
View file @
3f91da68
=
render
"repositories/branches_head"
=
render
"repositories/branches_head"
-
unless
@branches
.
empty?
-
unless
@branches
.
empty?
%table
%table
.zebra-striped.borders
%thead
%thead
%tr
%tr
%th
Name
%th
Name
...
...
app/views/repositories/show.html.haml
View file @
3f91da68
...
@@ -24,11 +24,10 @@
...
@@ -24,11 +24,10 @@
.ui-box
%h5
.cgray
%h5
.cgray
Recently updated branches
Recent Branches
%ul
.unstyled
%table
.zebra-striped.borders
-
@activities
.
each
do
|
update
|
-
@activities
.
each
do
|
update
|
=
render
"repositories/feed"
,
:update
=>
update
,
:project
=>
@project
=
render
"repositories/feed"
,
:update
=>
update
,
:project
=>
@project
app/views/repositories/tags.html.haml
View file @
3f91da68
=
render
"head"
=
render
"head"
-
unless
@tags
.
empty?
-
unless
@tags
.
empty?
%
ul
.unstyled
%
table
.zebra-striped.borders
-
@tags
.
each
do
|
tag
|
-
@tags
.
each
do
|
tag
|
%li
.wll
%tr
.span3.right
%td
-
if
can?
current_user
,
:download_code
,
@project
=
link_to
"Download"
,
archive_project_repository_path
(
@project
,
:ref
=>
tag
.
name
),
:class
=>
"btn small"
=
link_to
"Commits"
,
project_commits_path
(
@project
,
:ref
=>
tag
.
name
),
:class
=>
"btn small"
=
tag
.
name
=
tag
.
name
%code
=
tag
.
commit
.
id
.
to_s
[
0
..
10
]
%code
=
tag
.
commit
.
id
.
to_s
[
0
..
10
]
%span
.update-author.right
%span
.update-author.right
=
time_ago_in_words
(
tag
.
commit
.
committed_date
)
=
time_ago_in_words
(
tag
.
commit
.
committed_date
)
ago
ago
%td
-
if
can?
current_user
,
:download_code
,
@project
=
link_to
"Download"
,
archive_project_repository_path
(
@project
,
:ref
=>
tag
.
name
),
:class
=>
"btn small"
=
link_to
"Commits"
,
project_commits_path
(
@project
,
:ref
=>
tag
.
name
),
:class
=>
"btn small"
-
else
-
else
%h3
No tags
%h3
No tags
app/views/snippets/_snippet.html.haml
View file @
3f91da68
%li
.entry
%tr
%td
%a
{
:href
=>
project_snippet_path
(
snippet
.
project
,
snippet
)}
%a
{
:href
=>
project_snippet_path
(
snippet
.
project
,
snippet
)}
%p
%strong
=
truncate
(
snippet
.
title
,
:length
=>
60
)
=
truncate
(
snippet
.
title
,
:length
=>
60
)
%span
.right.cgray
%span
.right.cgray
=
snippet
.
file_name
=
snippet
.
file_name
app/views/snippets/index.html.haml
View file @
3f91da68
...
@@ -9,4 +9,4 @@
...
@@ -9,4 +9,4 @@
To add new snippet - click on button.
To add new snippet - click on button.
-
unless
@snippets
.
fresh
.
empty?
-
unless
@snippets
.
fresh
.
empty?
%
ul
.unstyled
=
render
@snippets
.
fresh
%
table
.zebra-striped.borders
=
render
@snippets
.
fresh
app/views/team_members/show.html.haml
View file @
3f91da68
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
=
link_to
team_project_path
(
@project
),
:class
=>
""
do
=
link_to
team_project_path
(
@project
),
:class
=>
""
do
←
To team list
←
To team list
%
h
r
%
b
r
%table
.
no-
borders
%table
.
zebra-striped.
borders
%tr
%tr
%td
Name
%td
Name
%td
=
user
.
name
%td
=
user
.
name
...
...
app/views/widgets/_project_member.html.haml
View file @
3f91da68
...
@@ -11,14 +11,14 @@
...
@@ -11,14 +11,14 @@
%p
%p
-
if
@project
.
issues_enabled
-
if
@project
.
issues_enabled
Assigned issues:
Assigned issues:
=
current_user
.
assigned_issues
.
count
=
current_user
.
assigned_issues
.
opened
.
count
%br
%br
-
if
@project
.
merge_requests_enabled
-
if
@project
.
merge_requests_enabled
Assigned merge request:
Assigned merge request:
=
current_user
.
assigned_merge_requests
.
count
=
current_user
.
assigned_merge_requests
.
opened
.
count
%br
%br
Your merge requests:
Your merge requests:
=
current_user
.
assigned_merge_requests
.
count
=
current_user
.
assigned_merge_requests
.
opened
.
count
.link_holder
.link_holder
=
link_to
project_team_member_path
(
@project
,
member
),
:title
=>
current_user
.
name
do
=
link_to
project_team_member_path
(
@project
,
member
),
:title
=>
current_user
.
name
do
=
"Access:
#{
member
.
project_access_human
}
»"
=
"Access:
#{
member
.
project_access_human
}
»"
...
...
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