Sha256: 309046478ddfe57b4e8730307c99ac00f81be51854ece0887659f06dca0b0ee4

Contents?: true

Size: 1.88 KB

Versions: 3

Compression:

Stored size: 1.88 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Conte</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <%= stylesheet_link_tag    "application", :media => "all" %>
  <%= javascript_include_tag "application" %>
  <%= yield :js %>
  <%= csrf_meta_tags %>
</head>
<body>
  <div id="page" class="container-fluid">
    <div class="row-fluid">
      <div id="sidebar" class="span2">
        <div id="logo-bg">
          <div id="logo"></div>
        </div>
        <%= render_navigation(level: 1..2, renderer: :navigation_renderer, expand_all: true) %>
      </div>
      <div id="main" class="span10">
        <div id="header">
          <div class="container-fluid">
            <div class="row-fluid">
              <div class="span6">
                <%= render :partial => 'shared/breadcrumbs' %>
              </div>
              <div class="span6">
                <ul class="nav pull-right user-section">
                  <%- if user_signed_in? %>
                  <li class="dropdown">
                    <a href="javascript:void(0);" class="dropdown-toggle"><%= t("labels.welcome")%>, <strong><%= current_user.email %></strong> <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                      <li>
                        <%= link_to(t("buttons.sign_out"), destroy_user_session_path, :method=>'delete') %>
                      </li>
                    </ul>
                  </li>
                  <% else %>
                  <li><%= link_to t("buttons.sign_in"), :user_session %></li>
                  <% end -%>
                </ul>
              </div>
            </div>
          </div>
          
        </div>

        <%= render :partial => 'shared/page_toolbar' %>

        <%= render :partial => 'shared/notification' %>

        <div id="content">
          <%= yield %>
        </div>
      </div>
    </div>
  </div>
  
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
conte_rails_template-0.1.9 lib/generators/conte_rails_template/templates/layout.html.erb
conte_rails_template-0.1.8 lib/generators/conte_rails_template/templates/layout.html.erb
conte_rails_template-0.1.7 lib/generators/conte_rails_template/templates/layout.html.erb