split out navigation into submenus

This commit is contained in:
rebuilt 2022-10-18 20:11:44 -07:00
parent 73320db93d
commit 11ba2ebcc8
9 changed files with 103 additions and 47 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

View file

@ -0,0 +1,5 @@
class ConstructionController < ApplicationController
def index
end
end

View file

@ -0,0 +1,5 @@
class WorkWithEcpController < ApplicationController
def index
end
end

View file

@ -1,9 +1,11 @@
module NavHelper
def link_highlight(path:)
active?(path:) ? 'active' : ''
def link_highlight(paths:)
active?(paths:) ? 'active' : ''
end
def active?(path:)
current_page?(path)
def active?(paths:)
paths.any? do |path|
current_page?(path)
end
end
end

View file

@ -0,0 +1,5 @@
<div class="container px-5">
<div class="row gx-5 justify-content-center">
<%= image_tag "underconstruction.avif" %>
</div>
</div>

View file

@ -1,3 +1,5 @@
<%# <li><hr class="dropdown-divider"></li> %>
<!-- Responsive navbar-->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container px-5">
@ -5,13 +7,47 @@
<button class="navbar-toggler" type="button" data-bs-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 ms-auto mb-2 mb-lg-0">
<li class="nav-item"><%= link_to "Home", root_path, class: "nav-link " + link_highlight(path: "/") %></li>
<li class="nav-item"><%= link_to "School Quality Measures", sqm_index_path, class: "nav-link " + link_highlight(path: sqm_index_path) %></li>
<li class="nav-item"><%= link_to "Quality Performance Assessment", qpa_index_path, class: "nav-link " + link_highlight(path: qpa_index_path) %></li>
<li class="nav-item"><%= link_to "Team", team_index_path, class: "nav-link " + link_highlight(path: team_index_path) %></li>
<li class="nav-item"><%= link_to "Resources", resource_index_path, class: "nav-link " + link_highlight(path: resource_index_path) %></li>
<li class="nav-item"><%= link_to "About", about_index_path, class: "nav-link " + link_highlight(path: about_index_path) %></li>
<ul class="nav navbar-nav ms-auto mb-2 mb-lg-0">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle <%= link_highlight(paths: [sqm_index_path, qpa_index_path]) %>" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Our Work
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li ><%= link_to "School Quality Measures", sqm_index_path, class: "dropdown-item" %></li>
<li class="nav-item"><%= link_to "Quality Performance Assessment", qpa_index_path, class: "dropdown-item"%></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle <%= link_highlight(paths: [construction_index_path, resource_index_path]) %> " href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Research & Resources
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li class="nav-item"><%= link_to "Research", construction_index_path, class: "dropdown-item" %></li>
<li class="nav-item"><%= link_to "Resources", resource_index_path, class: "dropdown-item" %></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle <%= link_highlight(paths: [construction_index_path, team_index_path]) %>" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
About Us
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li class="nav-item"><%= link_to "History", construction_index_path, class: "dropdown-item" %></li>
<li class="nav-item"><%= link_to "Team", team_index_path, class: "dropdown-item"%></li>
<li class="nav-item"><%= link_to "Board of Directors", construction_index_path, class: "dropdown-item" %></li>
<li class="nav-item"><%= link_to "Funders", construction_index_path, class: "dropdown-item" %></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle <%= link_highlight(paths: [construction_index_path, team_index_path]) %>" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Work with ECP
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li class="nav-item"><%= link_to "Work With ECP", work_with_ecp_index_path, class: "dropdown-item"%></li>
<li class="nav-item"><%= link_to "District Leaders", construction_index_path, class: "dropdown-item" %></li>
<li class="nav-item"><%= link_to "Educators", construction_index_path, class: "dropdown-item" %></li>
<li class="nav-item"><%= link_to "Community Members", construction_index_path, class: "dropdown-item" %></li>
</ul>
</li>
</ul>
</div>
</div>

View file

