Sha256: edc3e5e2aac7ec996195d51f91cfc3828192d1cfda9fb6448bbef2ec5f461369

Contents?: true

Size: 1.74 KB

Versions: 8

Compression:

Stored size: 1.74 KB

Contents

<!doctype html>

<html>
<head>
  <title><%= Manifest.configuration.app_name %></title>

  <%= stylesheet_link_tag 'manifest/main' %>
  <%= javascript_include_tag 'manifest/main' %>
  <%= csrf_meta_tags %>

  <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">

  <!-- Google Web Fonts -->
  <link href='http://fonts.googleapis.com/css?family=Oswald|PT+Sans:400,700' rel='stylesheet' type='text/css'>
</head>
<body>
  <div class='app-nav'>
    <h1><%= link_to Manifest.configuration.app_name, manifest_path %></h1>

    <nav class='list'>
      <ul>
        <li><%= link_to 'Pages', manifest_pages_path %></li>
        <li><%= link_to 'Content Blocks', manifest_content_blocks_path %></li>

        <% Manifest.configuration.data_types.each do |d| %>
          <li><%= link_to d[:nav_name], eval("#{d[:route]}") %></li>
        <% end %>

        <li><%= link_to 'Visit Site', '/', target: '_blank', :"data-skip-pjax" => true %></li>
        <li><%= link_to 'Log Out', manifest_logout_path, :"data-skip-pjax" => true %></li>
      </ul>
    </nav>

    <select class='nav-select'>
      <option value='' selected='selected'>Select</option>

      <option value='<%= manifest_pages_path %>'>Pages</option>
      <option value='<%= manifest_content_blocks_path %>'>Content Blocks</option>

      <% Manifest.configuration.data_types.each do |d| %>
        <option value='<%= eval("#{d[:route]}") %>'><%= d[:nav_name] %></option>
      <% end %>

      <option value='/'>Visit Site</option>
      <option value='<%= manifest_logout_path %>'>Log Out</option>
    </select>
  </div><!-- app-nav -->

  <div class='app-content'>
    <div class='loader' style='display:none'>hi</div>
    <%= yield %>
  </div><!-- app-content -->
</body>
</html>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
manifest-rails-0.2.8 app/views/layouts/manifest/manifest.html.erb
manifest-rails-0.2.7 app/views/layouts/manifest/manifest.html.erb
manifest-rails-0.2.6 app/views/layouts/manifest/manifest.html.erb
manifest-rails-0.2.5 app/views/layouts/manifest/manifest.html.erb
manifest-rails-0.2.4 app/views/layouts/manifest/manifest.html.erb
manifest-rails-0.2.3 app/views/layouts/manifest/manifest.html.erb
manifest-rails-0.2.2 app/views/layouts/manifest/manifest.html.erb
manifest-rails-0.2.1 app/views/layouts/manifest/manifest.html.erb