Sha256: a340e11043d7667afc1d8ffaa8600c32946289e3c2994e1d9a53bcc55b903b0a

Contents?: true

Size: 1012 Bytes

Versions: 3

Compression:

Stored size: 1012 Bytes

Contents

<% cookies[:dark_mode] ||= Rails.configuration.marty.dark_mode_default.to_s %>

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css"
	  integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
	  crossorigin="anonymous">
    <title><%= ::Marty::RailsApp.application_name %></title>
    <%= load_netzke theme: Rails.configuration.marty.extjs_theme %>
    <%= csrf_meta_tag %>
    <%= javascript_include_tag 'marty/application' %>
    <%= stylesheet_link_tag 'marty/application' %>
    <%= javascript_include_tag 'application' if javascript_exists?('application') %>
    <%= stylesheet_link_tag 'application' if stylesheet_exists?('application') %>
    <% if cookies[:dark_mode] == 'true' %>
      <%= stylesheet_link_tag 'marty/dark_mode', media: 'all', 'data-turbolinks-track': 'reload' %>
    <% end %>
  </head>
  <body>
    <%= yield %>
  </body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
marty-14.3.0 app/views/layouts/marty/application.html.erb
marty-14.0.0 app/views/layouts/marty/application.html.erb
marty-13.0.2 app/views/layouts/marty/application.html.erb