@ -16,41 +16,6 @@
<div class="container px-5">
<div class="row gx-5 justify-content-center">
<div class="text-center my-5">
<h2 class="h2 fw-bolder">How to Work with ECP</h2>
<p> There are unlimited ways to engage with ECP! Here are some possibilities:
</div>
<div class="grid-container">
<div class="grid-item"><h2 class="fw-bolder">District Leaders</h2></div>
<div class="grid-item"><h2 class="fw-bolder">School Leaders</h2></div>
<div class="grid-item"><h2 class="fw-bolder">Educators and Community Members</h2></div>
<div class="grid-item">
<p> District leaders can adopt the ECP data dashboard and use it to inform district improvement efforts. The district would administer student and teacher perception surveys, and the ECP team would collect all of the other data required for the dashboard analysis. ECP will also assist in the analysis of the data and its implications for improvement strategies. </p>
<p> Districts may choose to build their own data dashboard using any components they want from the ECP dashboard, as well as any other components they identify as important to their own school communities. The ECP team will facilitate this customization process. </p>
<p> For districts interested in joining the Massachusetts Consortium for Innovative Education Assessment, ECP will build their capacity to make this possible. </p>
</div>
<div class="grid-item">
<p>If a school or district leader wants to launch the creation of performance assessments across an academic department, a grade level, or a school, ECP will provide the guidance and resources to do this successfully.</p>
<p>School leaders can administer ECPs student or educator perception surveys as standalone data collection instruments. These surveys have been rigorously field-tested, and the ECP team will offer support in survey data analysis.</p>
<p>The ECP team can assist educational leaders in developing team-oriented “walkthroughs” as measures of school performance, and support the analysis of the data collected. </p>
</div>
<div class="grid-item">
<p>Individual teachers who want to use high quality performance assessments for their students can access any of the numerous performance assessments that have already been developed and validated. If they want to design their own, the ECP team will provide guidance and coaching.</p>
<p>ECP is available to work with educators who are interested in developing their own protocols for data use in professional learning communities or as part of other school improvement efforts.</p>
<p>If families and community members want to learn more about assessment and accountability, ECP will give presentations that can be easily understood by people who do not work in the field of education. </p>
</div>
</div>
<div class="py-5">
<p class="grid-item text-center h3">
Our work together can begin with the ECP team talking with you or your group
about the need for an alternative approach to assessing student learning and school quality,
and about the free tools we offer.
</p>
</div>
<div>
<h3 >
The Education Commonwealth Project provides free resources to rethink how school quality and student learning are measured.

View file

@ -0,0 +1,37 @@
<div class="container px-5">
<div class="row gx-5 justify-content-center">
<div class="text-center my-5">
<h2 class="h2 fw-bolder">How to Work with ECP</h2>
<p> There are unlimited ways to engage with ECP! Here are some possibilities:
</div>
<div class="grid-container">
<div class="grid-item"><h2 class="fw-bolder">District Leaders</h2></div>
<div class="grid-item"><h2 class="fw-bolder">School Leaders</h2></div>
<div class="grid-item"><h2 class="fw-bolder">Educators and Community Members</h2></div>
<div class="grid-item">
<p> District leaders can adopt the ECP data dashboard and use it to inform district improvement efforts. The district would administer student and teacher perception surveys, and the ECP team would collect all of the other data required for the dashboard analysis. ECP will also assist in the analysis of the data and its implications for improvement strategies. </p>
<p> Districts may choose to build their own data dashboard using any components they want from the ECP dashboard, as well as any other components they identify as important to their own school communities. The ECP team will facilitate this customization process. </p>
<p> For districts interested in joining the Massachusetts Consortium for Innovative Education Assessment, ECP will build their capacity to make this possible. </p>
</div>
<div class="grid-item">
<p>If a school or district leader wants to launch the creation of performance assessments across an academic department, a grade level, or a school, ECP will provide the guidance and resources to do this successfully.</p>
<p>School leaders can administer ECPs student or educator perception surveys as standalone data collection instruments. These surveys have been rigorously field-tested, and the ECP team will offer support in survey data analysis.</p>
<p>The ECP team can assist educational leaders in developing team-oriented “walkthroughs” as measures of school performance, and support the analysis of the data collected. </p>
</div>
<div class="grid-item">
<p>Individual teachers who want to use high quality performance assessments for their students can access any of the numerous performance assessments that have already been developed and validated. If they want to design their own, the ECP team will provide guidance and coaching.</p>
<p>ECP is available to work with educators who are interested in developing their own protocols for data use in professional learning communities or as part of other school improvement efforts.</p>
<p>If families and community members want to learn more about assessment and accountability, ECP will give presentations that can be easily understood by people who do not work in the field of education. </p>
</div>
</div>
<div class="py-5">
<p class="grid-item text-center h3">
Our work together can begin with the ECP team talking with you or your group
about the need for an alternative approach to assessing student learning and school quality,
and about the free tools we offer.
</p>
</div>
</div>
</div>

View file

@ -5,7 +5,8 @@ Rails.application.routes.draw do
resources :sqm, only: :index
resources :qpa, only: :index
resources :resource, only: :index
resources :work_with_ecp, only: :index
resources :construction, only: :index
root 'home#index'
end