graph.html.haml 444 Bytes
Newer Older
randx's avatar
randx committed
1
%h3.page_title Project Network Graph
2
%br
randx's avatar
randx committed
3 4
.graph_holder
  %h4
5
    %small You can move around the graph by using the arrow keys.
randx's avatar
randx committed
6
  #holder.graph
7
    .loading.loading-gray
8

Valery Sizov's avatar
Valery Sizov committed
9
:javascript
Koen Punt's avatar
Koen Punt committed
10
  var branch_graph;
Valery Sizov's avatar
Valery Sizov committed
11
  $(function(){
12 13 14 15
    branch_graph = new BranchGraph($("#holder"), {
      url: '#{url_for controller: 'projects', action: 'graph', format: :json}',
      commit_url: '#{url_for controller: 'projects', action: 'show'}/commits/%s'
    });
Valery Sizov's avatar
Valery Sizov committed
16
  });