Sha256: 44b5c2693d6d9a5e762b9fae2536bceaeadba286245fe056bfb801fb36856223

Contents?: true

Size: 1.54 KB

Versions: 22

Compression:

Stored size: 1.54 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title><%= Settings.app.name %></title>
  <link rel="shortcut icon" href="/assets/favicon.ico" />
  <%= stylesheet_link_tag "application", :media => "all" %>
  <%= javascript_include_tag "application" %>
  <%= yield :js %>
  <%= csrf_meta_tags %>
</head>
<body>
  <div id="main-container">
    <header>
      <div id="logo" class="pull-left"></div>
      <ul id="user-menu-panel" class="pull-right clearfix">
        <%- 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>
    </header>
    <div id="main-content">
      <%= render_navigation renderer: :top_navigation_bar %>
      <div id="main" class="clearfix">
        <%= render_navigation renderer: :sub_navigation_bar, expand_all: true %>
        <div class="content">
          <%= render partial: 'shared/components/notification' %>
          <%= yield %>
        </div>
      </div>
    </div>

    <footer>
      <span class="copyright">tida &copy; 2013 All Rights Reserved.</span>
    </footer>
  </div>

  <%= yield :anything_else %>
  <%= stylesheet_link_tag "retina", :media => "all" %>
</body>
</html>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
tida_template-0.3.2 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.3.1 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.3.0 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.2.9 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.2.8 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.2.7 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.2.6 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.2.5 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.2.2 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.2.0 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.1.9 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.1.7 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.1.5 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.1.3 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.1.2 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.1.1 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.0.7 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.0.6 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.0.5 lib/generators/tida_template/templates/app/views/layouts/application.html.erb
tida_template-0.0.4 lib/generators/tida_template/templates/app/views/layouts/application.html.erb