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

20 lines
852 B
Plaintext

.tabbable.tabs-left
%ul.nav.nav-tabs
%li{class: page == :files_by_date ? "active" : ""}
%a{:href => 'by_date.html'}= :files_by_date.t
%li{class: page == :files_by_extension ? "active" : ""}
%a{:href => 'by_extension.html'}= :files_by_extension.t
%li{class: page == :files_by_extension_by_date ? "active" : ""}
%a{:href => 'by_extension_by_date.html'}= :files_by_extension_by_date.t
.tab-content
.tab-pane.active
.page-header
%h1.pagination-centered= page.t
- if page == :files_by_date
= high_stock("files_by_date", charts.files_by_date)
- elsif page == :files_by_extension
= high_chart("files_by_extension", charts.files_by_extension)
- elsif page == :files_by_extension_by_date
= high_stock("files_by_extension_by_date", charts.files_by_extension_by_date)