engine/app/views/layouts/good_job/base.html.erb in good_job-1.9.4 vs engine/app/views/layouts/good_job/base.html.erb in good_job-1.9.5

- old
+ new

@@ -3,33 +3,29 @@ <head> <title>Good Job Dashboard</title> <%= csrf_meta_tags %> <%= csp_meta_tag %> - <style> - <%== render file: GoodJob::Engine.root.join("app", "assets", "vendor", "bootstrap", "bootstrap.css") %> - <%== render file: GoodJob::Engine.root.join("app", "assets", "vendor", "chartist", "chartist.css") %> - <%== render file: GoodJob::Engine.root.join("app", "assets", "style.css") %> - </style> + <%= stylesheet_link_tag bootstrap_css_path(v: GoodJob::VERSION) %> + <%= stylesheet_link_tag chartist_css_path(v: GoodJob::VERSION) %> + <%= stylesheet_link_tag style_css_path(v: GoodJob::VERSION) %> - <script> - <%== render file: GoodJob::Engine.root.join("app", "assets", "vendor", "bootstrap", "bootstrap-native.js") %> - <%== render file: GoodJob::Engine.root.join("app", "assets", "vendor", "chartist", "chartist.js") %> - </script> + <%= javascript_include_tag bootstrap_js_path(v: GoodJob::VERSION) %> + <%= javascript_include_tag chartist_js_path(v: GoodJob::VERSION) %> </head> <body> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <div class="container-fluid"> <%= link_to "GoodJob 👍", root_path, class: 'navbar-brand mb-0 h1' %> - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> + <button class="navbar-toggler" type="button" data-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> - <ul class="navbar-nav mr-auto"> + <ul class="navbar-nav me-auto"> <li class="nav-item"> <%= link_to root_path, class: ["nav-link", ("active" if current_page?(root_path))] do %> - All jobs <span class="badge badge-secondary">More views coming soon</span> + All jobs <span class="badge bg-secondary">More views coming soon</span> <% end %> </li> <!-- Coming Soon <li class="nav-item">