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
Boxiang Sun
gitlab-ce
Commits
8e841530
Commit
8e841530
authored
Jun 15, 2016
by
Annabel Dunstone
Committed by
Jacob Schatz
Jun 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style sub nav links in Graphs
parent
11773221
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
118 additions
and
107 deletions
+118
-107
app/views/projects/graphs/_head.html.haml
app/views/projects/graphs/_head.html.haml
+14
-12
app/views/projects/graphs/ci.html.haml
app/views/projects/graphs/ci.html.haml
+14
-11
app/views/projects/graphs/commits.html.haml
app/views/projects/graphs/commits.html.haml
+46
-44
app/views/projects/graphs/languages.html.haml
app/views/projects/graphs/languages.html.haml
+19
-17
app/views/projects/graphs/show.html.haml
app/views/projects/graphs/show.html.haml
+25
-23
No files found.
app/views/projects/graphs/_head.html.haml
View file @
8e841530
-
page_specific_javascripts
asset_path
(
"graphs/application.js"
)
%ul
.nav-links.sub-nav
%ul
.nav-links
%div
{
class:
(
container_class
)
}
-
page_specific_javascripts
asset_path
(
"graphs/application.js"
)
=
nav_link
(
action: :show
)
do
=
nav_link
(
action: :show
)
do
=
link_to
'Contributors'
,
namespace_project_graph_path
=
link_to
'Contributors'
,
namespace_project_graph_path
=
nav_link
(
action: :commits
)
do
=
nav_link
(
action: :commits
)
do
...
...
app/views/projects/graphs/ci.html.haml
View file @
8e841530
-
@no_container
=
true
-
page_title
"Continuous Integration"
,
"Graphs"
-
page_title
"Continuous Integration"
,
"Graphs"
=
render
'head'
=
render
'head'
.row-content-block.append-bottom-default
%div
{
class:
(
container_class
)
}
.row-content-block.append-bottom-default
.oneline
.oneline
A collection of graphs for Continuous Integration
A collection of graphs for Continuous Integration
#charts
.ci-charts
#charts
.ci-charts
.row
.row
.col-md-6
.col-md-6
=
render
'projects/graphs/ci/overall'
=
render
'projects/graphs/ci/overall'
...
...
app/views/projects/graphs/commits.html.haml
View file @
8e841530
-
@no_container
=
true
-
page_title
"Commits"
,
"Graphs"
-
page_title
"Commits"
,
"Graphs"
=
render
'head'
=
render
'head'
.row-content-block.append-bottom-default
%div
{
class:
(
container_class
)
}
.row-content-block.append-bottom-default
.tree-ref-holder
.tree-ref-holder
=
render
'shared/ref_switcher'
,
destination:
'graphs_commits'
=
render
'shared/ref_switcher'
,
destination:
'graphs_commits'
%ul
.breadcrumb.repo-breadcrumb
%ul
.breadcrumb.repo-breadcrumb
=
commits_breadcrumbs
=
commits_breadcrumbs
%p
.lead
%p
.lead
Commit statistics for
Commit statistics for
%strong
#{
@ref
}
%strong
#{
@ref
}
#{
@commits_graph
.
start_date
.
strftime
(
'%b %d'
)
}
-
#{
@commits_graph
.
end_date
.
strftime
(
'%b %d'
)
}
#{
@commits_graph
.
start_date
.
strftime
(
'%b %d'
)
}
-
#{
@commits_graph
.
end_date
.
strftime
(
'%b %d'
)
}
.row
.row
.col-md-6
.col-md-6
%ul
%ul
%li
%li
...
@@ -36,7 +38,7 @@
...
@@ -36,7 +38,7 @@
%p
.slead
%p
.slead
Commits per day of month
Commits per day of month
%canvas
#month-chart
%canvas
#month-chart
.row
.row
.col-md-6
.col-md-6
%div
%div
%p
.slead
%p
.slead
...
...
app/views/projects/graphs/languages.html.haml
View file @
8e841530
-
@no_container
=
true
-
page_title
"Languages"
,
"Graphs"
-
page_title
"Languages"
,
"Graphs"
=
render
'head'
=
render
'head'
.row-content-block.append-bottom-default
%div
{
class:
(
container_class
)
}
.row-content-block.append-bottom-default
.oneline
.oneline
Programming languages used in this repository
Programming languages used in this repository
.row
.row
.col-md-8
.col-md-8
%canvas
#languages-chart
{
height:
400
}
%canvas
#languages-chart
{
height:
400
}
.col-md-4
.col-md-4
...
...
app/views/projects/graphs/show.html.haml
View file @
8e841530
-
@no_container
=
true
-
page_title
"Contributors"
,
"Graphs"
-
page_title
"Contributors"
,
"Graphs"
=
render
'head'
=
render
'head'
.row-content-block.append-bottom-default
%div
{
class:
(
container_class
)
}
.row-content-block.append-bottom-default
.tree-ref-holder
.tree-ref-holder
=
render
'shared/ref_switcher'
,
destination:
'graphs'
=
render
'shared/ref_switcher'
,
destination:
'graphs'
%ul
.breadcrumb.repo-breadcrumb
%ul
.breadcrumb.repo-breadcrumb
=
commits_breadcrumbs
=
commits_breadcrumbs
.loading-graph
.loading-graph
.center
.center
%h3
.page-title
%h3
.page-title
%i
.fa.fa-spinner.fa-spin
%i
.fa.fa-spinner.fa-spin
Building repository graph.
Building repository graph.
%p
.slead
Please wait a moment, this page will automatically refresh when ready.
%p
.slead
Please wait a moment, this page will automatically refresh when ready.
.stat-graph.hide
.stat-graph.hide
.header.clearfix
.header.clearfix
%h3
#date_header
.page-title
%h3
#date_header
.page-title
%p
.light
%p
.light
...
...
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