Sha256: 13269ab03e156cc87e3734d4e85d2e9222942bc1e57185faeff6acbf0edac8fe

Contents?: true

Size: 1.83 KB

Versions: 2

Compression:

Stored size: 1.83 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' %>

        <%= yield %>
      </div>
    </div>
  </div>
  
</body>
</html>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
tida_conte_template-0.1.19 lib/generators/tida_conte_template/templates/layout.html.erb
conte_rails_template-0.1.11 lib/generators/conte_rails_template/templates/layout.html.erb