2014-09-26 13:32:44 -04:00
|
|
|
= render 'head'
|
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
|
2013-08-19 13:11:41 -04:00
|
|
|
Commits to #{@project.default_branch}, 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
|
|
|
|
|
|
|
:coffeescript
|
|
|
|
$.ajax
|
2013-06-05 08:50:11 -04:00
|
|
|
type: "GET",
|
|
|
|
url: location.href,
|
2014-09-26 11:04:41 -04:00
|
|
|
success: (data) ->
|
|
|
|
graph = new ContributorsStatGraph()
|
|
|
|
graph.init(data)
|
|
|
|
|
|
|
|
$("#brush_change").change ->
|
|
|
|
graph.change_date_header()
|
|
|
|
graph.redraw_authors()
|
|
|
|
|
2013-06-25 10:34:50 -04:00
|
|
|
$(".stat-graph").fadeIn();
|
2013-06-05 08:50:11 -04:00
|
|
|
$(".loading-graph").hide();
|
2014-09-26 11:04:41 -04:00
|
|
|
dataType: "json"
|
|
|
|
|