git_stats/templates/lines/_lines.haml
2015-11-29 18:02:20 +05:30

19 lines
852 B
Text

.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
%li{class: page == :lines_by_extension_by_date ? "active" : ""}
%a{:href => 'by_extension_by_date.html'}= :lines_by_extension_by_date.t
.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)
- elsif page == :lines_by_extension_by_date
= high_stock("lines_by_extension_by_date", charts.lines_by_extension_by_date)