summaryrefslogtreecommitdiff
path: root/app/views/projects/graph.html.haml
blob: 72d9cb5ef154215117a23c2791d97d4c7eb3bd47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%h3.page_title Project Network Graph
%br

.graph_holder
  %h4
    %small You can move around the graph by using the arrow keys.
  #holder.graph
    .loading.loading-gray

:javascript
  var branch_graph;
  $(function(){
    branch_graph = new BranchGraph($("#holder"), {
      url: '#{url_for controller: 'projects', action: 'graph', format: :json}',
      commit_url: '#{project_commit_path(@project, 'ae45ca32').gsub("ae45ca32", "%s")}'
    });
  });