git_stats/templates/files/_files.haml
2017-11-28 16:25:42 +01:00

15 lines
570 B
Text

.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
.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)