2012-07-01 00:35:24 +03:00
|
|
|
%h3.page_title Project Network Graph
|
2012-02-26 22:06:40 +02:00
|
|
|
%br
|
2012-05-31 23:30:54 +03: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 23:30:54 +03:00
|
|
|
#holder.graph
|
2012-12-21 13:07:34 +02:00
|
|
|
.loading.loading-gray
|
2012-12-05 00:57:21 +01:00
|
|
|
|
2011-11-13 13:58:45 +02:00
|
|
|
:javascript
|
2012-12-07 19:06:46 +01:00
|
|
|
var branch_graph;
|
2011-11-13 13:58:45 +02:00
|
|
|
$(function(){
|
2012-12-07 22:05:17 +01:00
|
|
|
branch_graph = new BranchGraph($("#holder"), {
|
|
|
|
url: '#{url_for controller: 'projects', action: 'graph', format: :json}',
|
|
|
|
commit_url: '#{url_for controller: 'projects', action: 'show'}/commits/%s'
|
|
|
|
});
|
2011-11-13 13:58:45 +02:00
|
|
|
});
|