2026-02-02 20:34:35 +00:00
|
|
|
.container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Header Section */
|
|
|
|
|
.header {
|
2026-02-04 12:14:28 +00:00
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
padding: 1.25rem 1.5rem;
|
2026-03-25 10:34:19 +00:00
|
|
|
margin-bottom: 0;
|
2026-02-04 12:14:28 +00:00
|
|
|
box-shadow: var(--shadow-soft);
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.headerContent {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: flex-start;
|
2026-02-04 12:14:28 +00:00
|
|
|
gap: 1.5rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.titleSection {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName {
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 1.5rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
font-weight: 700;
|
2026-02-04 12:14:28 +00:00
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
margin-bottom: 0.5rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
line-height: 1.2;
|
2026-02-04 12:14:28 +00:00
|
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
2026-02-04 12:14:28 +00:00
|
|
|
gap: 0.5rem;
|
|
|
|
|
margin-bottom: 0.5rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metaItem {
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
padding: 0.125rem 0.5rem;
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
border-radius: 3px;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.address {
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 0.875rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
margin: 0 0 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Expanded header details (headteacher, website, trust, pupils) */
|
|
|
|
|
.headerDetails {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0.5rem 1.25rem;
|
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.headerDetail {
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.headerDetail strong {
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.headerDetail a {
|
|
|
|
|
color: var(--accent-teal, #2d7d7d);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.headerDetail a:hover {
|
|
|
|
|
text-decoration: underline;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
|
display: flex;
|
2026-02-04 12:14:28 +00:00
|
|
|
gap: 0.5rem;
|
|
|
|
|
flex-shrink: 0;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnAdd,
|
|
|
|
|
.btnRemove {
|
2026-02-04 12:14:28 +00:00
|
|
|
padding: 0.5rem 1rem;
|
2026-03-23 22:53:09 +00:00
|
|
|
font-size: 0.875rem;
|
2026-02-04 12:14:28 +00:00
|
|
|
font-weight: 600;
|
2026-02-02 20:34:35 +00:00
|
|
|
border: none;
|
2026-02-04 12:14:28 +00:00
|
|
|
border-radius: 6px;
|
2026-02-02 20:34:35 +00:00
|
|
|
cursor: pointer;
|
2026-02-04 12:14:28 +00:00
|
|
|
transition: all 0.2s ease;
|
2026-02-02 20:34:35 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnAdd {
|
2026-02-04 12:14:28 +00:00
|
|
|
background: var(--accent-coral, #e07256);
|
2026-02-02 20:34:35 +00:00
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnAdd:hover {
|
2026-02-04 12:14:28 +00:00
|
|
|
background: var(--accent-coral-dark, #c45a3f);
|
|
|
|
|
transform: translateY(-1px);
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnRemove {
|
2026-02-04 12:14:28 +00:00
|
|
|
background: var(--accent-teal, #2d7d7d);
|
2026-02-02 20:34:35 +00:00
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnRemove:hover {
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
/* ── Sticky Section Navigation ──────────────────────── */
|
|
|
|
|
.sectionNav {
|
|
|
|
|
position: sticky;
|
2026-03-25 11:44:54 +00:00
|
|
|
top: 3.5rem;
|
2026-03-25 10:34:19 +00:00
|
|
|
z-index: 10;
|
|
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
border-top: none;
|
|
|
|
|
border-radius: 0 0 10px 10px;
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
scrollbar-width: none;
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
.sectionNav::-webkit-scrollbar {
|
|
|
|
|
display: none;
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
.sectionNavInner {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
gap: 0.375rem;
|
2026-03-25 11:13:55 +00:00
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionNavBack {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0.3rem 0.625rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--accent-coral, #e07256);
|
|
|
|
|
background: none;
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
transition: all 0.15s ease;
|
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionNavBack:hover {
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
border-color: var(--accent-coral, #e07256);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionNavDivider {
|
|
|
|
|
width: 1px;
|
|
|
|
|
height: 1rem;
|
|
|
|
|
background: var(--border-color, #e5dfd5);
|
|
|
|
|
margin: 0 0.25rem;
|
|
|
|
|
flex-shrink: 0;
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
.sectionNavLink {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.3rem 0.625rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: all 0.15s ease;
|
|
|
|
|
white-space: nowrap;
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
.sectionNavLink:hover {
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
/* Unified card for all content sections */
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
.card {
|
|
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
padding: 1.25rem 1.5rem;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
box-shadow: var(--shadow-soft);
|
2026-03-25 11:13:55 +00:00
|
|
|
scroll-margin-top: 6rem;
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-04 12:14:28 +00:00
|
|
|
/* Section Title */
|
2026-02-02 20:34:35 +00:00
|
|
|
.sectionTitle {
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 1.125rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
font-weight: 600;
|
2026-02-04 12:14:28 +00:00
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
margin-bottom: 0.875rem;
|
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
|
border-bottom: 2px solid var(--border-color, #e5dfd5);
|
|
|
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.375rem;
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
flex-wrap: wrap;
|
2026-02-04 12:14:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionTitle::before {
|
|
|
|
|
content: '';
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 3px;
|
|
|
|
|
height: 1em;
|
|
|
|
|
background: var(--accent-coral, #e07256);
|
|
|
|
|
border-radius: 2px;
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
flex-shrink: 0;
|
2026-02-04 12:14:28 +00:00
|
|
|
}
|
|
|
|
|
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
.sectionSubtitle {
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
margin: -0.5rem 0 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
/* Response count badge */
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
.responseBadge {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-family: var(--font-dm-sans), sans-serif;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
padding: 0.1rem 0.5rem;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
margin-left: auto;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
.subSectionTitle {
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
margin: 1.25rem 0 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
/* Parent recommendation line in Ofsted section */
|
|
|
|
|
.parentRecommendLine {
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
margin: 0.5rem 0 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.parentRecommendLine strong {
|
|
|
|
|
color: var(--accent-teal, #2d7d7d);
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
/* Metrics Grid & Cards */
|
2026-02-02 20:34:35 +00:00
|
|
|
.metricsGrid {
|
|
|
|
|
display: grid;
|
2026-02-04 12:14:28 +00:00
|
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
|
|
|
gap: 0.75rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metricCard {
|
2026-02-04 12:14:28 +00:00
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
padding: 0.75rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metricLabel {
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 0.6875rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
margin-bottom: 0.25rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
font-weight: 500;
|
2026-02-04 12:14:28 +00:00
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.03em;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metricValue {
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 1.25rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
font-weight: 700;
|
2026-02-04 12:14:28 +00:00
|
|
|
color: var(--text-primary, #1a1612);
|
2026-02-02 20:34:35 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2026-02-04 12:14:28 +00:00
|
|
|
gap: 0.25rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
.metricHint {
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
margin-top: 0.3rem;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Progress score colour coding */
|
|
|
|
|
.progressPositive {
|
|
|
|
|
color: var(--accent-teal, #2d7d7d);
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progressNegative {
|
|
|
|
|
color: var(--accent-coral, #e07256);
|
|
|
|
|
font-weight: 700;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
/* ── Semantic status colours (unified) ────────────── */
|
|
|
|
|
.statusGood {
|
|
|
|
|
background: rgba(45, 125, 125, 0.10);
|
|
|
|
|
color: var(--accent-teal, #2d7d7d);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.statusWarn {
|
|
|
|
|
background: rgba(201, 162, 39, 0.12);
|
|
|
|
|
color: #b8920e;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.statusBad {
|
|
|
|
|
background: rgba(224, 114, 86, 0.12);
|
|
|
|
|
color: var(--accent-coral, #e07256);
|
|
|
|
|
}
|
|
|
|
|
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
/* Charts Section */
|
2026-02-02 20:34:35 +00:00
|
|
|
.chartContainer {
|
|
|
|
|
width: 100%;
|
2026-02-04 12:14:28 +00:00
|
|
|
height: 280px;
|
2026-02-02 20:34:35 +00:00
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-04 12:14:28 +00:00
|
|
|
/* Detailed Metrics - Compact Grid Layout */
|
|
|
|
|
.metricGroupsGrid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
gap: 1rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-04 12:14:28 +00:00
|
|
|
.metricGroup {
|
2026-02-02 20:34:35 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metricGroupTitle {
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 0.875rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
font-weight: 600;
|
2026-02-04 12:14:28 +00:00
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
padding-bottom: 0.375rem;
|
|
|
|
|
border-bottom: 1px solid var(--border-color, #e5dfd5);
|
2026-02-02 20:34:35 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-02-04 12:14:28 +00:00
|
|
|
gap: 0.375rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metricTable {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-02-04 12:14:28 +00:00
|
|
|
gap: 0.375rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metricRow {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2026-02-04 12:14:28 +00:00
|
|
|
padding: 0.375rem 0.625rem;
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
border-radius: 4px;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metricName {
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 0.75rem;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metricRow .metricValue {
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 0.875rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
font-weight: 600;
|
2026-02-04 12:14:28 +00:00
|
|
|
color: var(--accent-teal, #2d7d7d);
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
/* Map */
|
2026-02-02 20:34:35 +00:00
|
|
|
.mapContainer {
|
|
|
|
|
width: 100%;
|
2026-02-04 12:14:28 +00:00
|
|
|
height: 250px;
|
|
|
|
|
border-radius: 8px;
|
2026-02-02 20:34:35 +00:00
|
|
|
overflow: hidden;
|
2026-02-04 12:14:28 +00:00
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
2026-03-25 11:52:08 +00:00
|
|
|
isolation: isolate;
|
|
|
|
|
z-index: 0;
|
|
|
|
|
position: relative;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
/* History Table */
|
2026-02-02 20:34:35 +00:00
|
|
|
.tableWrapper {
|
|
|
|
|
overflow-x: auto;
|
2026-02-04 12:14:28 +00:00
|
|
|
margin-top: 0.5rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
.historicalSubtitle {
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
margin: 1.25rem 0 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-02 20:34:35 +00:00
|
|
|
.dataTable {
|
|
|
|
|
width: 100%;
|
|
|
|
|
border-collapse: collapse;
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 0.8125rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dataTable thead {
|
2026-02-04 12:14:28 +00:00
|
|
|
background: var(--bg-secondary, #f3ede4);
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dataTable th {
|
2026-02-04 12:14:28 +00:00
|
|
|
padding: 0.625rem 0.75rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
text-align: left;
|
|
|
|
|
font-weight: 600;
|
2026-02-04 12:14:28 +00:00
|
|
|
font-size: 0.6875rem;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.03em;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
border-bottom: 2px solid var(--border-color, #e5dfd5);
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dataTable td {
|
2026-02-04 12:14:28 +00:00
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
border-bottom: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dataTable tbody tr:last-child td {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dataTable tbody tr:hover {
|
2026-02-04 12:14:28 +00:00
|
|
|
background: var(--bg-secondary, #f3ede4);
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.yearCell {
|
|
|
|
|
font-weight: 600;
|
2026-02-04 12:14:28 +00:00
|
|
|
color: var(--accent-gold, #c9a227);
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
/* Ofsted */
|
|
|
|
|
.ofstedHeader {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
flex-wrap: wrap;
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
gap: 0.75rem;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ofstedGrade {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.3rem 0.75rem;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ofstedGrade1 { background: rgba(45, 125, 125, 0.12); color: var(--accent-teal, #2d7d7d); }
|
|
|
|
|
.ofstedGrade2 { background: rgba(60, 140, 60, 0.12); color: #3c8c3c; }
|
|
|
|
|
.ofstedGrade3 { background: rgba(201, 162, 39, 0.15); color: #b8920e; }
|
|
|
|
|
.ofstedGrade4 { background: rgba(224, 114, 86, 0.15); color: var(--accent-coral, #e07256); }
|
|
|
|
|
|
2026-03-25 12:00:12 +00:00
|
|
|
.ofstedDisclaimer {
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
font-style: italic;
|
|
|
|
|
margin: 0 0 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
.ofstedDate {
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
}
|
|
|
|
|
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
.ofstedPrevious {
|
|
|
|
|
font-size: 0.8125rem;
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
.ofstedReportLink {
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
color: var(--accent-teal, #2d7d7d);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ofstedReportLink:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
/* Parent View */
|
|
|
|
|
.parentViewGrid {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.parentViewRow {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.parentViewLabel {
|
|
|
|
|
flex: 0 0 18rem;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.parentViewBar {
|
|
|
|
|
flex: 1;
|
|
|
|
|
height: 0.5rem;
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.parentViewFill {
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: var(--accent-teal, #2d7d7d);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: width 0.4s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.parentViewPct {
|
|
|
|
|
flex: 0 0 2.75rem;
|
|
|
|
|
text-align: right;
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-25 10:34:19 +00:00
|
|
|
/* Admissions badge — uses unified status colours */
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
.admissionsBadge {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.35rem;
|
|
|
|
|
padding: 0.3rem 0.75rem;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
margin-top: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Deprivation dot scale */
|
|
|
|
|
.deprivationDots {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.375rem;
|
|
|
|
|
margin: 0.75rem 0 0.5rem;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.deprivationDot {
|
|
|
|
|
width: 1.25rem;
|
|
|
|
|
height: 1.25rem;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
border: 2px solid var(--border-color, #e5dfd5);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.deprivationDotFilled {
|
|
|
|
|
background: var(--accent-teal, #2d7d7d);
|
|
|
|
|
border-color: var(--accent-teal, #2d7d7d);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.deprivationDesc {
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.deprivationScaleLabel {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
font-size: 0.7rem;
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
margin-top: 0.25rem;
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Progress note */
|
|
|
|
|
.progressNote {
|
|
|
|
|
margin-top: 0.75rem;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted);
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
|
|
|
|
|
/* ── Responsive ──────────────────────────────────────── */
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.headerContent {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnAdd,
|
|
|
|
|
.btnRemove {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName {
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 0.375rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metricsGrid {
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.metricGroupsGrid {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chartContainer {
|
|
|
|
|
height: 220px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mapContainer {
|
|
|
|
|
height: 200px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dataTable {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dataTable th,
|
|
|
|
|
.dataTable td {
|
|
|
|
|
padding: 0.5rem 0.375rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
|
.parentViewRow {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 0.25rem;
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.parentViewLabel {
|
fix(admissions): switch to EES content API + correct publication slug and columns
The EES statistics API only exposes ~13 publications; admissions data is not
among them. Switch to the EES content API (content.explore-education-statistics.
service.gov.uk) which covers all publications.
- ees.py: add get_content_release_id() and download_release_zip_csv() that
fetch the release ZIP and extract a named CSV member from it
- admissions.py: use corrected slug (primary-and-secondary-school-applications-
and-offers), correct column names from actual CSV (school_urn,
total_number_places_offered, times_put_as_1st_preference, etc.), derive
first_preference_offers_pct from offer/application ratio, filter to primary
schools only, keep most recent year per URN
Also includes SchoolDetailView UX redesign: parent-first section ordering,
plain-English labels, national average benchmarks, progress score colour
coding, expanded header, quick summary strip, and CSS consolidation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:06:36 +00:00
|
|
|
flex: none;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.parentViewBar {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.parentViewPct {
|
|
|
|
|
flex: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card {
|
|
|
|
|
padding: 1rem;
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
}
|
|
|
|
|
}
|