Sha256: 6a2fbe63a819bb630901c3324527f552657d7191d2232eb22a0c8e570f6d3fc2

Contents?: true

Size: 1.94 KB

Versions: 7

Compression:

Stored size: 1.94 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title><%= Brightcontent.application_name %></title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="robots" content="noindex" />
  <%= stylesheet_link_tag "brightcontent/brightcontent", :media => "all" %>
  <%= yield :head %>
  <%= csrf_meta_tags %>
</head>

<body data-editor-locale="<%=t('brightcontent.editor_locale')%>">
  <% if current_user %>
    <div class="navbar navbar-inverse navbar-bc navbar-static-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <%= link_to Brightcontent.application_name, root_path, class: "navbar-brand" %>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav js-menu">
            <%= render "menu" %>
          </ul>
          <ul class="nav navbar-nav navbar-right">
            <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <%= image_tag avatar_url(current_user), class: 'avatar' %>
              <%= current_user.email %><b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <%= render "brightcontent/application/user_menu" %>
            </ul>
            </li>
          </ul>
        </div>
      </div>
    </div>
  <% end %>

  <div class="container">
    <div class="<%= "panel panel-default" unless controller.controller_name == 'sessions' %>">
      <%= render "brightcontent/application/show_flash_names" %>
      <%= yield %>
    </div>
  </div>
</div>

<%= javascript_include_tag "brightcontent/brightcontent" %>
<%= yield :bottom %>
</body>
</html>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
brightcontent-core-2.4.6 app/views/layouts/brightcontent/application.html.erb
brightcontent-core-2.4.5 app/views/layouts/brightcontent/application.html.erb
brightcontent-core-2.4.4 app/views/layouts/brightcontent/application.html.erb
brightcontent-core-2.4.3 app/views/layouts/brightcontent/application.html.erb
brightcontent-core-2.4.2 app/views/layouts/brightcontent/application.html.erb
brightcontent-core-2.4.1 app/views/layouts/brightcontent/application.html.erb
brightcontent-core-2.4.0 app/views/layouts/brightcontent/application.html.erb