Sha256: 7e63005bceb5b38e71b5aed7415f1268ea5fadfaa8d7fee413ad2631c6bf4820

Contents?: true

Size: 1.85 KB

Versions: 13

Compression:

Stored size: 1.85 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", media: "screen", href: bootstrap_path(format: :css, v: GoodJob::VERSION, locale: nil), nonce: content_security_policy_nonce %>
  <%= tag.link rel: "stylesheet", media: "screen", href: style_path(format: :css, v: GoodJob::VERSION, locale: nil), nonce: content_security_policy_nonce %>

  <%= tag.script "", src: bootstrap_path(format: :js, v: GoodJob::VERSION, locale: nil), nonce: content_security_policy_nonce %>
  <%= tag.script "", src: chartjs_path(format: :js, v: GoodJob::VERSION, locale: nil), nonce: content_security_policy_nonce %>
  <%= tag.script "", src: rails_ujs_path(format: :js, v: GoodJob::VERSION, locale: nil), nonce: content_security_policy_nonce %>

  <%= tag.script "", src: es_module_shims_path(format: :js, v: GoodJob::VERSION, locale: nil), async: true, nonce: content_security_policy_nonce %>
  <% importmaps = { imports: GoodJob::AssetsController.js_modules.keys.index_with { |module_name| modules_path(module_name, format: :js, locale: nil, v: GoodJob::VERSION) } } %>
  <%= tag.script 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

13 entries across 13 versions & 1 rubygems

Version Path
good_job-3.12.5 app/views/layouts/good_job/application.html.erb
good_job-3.12.4 app/views/layouts/good_job/application.html.erb
good_job-3.12.3 app/views/layouts/good_job/application.html.erb
good_job-3.12.2 app/views/layouts/good_job/application.html.erb
good_job-3.12.1 app/views/layouts/good_job/application.html.erb
good_job-3.12.0 app/views/layouts/good_job/application.html.erb
good_job-3.11.1 app/views/layouts/good_job/application.html.erb
good_job-3.11.0 app/views/layouts/good_job/application.html.erb
good_job-3.10.1 app/views/layouts/good_job/application.html.erb
good_job-3.10.0 app/views/layouts/good_job/application.html.erb
good_job-3.9.0 app/views/layouts/good_job/application.html.erb
good_job-3.8.0 app/views/layouts/good_job/application.html.erb
good_job-3.7.4 app/views/layouts/good_job/application.html.erb