git_stats/templates/lines/_lines.haml

20 lines
852 B
Text
Raw Normal View History

2012-10-22 19:50:31 +02:00
.tabbable.tabs-left
%ul.nav.nav-tabs
%li{class: page == :lines_by_date ? "active" : ""}
%a{:href => 'by_date.html'}= :lines_by_date.t
%li{class: page == :lines_by_extension ? "active" : ""}
%a{:href => 'by_extension.html'}= :lines_by_extension.t
2015-11-29 13:32:20 +01:00
%li{class: page == :lines_by_extension_by_date ? "active" : ""}
%a{:href => 'by_extension_by_date.html'}= :lines_by_extension_by_date.t
2012-10-22 19:50:31 +02:00
.tab-content
.tab-pane.active
.page-header
%h1.pagination-centered= page.t
- if page == :lines_by_date
= high_stock("lines_by_date", charts.lines_by_date)
- elsif page == :lines_by_extension
= high_chart("lines_by_extension", charts.lines_by_extension)
2015-11-29 13:32:20 +01:00
- elsif page == :lines_by_extension_by_date
= high_stock("lines_by_extension_by_date", charts.lines_by_extension_by_date)