Sha256: 750db0dda169a9b61b5a14d968fae93cf8e2cd3736e9ac4b31eb904c288fc299

Contents?: true

Size: 873 Bytes

Versions: 9

Compression:

Stored size: 873 Bytes

Contents

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <%= stylesheet_link_tag :flutie %>
    <title>Flutie v1</title>

    <style type="text/css">
    /* Styleguide-specific styles */
    body {
      background-color: #dadada;
    }

    .switcher {
      margin: 30px auto 0;
      text-align: right;
      width: 880px;
    }

    .content {
      background: #fff;
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
      margin: 30px auto;
      padding: 40px;
      width: 880px;
    }
    </style>

  </head>

  <body>

    <div class="switcher">
      <% if params[:flutie] %>
        <a href="?flutie=false">Application Styles</a>
      <% else %>
        <a href="?flutie=true">Default Styles</a>
      <% end %>
    </div>

    <div class="content">
      <%= yield %>
    </div>
  </body>
</html>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
flutie-1.3.4 app/views/layouts/flutie.erb
flutie-1.3.3 app/views/layouts/flutie.erb
flutie-1.3.2 app/views/layouts/flutie.erb
flutie-1.3.1 app/views/layouts/flutie.erb
flutie-1.3.0 app/views/layouts/flutie.erb
flutie-1.2.5 app/views/layouts/flutie.erb
flutie-1.2.4 app/views/layouts/flutie.erb
flutie-1.2.3 app/views/layouts/flutie.erb
flutie-1.2.2 app/views/layouts/flutie.erb