git_stats/templates/layout.haml

30 lines
1.2 KiB
Plaintext
Raw Normal View History

2012-10-08 18:21:42 +02:00
!!! XML
!!!
%html
%head
2012-10-13 14:01:46 +02:00
%title= "GitStats - #{repo.project_name}"
2012-10-08 18:21:42 +02:00
%link{:rel => "stylesheet", :href => "assets/bootstrap/css/bootstrap.min.css", :type => "text/css"}
2012-10-08 19:56:49 +02:00
%style
:plain
body { padding-top: 60px; }
2012-10-08 18:21:42 +02:00
%link{:rel => "stylesheet", :href => "assets/bootstrap/css/bootstrap-responsive.min.css", :type => "text/css"}
%script{:src => "assets/jquery.min.js", :type => "text/javascript"}
%script{:src => "assets/bootstrap/js/bootstrap.min.js", :type => "text/javascript"}
2012-10-08 21:12:42 +02:00
%script{:src => "assets/highstock.js", :type => "text/javascript"}
2012-10-08 18:21:42 +02:00
%body
%div.navbar.navbar-inverse.navbar-fixed-top
%div.navbar-inner
%div.container
%a.btn.btn-navbar{'data-toggle' => "collapse", 'data-target' => ".nav-collapse"}
%span.icon-bar
%span.icon-bar
%span.icon-bar
2012-10-13 14:01:46 +02:00
%a.brand{:href => "index.html"}= "GitStats - #{repo.project_name}"
2012-10-08 18:21:42 +02:00
%div.nav-collapse.collapse
%ul.nav
2012-10-13 14:01:46 +02:00
- all_templates.each do |link|
%li{:class => active_page == link ? "active" : ""}
%a{:href => "#{link}.html"}= link.capitalize
2012-10-08 18:21:42 +02:00
%div.container
= yield