Sha256: 4aeb7a290c06cd00988245502d87fba5b6f39e73d504d5106fb738130f2065c9

Contents?: true

Size: 1.85 KB

Versions: 5

Compression:

Stored size: 1.85 KB

Contents

<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
  <head>
    <meta charset="UTF-8">
    <title><%= html_title %></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <%= yield :meta_tags %>
    <%= stylesheet_link_tag 'application', :media => 'all', 'data-turbolinks-track' => true %>
    <%= yield :stylesheet_tags %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
    <script type="text/javascript">
      Symphonia.routes.reorderImagesPath = '<%= symphonia.reorder_attachment_path %>';
    </script>
    <%= yield :javascript_tags %>
    <%= csrf_meta_tags %>
  </head>
  <body class="controller-<%= controller_name %> action-<%= action_name %>" data-menu-item="<%= @menu_item.to_sym %>">
    <header data-turbolinks-permanent>
      <nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
        <!--<a class="navbar-brand" href="#">Navbar</a>-->
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
          <%= fa_icon('bars') %>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">
          <%= render_menu(:top_menu) %>
          <%= render_menu(:top_menu_account, { container_class: 'mr-right' }) %>
        </div>
      </nav>
    </header>

    <div id="main" class="container">
      <slot id="flash_messages" name="flash_messages"><%= render_flash_messages.html_safe -%></slot>
      <%= yield %>
    </div>
    <footer class="footer d-print-none">
      <div class="container text-center">
        &copy; Lukáš Pokorný
        <%= yield :footer %>
      </div>
    </footer>

    <div id="ajax-indicator" style="display:none"><i class="fa fa-spinner fa-spin fa-large"></i></div>
  </body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
symphonia-3.1.0 app/views/layouts/symphonia/application.html.erb
symphonia-3.0.3 app/views/layouts/symphonia/application.html.erb
symphonia-3.0.2 app/views/layouts/symphonia/application.html.erb
symphonia-3.0.1 app/views/layouts/symphonia/application.html.erb
symphonia-3.0.0 app/views/layouts/symphonia/application.html.erb