Sha256: 10c183507feb523170d8dd01b0e99686774677702b89f2c141e6565460b069ad

Contents?: true

Size: 1.94 KB

Versions: 26

Compression:

Stored size: 1.94 KB

Contents

<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
  <title>Good Job Dashboard</title>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
  <%= csrf_meta_tags %>
  <%= csp_meta_tag %>

  <%# Do not use asset tag helpers to avoid paths being overriden by config.asset_host %>
  <%= tag.link rel: "stylesheet", href: frontend_static_path(:bootstrap, format: :css, v: GoodJob::VERSION, locale: nil), nonce: content_security_policy_nonce %>
  <%= tag.link rel: "stylesheet", href: frontend_static_path(:style, format: :css, v: GoodJob::VERSION, locale: nil), nonce: content_security_policy_nonce %>

  <%= tag.script "", src: frontend_static_path(:bootstrap, format: :js, v: GoodJob::VERSION, locale: nil), nonce: content_security_policy_nonce %>
  <%= tag.script "", src: frontend_static_path(:chartjs, format: :js, v: GoodJob::VERSION, locale: nil), nonce: content_security_policy_nonce %>
  <%= tag.script "", src: frontend_static_path(:rails_ujs, format: :js, v: GoodJob::VERSION, locale: nil), nonce: content_security_policy_nonce %>

  <%= tag.script "", src: frontend_static_path(:es_module_shims, format: :js, v: GoodJob::VERSION, locale: nil), async: true, nonce: content_security_policy_nonce %>
  <% importmaps = GoodJob::FrontendsController.js_modules.keys.index_with { |module_name| frontend_module_path(module_name, format: :js, locale: nil, v: GoodJob::VERSION) } %>
  <%= tag.script({ imports: importmaps }.to_json.html_safe, type: "importmap", nonce: content_security_policy_nonce) %>
  <%= tag.script "", type: "module", nonce: content_security_policy_nonce do %> import "application"; <% end %>
</head>
<body>
  <div class="d-flex flex-column min-vh-100">
    <%= render "good_job/shared/navbar" %>

    <div class="container-fluid flex-grow-1 relative">
      <%= render "good_job/shared/alert" %>

      <%= yield %>
    </div>

    <%= render "good_job/shared/footer" %>
  </div>
</body>
</html>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
good_job-3.14.2 app/views/layouts/good_job/application.html.erb
good_job-3.14.1 app/views/layouts/good_job/application.html.erb
good_job-3.14.0 app/views/layouts/good_job/application.html.erb
good_job-3.13.0 app/views/layouts/good_job/application.html.erb
good_job-3.12.8 app/views/layouts/good_job/application.html.erb
good_job-3.12.7 app/views/layouts/good_job/application.html.erb