Bootstrap: network graph

This commit is contained in:
Dmitriy Zaporozhets 2012-01-28 12:02:03 +02:00
parent c7933d7a78
commit 089dca4d6c
2 changed files with 11 additions and 5 deletions

View file

@ -143,3 +143,11 @@ a.project-update.titled {
top:0; top:0;
} }
} }
/**
* Project graph
*/
#holder {
cursor: move;
height: 70%;
overflow: hidden;
}

View file

@ -1,8 +1,6 @@
.top-tabs %h3 Network Graph
= link_to graph_project_path(@project), :class => "tab #{'active' if current_page?(graph_project_path(@project)) }" do %hr
%span #holder.graph.well
Network Graph
#holder.graph
:javascript :javascript
var chunk1={commits:#{@commits_json}}; var chunk1={commits:#{@commits_json}};