chore: install cssbundling rails and set up compilation

This commit is contained in:
Nelson Jovel 2024-01-05 21:29:23 -08:00
parent 09ab4d214e
commit 99ef1cb2c8
4670 changed files with 393937 additions and 25 deletions

View file

@ -1,2 +1,2 @@
//= link_directory ../stylesheets/dashboard .css
//= link_directory ../stylesheets/dashboard .scss
//= link_tree ../images/dashboard

View file

@ -18,9 +18,8 @@
action: "change->form#submit"
}) do |f| %>
<%= turbo_frame_tag "schools" do %>
<div class="d-flex">
<% if District.count > 1 %>
<% if @districts.count > 1 %>
<div class="row">
<%= f.select :district, @districts,
{include_blank: "Select a District", selected: params[:district] } , {id: "district-dropdown", class: "form-select", hidden: @districts.count == 1} %>
@ -40,7 +39,6 @@
</div>
<% end %>
<% end %>
</div>
</div>
@ -52,7 +50,7 @@
<div class="row">
<div class="col-lg-5 framework-wheel-container">
<div>
<%= image_tag('framework_wheel.png', alt: 'School Quality Framework Wheel') %>
<%= image_tag('dashboard/framework_wheel.png', alt: 'School Quality Framework Wheel') %>
</div>
<p class="mt-5">The School Quality Measures Framework aims to describe the full measure of what makes a good

View file

@ -5,7 +5,7 @@
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= stylesheet_link_tag "dashboard/application", media: "all" %>
<%= stylesheet_link_tag "application", media: "all" %>
</head>
<body>