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