Sha256: 60d84ff8a72228d8a65f54050cfe927e89a076d1e3ff4495010456fdf731890e

Contents?: true

Size: 978 Bytes

Versions: 2

Compression:

Stored size: 978 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <meta charset='utf-8'>
    <meta name='viewport' content='width=device-width, minimum-scale=1'>
    <title>Corpshort</title>
    <link rel='stylesheet' href='/style.css' type="text/css">
  </head>

  <body>
    <div class="container">
      <header class="header">
        <h1 class='logo'><a href="/">Corpshort</a></h1>
        <nav>
          <a href="/">Create</a>
          <a href="/+/links">Recent</a>
        </nav>
      </header>
      <% notice ||= session.delete(:notice); error ||= session.delete(:error) %>
      <% if notice %>
        <div class="notice"><%= notice %></div>
      <% end %>

      <% if error %>
        <div class="error"><%= error %></div>
      <% end %>

      <div class="box">
        <%== yield %>
      </div>

      <footer>
        <div class="credit">
          Powered by <a href="https://github.com/sorah/corpshort">sorah/corpshort</a>
        </div>
      </footer>
    </div>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
corpshort-0.2.0 app/views/layout.erb
corpshort-0.1.0 app/views/layout.erb