parent
93295624a5
commit
f397bf2065
@ -9,7 +9,7 @@ export const BoroughSwitcher: React.FC<{}> = () => {
|
|||||||
<form className={`borough-switcher map-button ${darkLightTheme}`} onSubmit={boroughSwitch}>
|
<form className={`borough-switcher map-button ${darkLightTheme}`} onSubmit={boroughSwitch}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
{(borough === 'enabled')? 'Switch off Borough Boundaries' : 'Switch on Borough Boundaries'}
|
{(borough === 'enabled')? 'Borough Boundaries on' : 'Borough Boundaries off'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
@ -9,7 +9,7 @@ export const ConservationAreaSwitcher: React.FC<{}> = (props) => {
|
|||||||
<form className={`conservation-switcher map-button ${darkLightTheme}`} onSubmit={conservationSwitch}>
|
<form className={`conservation-switcher map-button ${darkLightTheme}`} onSubmit={conservationSwitch}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
{(conservation === 'enabled')? 'Switch off Conservation Areas' : 'Switch on Conservation Areas'}
|
{(conservation === 'enabled')? 'Conservation Areas on' : 'Conservation Areas off'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
@ -9,7 +9,7 @@ export const CreativeSwitcher: React.FC<{}> = () => {
|
|||||||
<form className={`creative-switcher map-button ${darkLightTheme}`} onSubmit={creativeSwitch}>
|
<form className={`creative-switcher map-button ${darkLightTheme}`} onSubmit={creativeSwitch}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
{(creative === 'enabled')? 'Switch off Creative Enterprise Zones' : 'Switch on Creative Enterprise Zones'}
|
{(creative === 'enabled')? 'Enterprise Zones on' : 'Creative Enterprise Zones off'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
@ -9,7 +9,7 @@ export const FloodSwitcher: React.FC<{}> = () => {
|
|||||||
<form className={`flood-switcher map-button ${darkLightTheme}`} onSubmit={floodSwitch}>
|
<form className={`flood-switcher map-button ${darkLightTheme}`} onSubmit={floodSwitch}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
{(flood === 'enabled')? 'Switch off Flood Zones' : 'Switch on Flood Zones'}
|
{(flood === 'enabled')? 'Flood Zones on' : 'Flood Zones of'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
@ -9,7 +9,7 @@ export const HistoricDataSwitcher: React.FC<{}> = (props) => {
|
|||||||
<form className={`historic-data-switcher map-button ${darkLightTheme}`} onSubmit={historicDataSwitch}>
|
<form className={`historic-data-switcher map-button ${darkLightTheme}`} onSubmit={historicDataSwitch}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
{(historicData === 'enabled')? 'Switch off the OS 1890s Historical Map' : 'Switch on the OS 1890s Historical Map'}
|
{(historicData === 'enabled')? 'The OS 1890s Historical Map on' : 'The OS 1890s Historical Map off'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
@ -9,7 +9,7 @@ export const HousingSwitcher: React.FC<{}> = () => {
|
|||||||
<form className={`housing-switcher map-button ${darkLightTheme}`} onSubmit={housingSwitch}>
|
<form className={`housing-switcher map-button ${darkLightTheme}`} onSubmit={housingSwitch}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
{(housing === 'enabled')? 'Switch off Housing Zones' : 'Switch on Housing Zones'}
|
{(housing === 'enabled')? 'Housing Zones on' : 'Housing Zones off'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
@ -9,7 +9,7 @@ export const ParcelSwitcher: React.FC<{}> = () => {
|
|||||||
<form className={`parcel-switcher map-button ${darkLightTheme}`} onSubmit={parcelSwitch}>
|
<form className={`parcel-switcher map-button ${darkLightTheme}`} onSubmit={parcelSwitch}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
{(parcel === 'enabled')? 'Switch off Parcel (sample) overlay' : 'Switch on Parcel (sample) overlay'}
|
{(parcel === 'enabled')? 'Parcel overlay (sample) on' : 'Parcel overlay (sample) off'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
@ -9,7 +9,7 @@ export const VistaSwitcher: React.FC<{}> = () => {
|
|||||||
<form className={`vista-switcher map-button ${darkLightTheme}`} onSubmit={vistaSwitch}>
|
<form className={`vista-switcher map-button ${darkLightTheme}`} onSubmit={vistaSwitch}>
|
||||||
<button className="btn btn-outline btn-outline-dark"
|
<button className="btn btn-outline btn-outline-dark"
|
||||||
type="submit">
|
type="submit">
|
||||||
{(vista === 'enabled')? 'Switch off Protected Vistas' : 'Switch on Protected Vistas'}
|
{(vista === 'enabled')? 'Protected Vistas on' : 'Protected Vistas off'}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user