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