Sha256: a203a1eecd92b67477a89a776d56c93a9e1591f25add6a9d93d9358e36ab462f
Contents?: true
Size: 1.99 KB
Versions: 1
Compression:
Stored size: 1.99 KB
Contents
<!DOCTYPE html> <html> <head> <title> <%= content_for?(:title) ? yield(:title) : app_name %> </title> <%= csrf_meta_tags %> <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> <!--[if lt IE 9] <%= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" %> --> <%= stylesheet_link_tag "prosperity/application", :media => "all" %> </head> <body class="<%= body_class %>"> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button class="navbar-toggle" data-target=".navbar-collapse" data-toggle="collapse" type="button"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="<%= root_path %>"> <%= app_name %> </a> </div> <div class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <%= navbar_item 'Dashboards', dashboards_path, Prosperity::DashboardsController, Prosperity::GraphsController %> <%= navbar_item 'Browse Metrics', metrics_path, Prosperity::MetricsController %> </ul> </div> </div> </div> <div class="container"> <div class="main"> <% flash.each do |name, msg| %> <% if msg.is_a?(String) %> <div class="alert alert-<%= name == :notice ? "success" : "danger" %>"> <%= content_tag :div, msg, :id => "flash_#{name}" %> </div> <% end %> <% end %> <%= yield %> </div> </div> <footer class="footer"> <div class="container"> <p> Created by <a href="https://github.com/smathieu">Simon Mathieu</a>. View <a href="https://github.com/smathieu/prosperity">Source Code</a> </p> </div> </footer> <%= javascript_include_tag "prosperity/application" %> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prosperity-0.0.9 | app/views/layouts/prosperity/application.html.erb |