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
2a073901
Commit
2a073901
authored
Jul 15, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary title. Fix graphs width for less then 1214px resolution
parent
c49dcbac
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
22 deletions
+29
-22
app/assets/javascripts/stat_graph_contributors_graph.js.coffee
...ssets/javascripts/stat_graph_contributors_graph.js.coffee
+10
-2
app/assets/stylesheets/sections/stat_graph.scss
app/assets/stylesheets/sections/stat_graph.scss
+19
-17
app/views/projects/network/_head.html.haml
app/views/projects/network/_head.html.haml
+0
-2
features/steps/project/project_network_graph.rb
features/steps/project/project_network_graph.rb
+0
-1
No files found.
app/assets/javascripts/stat_graph_contributors_graph.js.coffee
View file @
2a073901
...
...
@@ -46,7 +46,11 @@ class window.ContributorsGraph
class
window
.
ContributorsMasterGraph
extends
ContributorsGraph
constructor
:
(
@
data
)
->
@
width
=
1100
if
$
(
window
).
width
()
>
1214
@
width
=
1100
else
@
width
=
870
@
height
=
125
@
x
=
null
@
y
=
null
...
...
@@ -118,7 +122,11 @@ class window.ContributorsMasterGraph extends ContributorsGraph
class
window
.
ContributorsAuthorGraph
extends
ContributorsGraph
constructor
:
(
@
data
)
->
@
width
=
490
if
$
(
window
).
width
()
>
1214
@
width
=
490
else
@
width
=
380
@
height
=
130
@
x
=
null
@
y
=
null
...
...
app/assets/stylesheets/sections/stat_graph.scss
View file @
2a073901
...
...
@@ -14,27 +14,29 @@
font-size
:
10px
;
}
#contributors
.person
{
&
:nth-child
(
even
)
{
float
:
right
;
#contributors
{
.contributors-list
{
margin
:
0
0
10px
0
;
list-style
:
none
;
padding
:
0
;
}
float
:
left
;
margin-top
:
10px
;
}
.contributors-list
{
margin
:
0
0
10px
0
;
list-style
:
none
;
padding
:
0
;
}
.person
{
&
:nth-child
(
even
)
{
float
:
right
;
}
float
:
left
;
margin-top
:
10px
;
}
#contributors
.person
.spark
{
display
:
block
;
background
:
#f3f3f3
;
}
.person
.spark
{
display
:
block
;
background
:
#f3f3f3
;
}
#contributors
.person
.area-contributor
{
fill
:
#f17f49
;
.person
.area-contributor
{
fill
:
#f17f49
;
}
}
.selection
rect
{
...
...
app/views/projects/network/_head.html.haml
View file @
2a073901
%h3
.page-title
Project Network Graph
.clearfix
.pull-left
=
render
partial:
'shared/ref_switcher'
,
locals:
{
destination:
'graph'
}
...
...
features/steps/project/project_network_graph.rb
View file @
2a073901
...
...
@@ -3,7 +3,6 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
include
SharedProject
Then
'page should have network graph'
do
page
.
should
have_content
"Project Network Graph"
page
.
should
have_selector
".graph"
end
...
...
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