Sha256: 2ac90fd150a37ff24bda826c611833dc736bb6df5f82dc5ed2930c7ce2e85489

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

<html>
  <head>
    <link rel="stylesheet/less" type="text/css" href="/lib/bootstrap.less">
    <script src="/js/less-1.1.3.min.js" type="text/javascript"></script>
    <link rel="search" type="application/opensearchdescription+xml" title="Oldskool" href="/opensearch.xml" />
    <title>Oldskool</title>
  </head>
  <body style="padding-top: 80px;">
    <div class="topbar" data-dropdown="dropdown" >
      <div class="topbar-inner">
        <div class="container">
          <h3><a href="/">Oldskool</a></h3>
          <% if @topmenu %>
            <ul class="nav">
            <% @topmenu.each do |item| %>
              <li><a href="<%= item[:url] %>"><%= item[:title] %></a></li>
            <% end %>
          </ul>
          <% end %>
          <form action="/do" method="get" class="pull-right"><input name="q" type="text" placeholder="#" /></form>
        </div>
      </div>
    </div>

    <div class="container">
      <div class="row">
        <div class="span4">
          <% if @sidemenu %>
            <% @sidemenu.each do |item| %>
              <p><a href="<%= item[:url] %>"><button type="submit" class="btn"><%= item[:title] %></button></a></p>
            <% end %>
          <% end %>
        </div>
        <div class="span12">
          <% if @error %>
            <div class="alert-message error">
              <%= @error %>
            </div>
          <% end %>
          <%= yield %>
        </div>
      </div>
    </div>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oldskool-0.0.2 views/layout.erb