Sha256: f832a6282aec7220cd02d7e8dff276a4bd6725c0240fdc854c3bf977de6f7016

Contents?: true

Size: 896 Bytes

Versions: 3

Compression:

Stored size: 896 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <title><%= local_assigns[:scrapbook]&.name || 'Scrapbook' %>: <%= content_for?(:title) ? yield(:title) : local_assigns[:pathname]&.basename %></title>
  <%= csrf_meta_tags %>
  <%= csp_meta_tag %>

  <%= stylesheet_link_tag "scrapbook/application", media: "all", "data-turbo-track": "reload" %>
  <%= javascript_include_tag "scrapbook/application" %>
  <meta name="scrapbook-root" content="<%= root_path %>">
</head>
<body class="flex">
  <nav id="folder_listing" class="flex-none min-w-[20ch] max-w-[50%] h-screen overflow-scroll border-solid border-sky-700 border-0 border-r"><%= render 'layouts/scrapbook/folder_listing', scrapbook: local_assigns[:scrapbook], pathname: local_assigns[:pathname], nav_depth: 0 %></nav>
  <main class="py-2 px-4 h-screen w-screen overflow-scroll"><%= yield %></main>
  <script type="text/javascript">

  </script>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scrapbook-0.3.2 app/views/layouts/scrapbook/application.html.erb
scrapbook-0.3.1 app/views/layouts/scrapbook/application.html.erb
scrapbook-0.3.0 app/views/layouts/scrapbook/application.html.erb