Change energy to sustainability

This commit is contained in:
Maciej Ziarkowski 2019-08-12 17:57:01 +01:00
parent ab14d2af25
commit 3cb853b90d
3 changed files with 14 additions and 14 deletions

View File

@ -347,54 +347,54 @@
}, },
{ {
"inactive": true, "inactive": true,
"title": "Energy", "title": "Sustainability",
"slug": "energy", "slug": "sustainability",
"intro": "Are buildings energy efficient? Coming soon…", "intro": "Are buildings energy efficient? Coming soon…",
"help": "https://pages.colouring.london/sustainability", "help": "https://pages.colouring.london/sustainability",
"fields": [ "fields": [
{ {
"title": "Energy Performance Certificate (EPC) rating", "title": "Energy Performance Certificate (EPC) rating",
"disabled": true, "disabled": true,
"slug": "energy_epc_band_current", "slug": "sustainability_epc_band_current",
"type": "text_list", "type": "text_list",
"options": ["A", "B", "C", "D", "E", "F", "G"] "options": ["A", "B", "C", "D", "E", "F", "G"]
}, },
{ {
"title": "Display Energy Certificate (DEC)", "title": "Display Energy Certificate (DEC)",
"disabled": true, "disabled": true,
"slug": "energy_dec_band_current", "slug": "sustainability_dec_band_current",
"type": "text_list", "type": "text_list",
"options": ["A", "B", "C", "D", "E", "F", "G"] "options": ["A", "B", "C", "D", "E", "F", "G"]
}, },
{ {
"title": "BREEAM Rating", "title": "BREEAM Rating",
"disabled": true, "disabled": true,
"slug": "energy_breeam_rating", "slug": "sustainability_breeam_rating",
"type": "number", "type": "number",
"step": 1 "step": 1
}, },
{ {
"title": "Year of last significant retrofit", "title": "Year of last significant retrofit",
"disabled": true, "disabled": true,
"slug": "energy_last_retrofit_date", "slug": "sustainability_last_retrofit_date",
"type": "number", "type": "number",
"step": 1 "step": 1
}, },
{ {
"title": "Embodied carbon estimation (for discussion)", "title": "Embodied carbon estimation (for discussion)",
"slug": "energy_embodied_carbon", "slug": "sustainability_embodied_carbon",
"type": "text", "type": "text",
"disabled": true "disabled": true
}, },
{ {
"title": "Adaptability/repairability rating (for discussion)", "title": "Adaptability/repairability rating (for discussion)",
"slug": "energy_adaptability_rating", "slug": "sustainability_adaptability_rating",
"type": "text", "type": "text",
"disabled": true "disabled": true
}, },
{ {
"title": "Expected lifespan (for discussion)", "title": "Expected lifespan (for discussion)",
"slug": "energy_expected_lifespan", "slug": "sustainability_expected_lifespan",
"type": "number", "type": "number",
"step": 1, "step": 1,
"disabled": true "disabled": true

View File

@ -65,8 +65,8 @@ const LEGEND_CONFIG = {
title: 'Team', title: 'Team',
elements: [] elements: []
}, },
energy: { sustainability: {
title: 'Energy', title: 'Sustainability',
elements: [] elements: []
}, },
greenery: { greenery: {

View File

@ -165,11 +165,11 @@
.section-header.team.active > a::before { .section-header.team.active > a::before {
color: #6f879c; color: #6f879c;
} }
.section-header.active.energy { .section-header.active.sustainability {
border-bottom-color: #5ec232; border-bottom-color: #5ec232;
} }
.section-header.energy:hover > a::before, .section-header.sustainability:hover > a::before,
.section-header.energy.active > a::before { .section-header.sustainability.active > a::before {
color: #5ec232; color: #5ec232;
} }
.section-header.active.greenery { .section-header.active.greenery {