From aac52876283d77f3909cc584c86404ccc7e7c96c Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Mon, 28 Nov 2022 11:02:41 +0100 Subject: [PATCH] rebuild Building protection, Zone menus --- .../building/data-containers/planning.tsx | 451 +++++++++--------- app/src/frontend/components/info-box.tsx | 2 +- 2 files changed, 232 insertions(+), 221 deletions(-) diff --git a/app/src/frontend/building/data-containers/planning.tsx b/app/src/frontend/building/data-containers/planning.tsx index 3c3a495b..8bba6c21 100644 --- a/app/src/frontend/building/data-containers/planning.tsx +++ b/app/src/frontend/building/data-containers/planning.tsx @@ -3,6 +3,7 @@ import React, { Fragment } from 'react'; import InfoBox from '../../components/info-box'; import { dataFields } from '../../config/data-fields-config'; import CheckboxDataEntry from '../data-components/checkbox-data-entry'; +import { LogicalDataEntry } from '../data-components/logical-data-entry/logical-data-entry'; import NumericDataEntryWithFormattedLink from '../data-components/numeric-data-entry-with-formatted-link';import DataEntry from '../data-components/data-entry'; import { DataEntryGroup } from '../data-components/data-entry-group'; import SelectDataEntry from '../data-components/select-data-entry'; @@ -71,245 +72,66 @@ const PlanningView: React.FunctionComponent = (props) => ( /> */} - - - { return "https://historicengland.org.uk/listing/the-list/list-entry/" + id + "?section=official-list-entry" } } - linkDescriptionFunction={(id: String) => { return "ID Link" } } - /> - - - - - - { return "https://whc.unesco.org/en/list/" + id } } - linkDescriptionFunction={(id: String) => { return "ID Link" } } - /> - - - - - - - - - - - - - - - - - - + + Data in this section comes from the Greater London Authority's Planning London Datahub. Please check the original GLA source when using for planning purposes. + + - - + + + */} + - - + + + */} + - - + + + */} + - + {/* +
+ +
+ */} {/* = (props) => ( /> */}
- + + + This section provides information on heritage assets and building protection. To produce the most accurate spatial map possible we need to combine official data with crowdsourced data. Help us create this map together by checking, verifying and adding information. + + { return "https://historicengland.org.uk/listing/the-list/list-entry/" + id + "?section=official-list-entry" } } + linkDescriptionFunction={(id: String) => { return "ID Link" } } + /> + + + + + + { return "https://whc.unesco.org/en/list/" + id } } + linkDescriptionFunction={(id: String) => { return "ID Link" } } + /> + + + + + {/* + + + */} + + {/* + + + */} + + + + + + + + This section is designed to provide information on land parcels and their ownership type. Can you help us to crowdsource this information? + = ({msg, children, type = 'info'}) => (