Sha256: 98f59427389e37fbd5c20fd93fec8e012f4e32644c369a065f50c49a5c820b53

Contents?: true

Size: 1.41 KB

Versions: 7

Compression:

Stored size: 1.41 KB

Contents

<%#
# Application Layout

This view template is used as the layout
for every page that Administrate generates.

By default, it renders:
- Navigation
- Content for a search bar
  (if provided by a `content_for` block in a nested page)
- Flashes
- Links to stylesheets and JavaScripts
%>

<!DOCTYPE html>
<html lang="<%%= I18n.locale %>">
  <head>
    <meta charset="utf-8">
    <meta name="robots" content="noodp, noydir, index, follow">
    <meta name="viewport" content="initial-scale=1">
    <%%- set_meta_tags title: (content_for(:title) || 'Dashboard') %>
    <%%= display_meta_tags site: '<%= app_name.titleize %>' %>
<%- unless options[:skip_javascript] -%>
    <%%= javascript_pack_tag 'administrate'<%= options[:skip_turbolinks] ? '' : ", 'data-turbolinks-track': 'reload'" -%> %>
<%- end -%>
    <%%= render "stylesheet" %>
    <%%= csrf_meta_tags %>
<%- unless options[:skip_turbolinks] || options[:skip_javascript] -%>
    <meta name="turbolinks-root" content="/admin">
<%- end -%>
  </head>
  <body>
    <div class="app-container">
      <%%= render "navigation" -%>
      <main class="main-content" role="main">
        <%%= render "flashes" -%>
        <%%= yield %>
      </main>
    </div>
    <div style="display: none; width: 0; height: 0; overflow: hidden; position: absolute">
      <%%= render "icons" %>
    </div>
<%- unless options[:skip_javascript] -%>
    <%%= render "javascript" %>
<%- end -%>
  </body>
</html>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kowl-0.0.7 lib/kowl/templates/app/views/layouts/admin.html.erb.tt
kowl-0.0.6 lib/kowl/templates/app/views/layouts/admin.html.erb.tt
kowl-0.0.5 lib/kowl/templates/app/views/layouts/admin.html.erb.tt
kowl-0.0.4 lib/kowl/templates/app/views/layouts/admin.html.erb.tt
kowl-0.0.3 lib/kowl/templates/app/views/layouts/admin.html.erb.tt
kowl-0.0.2 lib/kowl/templates/app/views/layouts/admin.html.erb.tt
kowl-0.0.1 lib/kowl/templates/app/views/layouts/admin.html.erb.tt