Sha256: 3a0408907cd2a3cb9c849c2a46bf5f9393f25a90270d69f89b4153b5640f1c66

Contents?: true

Size: 1.94 KB

Versions: 2

Compression:

Stored size: 1.94 KB

Contents

<!DOCTYPE html>
<html lang="<%=I18n.locale%>">
  <head>
    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><%= Settings.app_name rescue "Thecore" %></title>

    <%= tag("link", rel: "manifest", href: asset_path("manifest.json", skip_pipeline: true)) %>
    <meta name="turbolinks-cache-control" content="no-cache">

    <%# Getting all the assets needed by thecore from all the gems %>
    <%= get_asset_tags_for("thecore")%>
    <%= stylesheet_link_tag('application', media: 'all', 'data-turbolinks-track' => true) if ::Rails.application.assets.find_asset("application.css")%>
    <%= javascript_include_tag('application', 'data-turbolinks-track' => true) if ::Rails.application.assets.find_asset("application.js") %>
    
    <%= favicon_link_tag 'apple-touch-icon.png', rel: 'apple-touch-icon', sizes: "180x180" %>
    <%= favicon_link_tag 'favicon-32x32.png', rel: 'icon', sizes: "32x32" %>
    <%= favicon_link_tag 'favicon-16x16.png', rel: 'icon', sizes: "16x16" %>
    <%= favicon_link_tag 'safari-pinned-tab.svg', rel: 'mask-icon', color: "#5bbad5" %>
    <meta name="theme-color" content="#3b4e59">

    <%= csrf_meta_tags %>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]> <%= javascript_include_tag "ie" %> <![endif]-->
  </head>
  <body>
    <div class="jumbotron vertical-center">
      <div class="container">
        <div class="col-md-4 col-md-offset-4 text-center">
          <img class="main-menu-app-logo" style="width: 25%; max-width: 152px" src="<%= image_url('logo.png') %>"/>
        </div>
        <%- unless flash.empty? %>
        <div class="col-md-4 col-md-offset-4" style="margin-top: 1em;">
          <%= render partial: 'shared/flash' %>
        </div>
        <%-end%>
        <%= yield %>
      </div>
    </div>

    <%= render 'layouts/footer' %>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thecore_ui_commons-2.1.9 app/views/layouts/thecore.html.erb
thecore_ui_commons-2.1.8 app/views/layouts/thecore.html.erb