2015-09-17 10:16:24 +00:00
|
|
|
- page_title "Contributors", "Graphs"
|
2014-09-26 17:32:44 +00:00
|
|
|
= render 'head'
|
2015-07-02 18:12:24 +00:00
|
|
|
|
2016-04-25 20:02:15 +00:00
|
|
|
.row-content-block.append-bottom-default
|
2015-11-08 18:29:22 +00:00
|
|
|
.tree-ref-holder
|
|
|
|
= render 'shared/ref_switcher', destination: 'graphs'
|
|
|
|
%ul.breadcrumb.repo-breadcrumb
|
|
|
|
= commits_breadcrumbs
|
|
|
|
|
2013-06-05 12:50:11 +00:00
|
|
|
.loading-graph
|
2014-06-21 07:41:44 +00:00
|
|
|
.center
|
2014-02-05 18:30:57 +00:00
|
|
|
%h3.page-title
|
2014-10-01 22:21:29 +00:00
|
|
|
%i.fa.fa-spinner.fa-spin
|
2014-02-05 18:30:57 +00:00
|
|
|
Building repository graph.
|
2014-09-26 15:04:41 +00:00
|
|
|
%p.slead Please wait a moment, this page will automatically refresh when ready.
|
2013-05-09 05:00:56 +00:00
|
|
|
|
2014-09-26 15:04:41 +00:00
|
|
|
.stat-graph.hide
|
2013-06-05 12:50:11 +00:00
|
|
|
.header.clearfix
|
2013-07-13 05:45:48 +00:00
|
|
|
%h3#date_header.page-title
|
2013-08-13 13:26:48 +00:00
|
|
|
%p.light
|
2016-05-22 16:41:30 +00:00
|
|
|
Commits to #{@ref}, excluding merge commits. Limited to 6,000 commits.
|
2013-06-05 12:50:11 +00:00
|
|
|
%input#brush_change{:type => "hidden"}
|
|
|
|
.graphs
|
|
|
|
#contributors-master
|
|
|
|
#contributors.clearfix
|
|
|
|
%ol.contributors-list.clearfix
|
2013-05-09 05:00:56 +00:00
|
|
|
|
|
|
|
|
2014-09-26 15:04:41 +00:00
|
|
|
|
2015-11-10 11:17:37 +00:00
|
|
|
:javascript
|
|
|
|
$.ajax({
|
2013-06-05 12:50:11 +00:00
|
|
|
type: "GET",
|
|
|
|
url: location.href,
|
2015-11-10 11:17:37 +00:00
|
|
|
dataType: "json",
|
|
|
|
success: function (data) {
|
|
|
|
var graph = new ContributorsStatGraph();
|
|
|
|
graph.init(data);
|
2014-09-26 15:04:41 +00:00
|
|
|
|
2015-11-10 11:17:37 +00:00
|
|
|
$("#brush_change").change(function(){
|
|
|
|
graph.change_date_header();
|
|
|
|
graph.redraw_authors();
|
|
|
|
});
|
2014-09-26 15:04:41 +00:00
|
|
|
|
2013-06-25 14:34:50 +00:00
|
|
|
$(".stat-graph").fadeIn();
|
2013-06-05 12:50:11 +00:00
|
|
|
$(".loading-graph").hide();
|
2015-11-10 11:17:37 +00:00
|
|
|
}
|
|
|
|
});
|