Sha256: 31c09f7f1a2cd5aab0ceaacf2c4cfcd7059996e0a9deef46626d761fd90ef79e

Contents?: true

Size: 1.93 KB

Versions: 1

Compression:

Stored size: 1.93 KB

Contents

<!doctype html>
<html class="no-js" lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <title>BBAC - BestBoy Administration Center</title>
    <%= csrf_meta_tag %>
    <%= stylesheet_link_tag("bootstrap", :media => "all") %>
    <%= yield :stylesheets %>
    <%= yield :javascripts %>
    <style>
      .small-font {
        font-size: 9px;
      }
      /* FIX for kaminari gem */
      nav.pagination {
        text-align: center;
      }
        span.current, 
        span.gap a {
          float: left;
          padding: 0 9px;
          line-height: 34px;
          text-decoration: none;
          border: 1px solid #DDD;
          border-left-width: 0;
        }
        span.current {
          border: 1px solid #DDD;
          color: #999;
          cursor: default;
          background-color: whiteSmoke;
        }
    </style>
  </head>
  <body style="padding-top: 60px;">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <%= link_to "BBAC", best_boy_admin_path, :class => "brand" %>
          <ul class="nav">
            <li class="<%= action_name == 'stats' ? 'active' : nil %>"><%= link_to "Statistics", best_boy_admin_stats_path %></li>
            <li class="<%= action_name == 'lists' ? 'active' : nil %>"><%= link_to "List & Logs", best_boy_admin_lists_path %></li>
            <li class="<%= action_name == 'charts' ? 'active' : nil %>"><%= link_to "Charts", best_boy_admin_charts_path %></li>
          </ul>
          <% if BestBoy.custom_redirect.present? %>
            <p class="navbar-text pull-right"><%= link_to("back to application", Rails.application.routes.recognize_path(BestBoy.custom_redirect)) %></p>
          <% end %>
        </div>
      </div>
    </div>

    <div class="container">
      <div class="row">
        <%= yield %>
      </div>
    </div>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
best_boy-0.3.0 app/views/layouts/best_boy_backend.html.erb