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
iv
gitlab-ce
Commits
d44f6974
Commit
d44f6974
authored
Sep 03, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
parents
aaef30aa
ae7fd8b2
Changes
37
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
208 additions
and
174 deletions
+208
-174
app/assets/javascripts/activities.js.coffee
app/assets/javascripts/activities.js.coffee
+1
-1
app/assets/stylesheets/base/gl_variables.scss
app/assets/stylesheets/base/gl_variables.scss
+20
-7
app/assets/stylesheets/base/layout.scss
app/assets/stylesheets/base/layout.scss
+0
-1
app/assets/stylesheets/base/mixins.scss
app/assets/stylesheets/base/mixins.scss
+6
-3
app/assets/stylesheets/base/variables.scss
app/assets/stylesheets/base/variables.scss
+9
-8
app/assets/stylesheets/generic/blocks.scss
app/assets/stylesheets/generic/blocks.scss
+21
-3
app/assets/stylesheets/generic/buttons.scss
app/assets/stylesheets/generic/buttons.scss
+16
-0
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+7
-9
app/assets/stylesheets/generic/lists.scss
app/assets/stylesheets/generic/lists.scss
+24
-11
app/assets/stylesheets/generic/selects.scss
app/assets/stylesheets/generic/selects.scss
+4
-4
app/assets/stylesheets/generic/sidebar.scss
app/assets/stylesheets/generic/sidebar.scss
+1
-2
app/assets/stylesheets/generic/typography.scss
app/assets/stylesheets/generic/typography.scss
+5
-0
app/assets/stylesheets/pages/commit.scss
app/assets/stylesheets/pages/commit.scss
+0
-4
app/assets/stylesheets/pages/commits.scss
app/assets/stylesheets/pages/commits.scss
+3
-3
app/assets/stylesheets/pages/dashboard.scss
app/assets/stylesheets/pages/dashboard.scss
+1
-1
app/assets/stylesheets/pages/events.scss
app/assets/stylesheets/pages/events.scss
+31
-51
app/assets/stylesheets/pages/issues.scss
app/assets/stylesheets/pages/issues.scss
+1
-1
app/assets/stylesheets/pages/merge_requests.scss
app/assets/stylesheets/pages/merge_requests.scss
+1
-1
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+4
-15
app/assets/stylesheets/pages/tree.scss
app/assets/stylesheets/pages/tree.scss
+3
-3
app/assets/stylesheets/themes/gitlab-theme.scss
app/assets/stylesheets/themes/gitlab-theme.scss
+4
-0
app/helpers/events_helper.rb
app/helpers/events_helper.rb
+4
-6
app/views/dashboard/_activities.html.haml
app/views/dashboard/_activities.html.haml
+2
-2
app/views/dashboard/groups/index.html.haml
app/views/dashboard/groups/index.html.haml
+6
-4
app/views/events/_commit.html.haml
app/views/events/_commit.html.haml
+1
-1
app/views/events/_event.html.haml
app/views/events/_event.html.haml
+2
-2
app/views/explore/groups/index.html.haml
app/views/explore/groups/index.html.haml
+3
-3
app/views/explore/projects/_filter.html.haml
app/views/explore/projects/_filter.html.haml
+1
-1
app/views/explore/projects/index.html.haml
app/views/explore/projects/index.html.haml
+1
-2
app/views/explore/projects/starred.html.haml
app/views/explore/projects/starred.html.haml
+5
-3
app/views/explore/projects/trending.html.haml
app/views/explore/projects/trending.html.haml
+11
-9
app/views/groups/_projects.html.haml
app/views/groups/_projects.html.haml
+1
-1
app/views/layouts/header/_public.html.haml
app/views/layouts/header/_public.html.haml
+1
-1
app/views/projects/_activity.html.haml
app/views/projects/_activity.html.haml
+1
-2
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+3
-3
app/views/shared/_event_filter.html.haml
app/views/shared/_event_filter.html.haml
+1
-1
app/views/shared/groups/_group.html.haml
app/views/shared/groups/_group.html.haml
+3
-5
No files found.
app/assets/javascripts/activities.js.coffee
View file @
d44f6974
class
@
Activities
class
@
Activities
constructor
:
->
constructor
:
->
Pager
.
init
20
,
true
Pager
.
init
20
,
true
$
(
".event
_filter_link
"
).
bind
"click"
,
(
event
)
=>
$
(
".event
-filter .btn
"
).
bind
"click"
,
(
event
)
=>
event
.
preventDefault
()
event
.
preventDefault
()
@
toggleFilter
(
$
(
event
.
currentTarget
))
@
toggleFilter
(
$
(
event
.
currentTarget
))
@
reloadActivities
()
@
reloadActivities
()
...
...
app/assets/stylesheets/base/gl_variables.scss
View file @
d44f6974
...
@@ -42,17 +42,18 @@ $font-size-base: $gl-font-size;
...
@@ -42,17 +42,18 @@ $font-size-base: $gl-font-size;
//
//
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
$padding-base-vertical
:
6px
;
$padding-base-vertical
:
9px
;
$padding-base-horizontal
:
14px
;
$padding-base-horizontal
:
18px
;
$component-active-color
:
#fff
;
$component-active-bg
:
$brand-info
;
//== Forms
//== Forms
//
//
//##
//##
$input-color
:
$text-color
;
$input-color
:
$text-color
;
$input-border
:
#
DDD
;
$input-border
:
#
e7e9ed
;
$input-border-focus
:
$brand-info
;
$input-border-focus
:
#7F8FA4
;
$legend-color
:
$text-color
;
$legend-color
:
$text-color
;
...
@@ -111,8 +112,8 @@ $alert-border-radius: 0;
...
@@ -111,8 +112,8 @@ $alert-border-radius: 0;
$panel-border-radius
:
0
;
$panel-border-radius
:
0
;
$panel-default-text
:
$text-color
;
$panel-default-text
:
$text-color
;
$panel-default-border
:
$border-color
;
$panel-default-border
:
#E7E9ED
;
$panel-default-heading-bg
:
$background-color
;
$panel-default-heading-bg
:
#F8FAFC
;
//== Wells
//== Wells
...
@@ -131,3 +132,15 @@ $code-bg: #f9f2f4;
...
@@ -131,3 +132,15 @@ $code-bg: #f9f2f4;
$kbd-color
:
#fff
;
$kbd-color
:
#fff
;
$kbd-bg
:
#333
;
$kbd-bg
:
#333
;
//== Buttons
//
//##
$btn-default-color
:
#7f8fa4
;
$btn-default-bg
:
#fff
;
$btn-default-border
:
#e7e9ed
;
//== Nav
//
//##
$nav-link-padding
:
13px
18px
;
app/assets/stylesheets/base/layout.scss
View file @
d44f6974
...
@@ -21,7 +21,6 @@ html {
...
@@ -21,7 +21,6 @@ html {
margin-top
:
30px
;
margin-top
:
30px
;
}
}
.container-limited
{
.container-limited
{
max-width
:
$fixed-layout-width
;
max-width
:
$fixed-layout-width
;
}
}
app/assets/stylesheets/base/mixins.scss
View file @
d44f6974
...
@@ -55,8 +55,11 @@
...
@@ -55,8 +55,11 @@
}
}
@mixin
md-typography
{
@mixin
md-typography
{
font-size
:
15px
;
color
:
#444
;
line-height
:
1
.5
;
a
{
color
:
#3084bb
;
}
img
{
img
{
max-width
:
100%
;
max-width
:
100%
;
...
@@ -190,7 +193,7 @@
...
@@ -190,7 +193,7 @@
&
.light
{
&
.light
{
a
{
a
{
color
:
#777
;
color
:
$gl-gray
;
}
}
}
}
}
}
...
...
app/assets/stylesheets/base/variables.scss
View file @
d44f6974
$style_color
:
#474D57
;
$hover
:
#FFFAF1
;
$hover
:
#FFFAF1
;
$gl-text-color
:
#222222
;
$gl-text-color
:
#54565b
;
$gl-link-color
:
#446e9b
;
$gl-header-color
:
#4c4e54
;
$gl-link-color
:
#333c48
;
$nprogress-color
:
#c0392b
;
$nprogress-color
:
#c0392b
;
$gl-font-size
:
1
4
px
;
$gl-font-size
:
1
6
px
;
$list-font-size
:
1
5
px
;
$list-font-size
:
1
6
px
;
$sidebar_collapsed_width
:
62px
;
$sidebar_collapsed_width
:
62px
;
$sidebar_width
:
230px
;
$sidebar_width
:
230px
;
$avatar_radius
:
50%
;
$avatar_radius
:
50%
;
$code_font_size
:
13px
;
$code_font_size
:
13px
;
$code_line_height
:
1
.5
;
$code_line_height
:
1
.5
;
$border-color
:
#E
5E5E5
;
$border-color
:
#E
7E9ED
;
$background-color
:
#
f5f5f5
;
$background-color
:
#
F8FAFC
;
$header-height
:
73px
;
$header-height
:
73px
;
$fixed-layout-width
:
1200px
;
$fixed-layout-width
:
1200px
;
$gl-gray
:
#7f8fa4
;
/*
/*
...
@@ -21,7 +22,7 @@ $fixed-layout-width: 1200px;
...
@@ -21,7 +22,7 @@ $fixed-layout-width: 1200px;
*/
*/
$gl-primary
:
#446e9b
;
$gl-primary
:
#446e9b
;
$gl-success
:
#44c679
;
$gl-success
:
#44c679
;
$gl-info
:
#0
29ACF
;
$gl-info
:
#0
0aaff
;
$gl-warning
:
#EB9532
;
$gl-warning
:
#EB9532
;
$gl-danger
:
#d9534f
;
$gl-danger
:
#d9534f
;
...
...
app/assets/stylesheets/generic/blocks.scss
View file @
d44f6974
.light-well
{
.light-well
{
background
:
#f9f9f9
;
background
-color
:
#f8fafc
;
padding
:
15px
;
padding
:
15px
;
}
}
.centered-light-block
{
.centered-light-block
{
text-align
:
center
;
text-align
:
center
;
color
:
#888
;
color
:
$gl-gray
;
margin
:
20px
;
margin
:
20px
;
}
}
.nothing-here-block
{
.nothing-here-block
{
text-align
:
center
;
text-align
:
center
;
padding
:
20px
;
padding
:
20px
;
color
:
#666
;
color
:
$gl-gray
;
font-weight
:
normal
;
font-weight
:
normal
;
font-size
:
16px
;
font-size
:
16px
;
line-height
:
36px
;
line-height
:
36px
;
}
}
.gray-content-block
{
margin
:
-18px
;
background-color
:
#f8fafc
;
padding
:
18px
;
margin-bottom
:
0px
;
border-top
:
1px
solid
#e7e9ed
;
border-bottom
:
1px
solid
#e7e9ed
;
color
:
$gl-gray
;
.title
{
color
:
$gl-text-color
;
}
.oneline
{
line-height
:
44px
;
}
}
app/assets/stylesheets/generic/buttons.scss
View file @
d44f6974
...
@@ -72,3 +72,19 @@
...
@@ -72,3 +72,19 @@
}
}
}
}
}
}
.btn-group-next
{
.btn
{
padding
:
9px
0px
;
font-size
:
15px
;
color
:
#7f8fa4
;
border-color
:
#e7e9ed
;
width
:
140px
;
&
.active
{
border-color
:
$gl-info
;
background
:
$gl-info
;
color
:
#fff
;
}
}
}
app/assets/stylesheets/generic/common.scss
View file @
d44f6974
/** COLORS **/
/** COLORS **/
.cgray
{
color
:
gray
}
.cgray
{
color
:
$gl-gray
;
}
.clgray
{
color
:
#BBB
}
.clgray
{
color
:
#BBB
}
.cred
{
color
:
#D12F19
}
.cred
{
color
:
#D12F19
}
.cgreen
{
color
:
#4a2
}
.cgreen
{
color
:
#4a2
}
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
.underlined-link
{
text-decoration
:
underline
;
}
.underlined-link
{
text-decoration
:
underline
;
}
.hint
{
font-style
:
italic
;
color
:
#999
;
}
.hint
{
font-style
:
italic
;
color
:
#999
;
}
.light
{
color
:
#888
}
.light
{
color
:
$gl-gray
;
}
.slead
{
.slead
{
color
:
#666
;
color
:
$gl-gray
;
font-size
:
15px
;
font-size
:
15px
;
margin-bottom
:
12px
;
margin-bottom
:
12px
;
font-weight
:
normal
;
font-weight
:
normal
;
...
@@ -74,8 +74,6 @@ pre {
...
@@ -74,8 +74,6 @@ pre {
color
:
$gl-link-color
;
color
:
$gl-link-color
;
}
}
.help
li
{
color
:
$style_color
;
}
.back-link
{
.back-link
{
font-size
:
14px
;
font-size
:
14px
;
}
}
...
@@ -303,7 +301,7 @@ table {
...
@@ -303,7 +301,7 @@ table {
}
}
.btn-sign-in
{
.btn-sign-in
{
margin-top
:
7
px
;
margin-top
:
15
px
;
text-shadow
:
none
;
text-shadow
:
none
;
}
}
...
@@ -376,10 +374,10 @@ table {
...
@@ -376,10 +374,10 @@ table {
list-style
:
none
;
list-style
:
none
;
text-align
:
center
;
text-align
:
center
;
margin-top
:
5px
;
margin-top
:
5px
;
margin-bottom
:
1
2
px
;
margin-bottom
:
1
8
px
;
height
:
60px
;
height
:
60px
;
margin-top
:
-1
5
px
;
margin-top
:
-1
8
px
;
padding-top
:
1
5
px
;
padding-top
:
1
8
px
;
li
{
li
{
display
:
inline-block
;
display
:
inline-block
;
...
...
app/assets/stylesheets/generic/lists.scss
View file @
d44f6974
...
@@ -49,8 +49,6 @@
...
@@ -49,8 +49,6 @@
}
}
}
}
.author
{
color
:
#999
;
}
.list-item-name
{
.list-item-name
{
float
:
left
;
float
:
left
;
position
:
relative
;
position
:
relative
;
...
@@ -71,15 +69,6 @@
...
@@ -71,15 +69,6 @@
font-size
:
$list-font-size
;
font-size
:
$list-font-size
;
line-height
:
18px
;
line-height
:
18px
;
}
}
.row_title
{
color
:
$gray-dark
;
&
:hover
{
color
:
$text-color
;
text-decoration
:
underline
;
}
}
}
}
}
}
...
@@ -109,3 +98,27 @@ ul.bordered-list {
...
@@ -109,3 +98,27 @@ ul.bordered-list {
li
.task-list-item
{
li
.task-list-item
{
list-style-type
:
none
;
list-style-type
:
none
;
}
}
ul
.content-list
{
@include
basic-list
;
margin
:
0
;
padding
:
0
;
li
{
padding
:
18px
;
border-color
:
#f1f2f4
;
margin
:
0
-18px
;
color
:
$gl-gray
;
.avatar
{
margin-right
:
15px
;
}
.controls
{
padding-top
:
10px
;
float
:
right
;
}
}
}
app/assets/stylesheets/generic/selects.scss
View file @
d44f6974
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
.select2-choice
{
.select2-choice
{
background
:
#FFF
;
background
:
#FFF
;
border-color
:
#DDD
;
border-color
:
#DDD
;
height
:
34
px
;
height
:
42
px
;
padding
:
6px
14
px
;
padding
:
8px
18
px
;
font-size
:
14px
;
font-size
:
$gl-font-size
;
line-height
:
1
.42857143
;
line-height
:
1
.42857143
;
@include
border-radius
(
4px
);
@include
border-radius
(
4px
);
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
.select2-arrow
{
.select2-arrow
{
background
:
#FFF
;
background
:
#FFF
;
border-left
:
none
;
border-left
:
none
;
padding-top
:
3
px
;
padding-top
:
5
px
;
}
}
}
}
}
}
...
...
app/assets/stylesheets/generic/sidebar.scss
View file @
d44f6974
...
@@ -25,8 +25,7 @@
...
@@ -25,8 +25,7 @@
.container-fluid
{
.container-fluid
{
background
:
#FFF
;
background
:
#FFF
;
padding-top
:
15px
;
padding
:
18px
;
padding-bottom
:
15px
;
border
:
1px
solid
#e7e9ed
;
border
:
1px
solid
#e7e9ed
;
min-height
:
90vh
;
min-height
:
90vh
;
}
}
...
...
app/assets/stylesheets/generic/typography.scss
View file @
d44f6974
...
@@ -9,6 +9,11 @@
...
@@ -9,6 +9,11 @@
margin-bottom
:
5px
;
margin-bottom
:
5px
;
}
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
$gl-header-color
;
font-weight
:
500
;
}
/** CODE **/
/** CODE **/
pre
{
pre
{
font-family
:
$monospace_font
;
font-family
:
$monospace_font
;
...
...
app/assets/stylesheets/pages/commit.scss
View file @
d44f6974
...
@@ -61,10 +61,6 @@
...
@@ -61,10 +61,6 @@
}
}
}
}
.file-stats
a
{
color
:
$style_color
;
}
.file-stats
{
.file-stats
{
.new-file
{
.new-file
{
a
{
a
{
...
...
app/assets/stylesheets/pages/commits.scss
View file @
d44f6974
...
@@ -52,7 +52,7 @@ li.commit {
...
@@ -52,7 +52,7 @@ li.commit {
}
}
.commit-row-message
{
.commit-row-message
{
color
:
#444
;
color
:
$gl-link-color
;
&
:hover
{
&
:hover
{
text-decoration
:
underline
;
text-decoration
:
underline
;
...
@@ -88,12 +88,12 @@ li.commit {
...
@@ -88,12 +88,12 @@ li.commit {
}
}
.commit-row-info
{
.commit-row-info
{
color
:
#777
;
color
:
$gl-gray
;
line-height
:
24px
;
line-height
:
24px
;
font-size
:
13px
;
font-size
:
13px
;
a
{
a
{
color
:
#777
;
color
:
$gl-gray
;
}
}
.committed_ago
{
.committed_ago
{
...
...
app/assets/stylesheets/pages/dashboard.scss
View file @
d44f6974
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.side
{
.side
{
.panel
{
.panel
{
.panel-heading
{
.panel-heading
{
background
:
#EEE
;
background
:
$background-color
;
border-top-left-radius
:
0
;
border-top-left-radius
:
0
;
}
}
border-top-left-radius
:
0
;
border-top-left-radius
:
0
;
...
...
app/assets/stylesheets/pages/events.scss
View file @
d44f6974
/**
* Events labels
*
*/
.event_label
{
&
.pushed
{
padding
:
0
2px
;
}
&
.opened
{
padding
:
0
2px
;
}
&
.closed
{
padding
:
0
2px
;
}
&
.merged
{
padding
:
0
2px
;
}
&
.left
,
&
.joined
{
padding
:
0
2px
;
float
:
none
;
}
}
/**
/**
* Dashboard events feed
* Dashboard events feed
*
*
*/
*/
.event-item
{
.event-item
{
&
:first-child
{
font-size
:
16px
;
padding-top
:
0
;
padding
:
18px
;
}
margin
:
0
-18px
;
border-bottom
:
1px
solid
#f1f2f4
;
color
:
#7f8fa4
;
&
.event-inline
{
&
.event-inline
{
.avatar
{
.avatar
{
position
:
relative
;
position
:
relative
;
top
:
-2px
;
top
:
-2px
;
}
}
.event-title
{
line-height
:
44px
;
}
.event-item-timestamp
{
line-height
:
44px
;
}
}
a
{
color
:
#4c4e54
;
}
.avatar
{
margin-right
:
15px
;
}
}
padding
:
12px
0px
;
border-bottom
:
1px
solid
#eee
;
.event-title
{
.event-title
{
max-width
:
70%
;
@include
str-truncated
(
calc
(
100%
-
174px
));
@include
str-truncated
(
calc
(
100%
-
174px
));
max-width
:
70%
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
14px
;
.author_name
{
.author_name
{
color
:
#333
;
color
:
#333
;
}
}
}
}
.event-body
{
.event-body
{
font-size
:
13px
;
margin-left
:
63px
;
margin-left
:
35px
;
margin-right
:
80px
;
margin-right
:
80px
;
color
:
#777
;
.event-note
{
.event-note
{
margin-top
:
5px
;
margin-top
:
5px
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
.md
{
.md
{
font-size
:
1
3
px
;
font-size
:
1
6
px
;
iframe
.twitter-share-button
{
iframe
.twitter-share-button
{
vertical-align
:
bottom
;
vertical-align
:
bottom
;
...
@@ -116,7 +104,7 @@
...
@@ -116,7 +104,7 @@
&
:last-child
{
border
:none
}
&
:last-child
{
border
:none
}
.event_commits
{
.event_commits
{
margin-top
:
5
px
;
margin-top
:
9
px
;
li
{
li
{
&
.commit
{
&
.commit
{
...
@@ -125,10 +113,12 @@
...
@@ -125,10 +113,12 @@
padding-left
:
0
;
padding-left
:
0
;
border
:
none
;
border
:
none
;
.commit-row-title
{
.commit-row-title
{
font-size
:
1
2
px
;
font-size
:
1
6
px
;
}
}
}
}
&
.commits-stat
{
&
.commits-stat
{
margin-top
:
3px
;
display
:
block
;
display
:
block
;
padding
:
3px
;
padding
:
3px
;
padding-left
:
0
;
padding-left
:
0
;
...
@@ -142,7 +132,6 @@
...
@@ -142,7 +132,6 @@
.event-item-timestamp
{
.event-item-timestamp
{
float
:
right
;
float
:
right
;
color
:
#999
;
line-height
:
22px
;
line-height
:
22px
;
}
}
}
}
...
@@ -186,12 +175,3 @@
...
@@ -186,12 +175,3 @@
}
}
}
}
}
}
.event_filter
{
li
a
{
font-size
:
13px
;
padding
:
5px
10px
;
background
:
$background-color
;
margin-left
:
4px
;
}
}
app/assets/stylesheets/pages/issues.scss
View file @
d44f6974
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
}
}
.issue-info
{
.issue-info
{
color
:
#999
;
color
:
$gl-gray
;
font-size
:
13px
;
font-size
:
13px
;
}
}
...
...
app/assets/stylesheets/pages/merge_requests.scss
View file @
d44f6974
...
@@ -136,7 +136,7 @@
...
@@ -136,7 +136,7 @@
}
}
.merge-request-info
{
.merge-request-info
{
color
:
#999
;
color
:
$gl-gray
;
font-size
:
13px
;
font-size
:
13px
;
}
}
...
...
app/assets/stylesheets/pages/projects.scss
View file @
d44f6974
...
@@ -184,7 +184,7 @@ ul.nav.nav-projects-tabs {
...
@@ -184,7 +184,7 @@ ul.nav.nav-projects-tabs {
.breadcrumb.repo-breadcrumb
{
.breadcrumb.repo-breadcrumb
{
padding
:
0
;
padding
:
0
;
line-height
:
34
px
;
line-height
:
42
px
;
background
:
white
;
background
:
white
;
border
:
none
;
border
:
none
;
font-size
:
16px
;
font-size
:
16px
;
...
@@ -253,23 +253,12 @@ pre.light-well {
...
@@ -253,23 +253,12 @@ pre.light-well {
}
}
.projects-search-form
{
.projects-search-form
{
margin
:
-1
5
px
;
margin
:
-1
8
px
;
background-color
:
#f8fafc
;
background-color
:
#f8fafc
;
padding
:
18px
;
padding
:
18px
;
margin-bottom
:
1
0px
;
margin-bottom
:
0px
;
border-top
:
1px
solid
#e7e9ed
;
border-top
:
1px
solid
#e7e9ed
;
border-bottom
:
1px
solid
#e7e9ed
;
border-bottom
:
1px
solid
#e7e9ed
;
.projects-list-filter
{
@include
input-big
;
padding
:
5px
18px
;
}
.btn
{
@include
btn-big
;
padding
:
5px
18px
;
}
}
}
/*
/*
...
@@ -281,7 +270,7 @@ pre.light-well {
...
@@ -281,7 +270,7 @@ pre.light-well {
.project-row
{
.project-row
{
padding
:
18px
;
padding
:
18px
;
border-color
:
#f1f2f4
;
border-color
:
#f1f2f4
;
margin
:
0
-1
5
px
;
margin
:
0
-1
8
px
;
&
.no-description
{
&
.no-description
{
.project
{
.project
{
...
...
app/assets/stylesheets/pages/tree.scss
View file @
d44f6974
...
@@ -63,15 +63,15 @@
...
@@ -63,15 +63,15 @@
padding-right
:
8px
;
padding-right
:
8px
;
.commit-author-name
{
.commit-author-name
{
color
:
gray
;
color
:
$gl-
gray
;
}
}
}
}
.tree_commit
{
.tree_commit
{
color
:
gray
;
color
:
$gl-
gray
;
.tree-commit-link
{
.tree-commit-link
{
color
:
gray
;
color
:
$gl-
gray
;
&
:hover
{
&
:hover
{
text-decoration
:
underline
;
text-decoration
:
underline
;
...
...
app/assets/stylesheets/themes/gitlab-theme.scss
View file @
d44f6974
...
@@ -14,6 +14,10 @@
...
@@ -14,6 +14,10 @@
a
{
a
{
color
:
$color-light
;
color
:
$color-light
;
h3
{
color
:
$color-light
;
}
}
}
&
:hover
{
&
:hover
{
...
...
app/helpers/events_helper.rb
View file @
d44f6974
...
@@ -27,16 +27,14 @@ module EventsHelper
...
@@ -27,16 +27,14 @@ module EventsHelper
key
=
key
.
to_s
key
=
key
.
to_s
active
=
'active'
if
@event_filter
.
active?
(
key
)
active
=
'active'
if
@event_filter
.
active?
(
key
)
link_opts
=
{
link_opts
=
{
class:
'event_filter_link'
,
class:
"event-filter-link btn btn-default
#{
active
}
"
,
id:
"
#{
key
}
_event_filter"
,
id:
"
#{
key
}
_event_filter"
,
title:
"Filter by
#{
tooltip
.
downcase
}
"
,
title:
"Filter by
#{
tooltip
.
downcase
}
"
,
data:
{
toggle:
'tooltip'
,
placement:
'top'
}
data:
{
toggle:
'tooltip'
,
placement:
'top'
}
}
}
content_tag
:li
,
class:
"filter_icon
#{
active
}
"
do
link_to
request
.
path
,
link_opts
do
link_to
request
.
path
,
link_opts
do
content_tag
(
:span
,
' '
+
tooltip
)
icon
(
icon_for_event
[
key
])
+
content_tag
(
:span
,
' '
+
tooltip
)
end
end
end
end
end
...
@@ -66,7 +64,7 @@ module EventsHelper
...
@@ -66,7 +64,7 @@ module EventsHelper
end
end
words
<<
"at"
words
<<
"at"
elsif
event
.
target
elsif
event
.
target
words
<<
"#
#{
event
.
target_iid
}
:"
words
<<
"#
#{
event
.
target_iid
}
:"
words
<<
event
.
target
.
title
if
event
.
target
.
respond_to?
(
:title
)
words
<<
event
.
target
.
title
if
event
.
target
.
respond_to?
(
:title
)
words
<<
"at"
words
<<
"at"
end
end
...
...
app/views/dashboard/_activities.html.haml
View file @
d44f6974
.hidden-xs
.hidden-xs
=
render
"events/event_last_push"
,
event:
@last_push
=
render
"events/event_last_push"
,
event:
@last_push
.gray-content-block
-
if
current_user
-
if
current_user
%ul
.nav.nav-pills.event_filter.pull-right
%ul
.nav.nav-pills.event_filter.pull-right
%li
.pull-right
%li
.pull-right
=
link_to
dashboard_path
(
:atom
,
{
private_token:
current_user
.
private_token
}),
class:
'rss-btn'
do
=
link_to
dashboard_path
(
:atom
,
{
private_token:
current_user
.
private_token
}),
class:
'rss-btn'
do
%i
.fa.fa-rss
%i
.fa.fa-rss
=
render
'shared/event_filter'
=
render
'shared/event_filter'
%hr
.content_list
.content_list
=
spinner
=
spinner
app/views/dashboard/groups/index.html.haml
View file @
d44f6974
-
page_title
"Groups"
-
page_title
"Groups"
=
render
'dashboard/groups_head'
=
render
'dashboard/groups_head'
.slead
.gray-content-block
Group members have access to all group projects.
-
if
current_user
.
can_create_group?
-
if
current_user
.
can_create_group?
%span
.pull-right.hidden-xs
%span
.pull-right.hidden-xs
=
link_to
new_group_path
,
class:
"btn btn-new
btn-sm
"
do
=
link_to
new_group_path
,
class:
"btn btn-new"
do
%i
.fa.fa-plus
%i
.fa.fa-plus
New Group
New Group
%ul
.bordered-list
.title
Welcome to the groups!
Group members have access to all group projects.
%ul
.content-list
-
@group_members
.
each
do
|
group_member
|
-
@group_members
.
each
do
|
group_member
|
-
group
=
group_member
.
group
-
group
=
group_member
.
group
=
render
'shared/groups/group'
,
group:
group
,
group_member:
group_member
=
render
'shared/groups/group'
,
group:
group
,
group_member:
group_member
...
...
app/views/events/_commit.html.haml
View file @
d44f6974
%li
.commit
%li
.commit
.commit-row-title
.commit-row-title
=
link_to
truncate_sha
(
commit
[
:id
]),
namespace_project_commit_path
(
project
.
namespace
,
project
,
commit
[
:id
]),
class:
"commit_short_id"
,
alt:
''
=
link_to
truncate_sha
(
commit
[
:id
]),
namespace_project_commit_path
(
project
.
namespace
,
project
,
commit
[
:id
]),
class:
"commit_short_id"
,
alt:
''
&
nbsp
;
&
middot
;
=
gfm
event_commit_title
(
commit
[
:message
]),
project:
project
=
gfm
event_commit_title
(
commit
[
:message
]),
project:
project
app/views/events/_event.html.haml
View file @
d44f6974
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
.event-item-timestamp
.event-item-timestamp
#{
time_ago_with_tooltip
(
event
.
created_at
)
}
#{
time_ago_with_tooltip
(
event
.
created_at
)
}
=
cache
[
event
,
"v
1
"
]
do
=
cache
[
event
,
"v
2
"
]
do
=
image_tag
avatar_icon
(
event
.
author_email
,
24
),
class:
"avatar s24
"
,
alt
:''
=
image_tag
avatar_icon
(
event
.
author_email
,
48
),
class:
"avatar s48
"
,
alt
:''
-
if
event
.
created_project?
-
if
event
.
created_project?
=
render
"events/event/created_project"
,
event:
event
=
render
"events/event/created_project"
,
event:
event
-
elsif
event
.
push?
-
elsif
event
.
push?
...
...
app/views/explore/groups/index.html.haml
View file @
d44f6974
-
page_title
"Groups"
-
page_title
"Groups"
-
if
current_user
-
if
current_user
=
render
'dashboard/groups_head'
=
render
'dashboard/groups_head'
.
clearfix.append-bottom-10
.
gray-content-block.clearfix
.pull-left
.pull-left
=
form_tag
explore_groups_path
,
method: :get
,
class:
'form-inline form-tiny'
do
|
f
|
=
form_tag
explore_groups_path
,
method: :get
,
class:
'form-inline form-tiny'
do
|
f
|
=
hidden_field_tag
:sort
,
@sort
=
hidden_field_tag
:sort
,
@sort
.form-group
.form-group
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"Filter by name"
,
class:
"form-control search-text-input"
,
id:
"groups_search"
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"Filter by name"
,
class:
"form-control search-text-input"
,
id:
"groups_search"
.form-group
.form-group
=
button_tag
'Search'
,
class:
"btn btn-
primary wide
"
=
button_tag
'Search'
,
class:
"btn btn-
default
"
.pull-right
.pull-right
.dropdown.inline
.dropdown.inline
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
=
link_to
explore_groups_path
(
sort:
sort_value_oldest_updated
)
do
=
link_to
explore_groups_path
(
sort:
sort_value_oldest_updated
)
do
=
sort_title_oldest_updated
=
sort_title_oldest_updated
%ul
.
bordered
-list
%ul
.
content
-list
-
@groups
.
each
do
|
group
|
-
@groups
.
each
do
|
group
|
=
render
'shared/groups/group'
,
group:
group
=
render
'shared/groups/group'
,
group:
group
-
unless
@groups
.
present?
-
unless
@groups
.
present?
...
...
app/views/explore/projects/_filter.html.haml
View file @
d44f6974
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.form-group
.form-group
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"Filter by name"
,
class:
"form-control search-text-input"
,
id:
"projects_search"
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"Filter by name"
,
class:
"form-control search-text-input"
,
id:
"projects_search"
.form-group
.form-group
=
button_tag
'Search'
,
class:
"btn btn-
primary wide
"
=
button_tag
'Search'
,
class:
"btn btn-
success
"
.pull-right.hidden-sm.hidden-xs
.pull-right.hidden-sm.hidden-xs
-
if
current_user
-
if
current_user
...
...
app/views/explore/projects/index.html.haml
View file @
d44f6974
-
page_title
"Projects"
-
page_title
"Projects"
-
if
current_user
-
if
current_user
=
render
'dashboard/projects_head'
=
render
'dashboard/projects_head'
.clearfix
.
gray-content-block.
clearfix
=
render
'filter'
=
render
'filter'
%br
=
render
'projects'
,
projects:
@projects
=
render
'projects'
,
projects:
@projects
=
paginate
@projects
,
theme:
"gitlab"
=
paginate
@projects
,
theme:
"gitlab"
app/views/explore/projects/starred.html.haml
View file @
d44f6974
-
page_title
"Starred Projects"
-
page_title
"Starred Projects"
-
if
current_user
-
if
current_user
=
render
'dashboard/projects_head'
=
render
'dashboard/projects_head'
.explore-trending-block
.explore-trending-block
.lead
.gray-content-block
%i
.fa.fa-star
See most starred projects
.pull-right
.pull-right
=
render
'explore/projects/dropdown'
=
render
'explore/projects/dropdown'
.oneline
%i
.fa.fa-star
See most starred projects
=
render
'projects'
,
projects:
@starred_projects
=
render
'projects'
,
projects:
@starred_projects
=
paginate
@starred_projects
,
theme:
'gitlab'
=
paginate
@starred_projects
,
theme:
'gitlab'
app/views/explore/projects/trending.html.haml
View file @
d44f6974
-
page_title
"Trending Projects"
-
page_title
"Trending Projects"
-
if
current_user
-
if
current_user
=
render
'dashboard/projects_head'
=
render
'dashboard/projects_head'
.explore-title
-
else
%h3
.explore-title
Explore GitLab
%h3
%p
.lead
Explore GitLab
Discover projects and groups. Share your projects with others
%p
.lead
%hr
Discover projects and groups. Share your projects with others
%br
.explore-trending-block
.explore-trending-block
.lead
.gray-content-block
%i
.fa.fa-comments-o
See most discussed projects for last month
.pull-right
.pull-right
=
render
'explore/projects/dropdown'
=
render
'explore/projects/dropdown'
.oneline
%i
.fa.fa-comments-o
See most discussed projects for last month
=
render
'projects'
,
projects:
@trending_projects
=
render
'projects'
,
projects:
@trending_projects
app/views/groups/_projects.html.haml
View file @
d44f6974
...
@@ -7,4 +7,4 @@
...
@@ -7,4 +7,4 @@
=
link_to
new_project_path
(
namespace_id:
@group
.
id
),
class:
'btn btn-success'
do
=
link_to
new_project_path
(
namespace_id:
@group
.
id
),
class:
'btn btn-success'
do
New project
New project
=
render
'shared/projects/list'
,
projects:
@projects
,
projects_limit:
20
=
render
'shared/projects/list'
,
projects:
@projects
,
projects_limit:
20
,
stars:
false
app/views/layouts/header/_public.html.haml
View file @
d44f6974
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.header-content
.header-content
-
unless
current_controller?
(
'sessions'
)
-
unless
current_controller?
(
'sessions'
)
.pull-right
.pull-right
=
link_to
"Sign in"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'btn btn-sign-in btn-success
btn-sm
'
=
link_to
"Sign in"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'btn btn-sign-in btn-success'
%h1
.title
=
title
%h1
.title
=
title
...
...
app/views/projects/_activity.html.haml
View file @
d44f6974
=
render
'projects/last_push'
=
render
'projects/last_push'
.
hidden-xs
.
gray-content-block
-
if
current_user
-
if
current_user
%ul
.nav.nav-pills.event_filter.pull-right
%ul
.nav.nav-pills.event_filter.pull-right
%li
%li
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
%i
.fa.fa-rss
%i
.fa.fa-rss
=
render
'shared/event_filter'
=
render
'shared/event_filter'
%hr
.content_list
{
:"data-href"
=>
activity_project_path
(
@project
)}
.content_list
{
:"data-href"
=>
activity_project_path
(
@project
)}
=
spinner
=
spinner
...
...
app/views/shared/_clone_panel.html.haml
View file @
d44f6974
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
.input-group-btn
.input-group-btn
%button
{
|
%button
{
|
type:
'button'
,
|
type:
'button'
,
|
class:
"btn
btn-sm
#{ 'active' if default_clone_protocol == 'ssh' }#{ ' has_tooltip' if current_user && current_user.require_ssh_key? }"
,
|
class:
"btn #{ 'active' if default_clone_protocol == 'ssh' }#{ ' has_tooltip' if current_user && current_user.require_ssh_key? }"
,
|
:"data-clone"
=>
project
.
ssh_url_to_repo
,
|
:"data-clone"
=>
project
.
ssh_url_to_repo
,
|
:"data-title"
=>
"Add an SSH key to your profile<br> to pull or push via SSH"
,
:"data-title"
=>
"Add an SSH key to your profile<br> to pull or push via SSH"
,
:"data-html"
=>
"true"
,
:"data-html"
=>
"true"
,
...
@@ -13,13 +13,13 @@
...
@@ -13,13 +13,13 @@
.input-group-btn
.input-group-btn
%button
{
|
%button
{
|
type:
'button'
,
|
type:
'button'
,
|
class:
"btn
btn-sm
#{ 'active' if default_clone_protocol == 'http' }#{ ' has_tooltip' if current_user && current_user.require_password? }"
,
|
class:
"btn #{ 'active' if default_clone_protocol == 'http' }#{ ' has_tooltip' if current_user && current_user.require_password? }"
,
|
:"data-clone"
=>
project
.
http_url_to_repo
,
|
:"data-clone"
=>
project
.
http_url_to_repo
,
|
:"data-title"
=>
"Set a password on your account<br> to pull or push via #{gitlab_config.protocol.upcase}"
,
:"data-title"
=>
"Set a password on your account<br> to pull or push via #{gitlab_config.protocol.upcase}"
,
:"data-html"
=>
"true"
,
:"data-html"
=>
"true"
,
:"data-container"
=>
"body"
}
:"data-container"
=>
"body"
}
=
gitlab_config
.
protocol
.
upcase
=
gitlab_config
.
protocol
.
upcase
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control
input-sm
"
,
readonly:
true
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control"
,
readonly:
true
-
if
project
.
kind_of?
(
Project
)
-
if
project
.
kind_of?
(
Project
)
.input-group-addon
.input-group-addon
.visibility-level-label.has_tooltip
{
'data-title'
=>
"#{visibility_level_label(project.visibility_level)} project"
}
.visibility-level-label.has_tooltip
{
'data-title'
=>
"#{visibility_level_label(project.visibility_level)} project"
}
...
...
app/views/shared/_event_filter.html.haml
View file @
d44f6974
%ul
.nav.nav-pills.event_
filter
.btn-group.btn-group-next.event-
filter
=
event_filter_link
EventFilter
.
push
,
'Push events'
=
event_filter_link
EventFilter
.
push
,
'Push events'
=
event_filter_link
EventFilter
.
merged
,
'Merge events'
=
event_filter_link
EventFilter
.
merged
,
'Merge events'
=
event_filter_link
EventFilter
.
comments
,
'Comments'
=
event_filter_link
EventFilter
.
comments
,
'Comments'
...
...
app/views/shared/groups/_group.html.haml
View file @
d44f6974
-
group_member
=
local_assigns
[
:group_member
]
-
group_member
=
local_assigns
[
:group_member
]
%li
%li
-
if
group_member
-
if
group_member
.
pull-right
.hidden-xs
.
controls
.hidden-xs
-
if
can?
(
current_user
,
:admin_group
,
group
)
-
if
can?
(
current_user
,
:admin_group
,
group
)
=
link_to
edit_group_path
(
group
),
class:
"btn-sm btn btn-grouped"
do
=
link_to
edit_group_path
(
group
),
class:
"btn-sm btn btn-grouped"
do
%i
.fa.fa-cogs
%i
.fa.fa-cogs
Settings
=
link_to
leave_group_group_members_path
(
group
),
data:
{
confirm:
leave_group_message
(
group
.
name
)
},
method: :delete
,
class:
"btn-sm btn btn-grouped"
,
title:
'Leave this group'
do
=
link_to
leave_group_group_members_path
(
group
),
data:
{
confirm:
leave_group_message
(
group
.
name
)
},
method: :delete
,
class:
"btn-sm btn btn-grouped"
,
title:
'Leave this group'
do
%i
.fa.fa-sign-out
%i
.fa.fa-sign-out
Leave
=
image_tag
group_icon
(
group
),
class:
"avatar s4
0 avatar-tile
hidden-xs"
=
image_tag
group_icon
(
group
),
class:
"avatar s4
8
hidden-xs"
=
link_to
group
,
class:
'group-name'
do
=
link_to
group
,
class:
'group-name'
do
%strong
=
group
.
name
%strong
=
group
.
name
-
if
group_member
-
if
group_member
as
as
%s
trong
#{
group_member
.
human_access
}
%s
pan
#{
group_member
.
human_access
}
%div
.light
%div
.light
#{
pluralize
(
group
.
projects
.
count
,
"project"
)
}
,
#{
pluralize
(
group
.
users
.
count
,
"user"
)
}
#{
pluralize
(
group
.
projects
.
count
,
"project"
)
}
,
#{
pluralize
(
group
.
users
.
count
,
"user"
)
}
...
...
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