Sha256: 0273e0ed72f102e290a32208c049c221aa79fbf333a604b60dc9937c8d416970

Contents?: true

Size: 1.97 KB

Versions: 4

Compression:

Stored size: 1.97 KB

Contents

<!DOCTYPE html>
<html lang="en">
<head>
  <title><%= Spud::Core.config.site_name %> Admin</title>
  <%= stylesheet_link_tag *Spud::Core.config.admin_stylesheets %>
  <%= javascript_include_tag *Spud::Core.config.admin_javascripts %>
  <%= csrf_meta_tags %>
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <meta name="viewport" content="width=device-width"/>
  <%= yield :head %>
</head>
<body>
<% if Spud::Core.production_alert_domain %>
  <div class="production-alert-header">
    <p><strong>Notice:</strong> This is a staging version of your website. To update your live website, please <%= link_to 'log in to production.', "http://#{Spud::Core.production_alert_domain}/admin" %></p>
  </div>
<% end %>
<div id="header">
  <div class="container">
  	<%= link_to '/' do %>
      <h1><%= Spud::Core.config.site_name %></h1>
    <% end %>
    <% if current_user %>
    	<div class="pull-right">
    		Hello <%= current_user.full_name %> |
        <%= link_to "Settings", admin_settings_path %> |
        <%= link_to "Logout", admin_logout_path %>
    	</div>
    <% end %>
  </div>
</div>

<div class="container">

  <ol class="breadcrumb">
    <%= render_breadcrumbs :tag => :li, :separator => "" %>
  </ol>

  <%= render :partial => '/layouts/admin/flashes' %>

  <%= content_for?(:content) ? yield(:content) : yield %>
</div>

<div class="modal fade" id="modal_window">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title"></h4>
      </div>
      <div class="modal-body">
        <p>One fine body&hellip;</p>
      </div>
      <div class="modal-footer modal-footer-default">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary form-submit">Save changes</button>
      </div>
    </div>
  </div>
</div>


</body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tb_core-1.3.3 app/views/layouts/admin/application.html.erb
tb_core-1.3.2 app/views/layouts/admin/application.html.erb
tb_core-1.3.1 app/views/layouts/admin/application.html.erb
tb_core-1.3.0 app/views/layouts/admin/application.html.erb