2012-06-30 23:35:24 +02:00
|
|
|
%h3.page_title Project Network Graph
|
2012-02-26 21:06:40 +01:00
|
|
|
%br
|
2012-05-31 22:30:54 +02:00
|
|
|
.graph_holder
|
|
|
|
%h4
|
2012-12-05 00:57:21 +01:00
|
|
|
%small You can move around the graph by using the arrow keys.
|
2012-05-31 22:30:54 +02:00
|
|
|
#holder.graph
|
2012-12-05 00:57:21 +01:00
|
|
|
|
2011-11-13 12:58:45 +01:00
|
|
|
:javascript
|
2012-12-05 00:57:21 +01:00
|
|
|
var commits = #{@commits_json}
|
|
|
|
, days = #{@days_json};
|
|
|
|
var branch_graph = new BranchGraph(days, commits);
|
2011-11-13 12:58:45 +01:00
|
|
|
$(function(){
|
2012-12-05 00:57:21 +01:00
|
|
|
branch_graph.buildGraph($("#holder")[0]);
|
2012-10-16 13:57:13 +02:00
|
|
|
GraphNav.init();
|
2011-11-13 12:58:45 +01:00
|
|
|
});
|