Skip to content

Commit

Permalink
Neuroaesthetic Changes
Browse files Browse the repository at this point in the history
See #1331
mdsimpson42 committed Feb 9, 2024
1 parent 5baa090 commit 4967c4a
Showing 6 changed files with 151 additions and 155 deletions.
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ const SliderDataEntry: React.FunctionComponent<SliderDataEntryProps> = (props) =
/>
</div>
<p className="slider-score">
Your score: {props.value?props.value:"None"} <span className="slider-average">Average: {props.average} ({props.votes} votes)</span>
Your score: {props.value?props.value:"Not yet entered"} <span className="slider-average">Average: {props.average} ({props.votes} voters)</span>
</p>
</Fragment>
);
7 changes: 7 additions & 0 deletions app/src/frontend/building/data-containers/community.css
Original file line number Diff line number Diff line change
@@ -8,4 +8,11 @@
width: 100%;
padding-right: 10px;
margin-bottom: 10px;
}

.subtitle {
margin-top: 10px;
margin-bottom: 0px;
font-size: large;
font-weight: bold;
}
274 changes: 129 additions & 145 deletions app/src/frontend/building/data-containers/community.tsx

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions app/src/frontend/building/sidebar.css
Original file line number Diff line number Diff line change
@@ -199,6 +199,7 @@ dd {
}

.slider-container {
margin-top: 10px;
margin-left: 10px;
margin-right: 15px;
margin-bottom: 50px;
18 changes: 9 additions & 9 deletions app/src/frontend/config/data-fields-config.ts
Original file line number Diff line number Diff line change
@@ -137,7 +137,7 @@ export const buildingUserFields = {
community_building_worth_keeping: {
perUser: true,
category: Category.Community,
title: "Would you like to see this **type** of building kept?",
title: "Do you think this **type** of building is worth keeping?",
tooltip: "Please tick the box if you think this kind of building should be kept by our towns and cities for the future?",
example: true,
},
@@ -177,8 +177,8 @@ export const buildingUserFields = {
community_building_worth_keeping_based_on: {
perUser: true,
category: Category.Community,
title: "Are your answers above based on:",
tooltip: "What are your answers to the above questions based on, please select an answer.",
title: "How well do you know this building?",
tooltip: "What are your answers to the questions below based on, please select an answer.",
example: "",
items: [
"Local knowledge of the building",
@@ -258,37 +258,37 @@ export const buildingUserFields = {

community_building_hominess: {
category: Category.Community,
title: "Hominess - How homey and relaxing does the building’s exterior feel to you?",
title: "Hominess of the building’s exterior.",
tooltip: `Based on <a href="https://www.sciencedirect.com/science/article/pii/S0010945220300332?casa_token=WiBFU-E3AGcAAAAA:6qOymtPLh1gxvgLXiVSD8OAhbOY37-ErO3NehKj4vEnhZr-uR2lCU-vFcbGDE8IN8UkI8Ug">Coburn et. al</a>.`,
example: 3,
},
community_building_coherence: {
category: Category.Community,
title: "Coherence - How coherent and well-organized does the buildings exterior feel to you?",
title: "Coherence of the building's exterior",
tooltip: `Based on <a href="https://www.sciencedirect.com/science/article/pii/S0010945220300332?casa_token=WiBFU-E3AGcAAAAA:6qOymtPLh1gxvgLXiVSD8OAhbOY37-ErO3NehKj4vEnhZr-uR2lCU-vFcbGDE8IN8UkI8Ug">Coburn et. al</a>.`,
example: 3,
},
community_building_fascination: {
category: Category.Community,
title: "Fascination - How fascinating and complex does the buildings exterior feel to you?",
title: "Fascination of the building's exterior",
tooltip: `Based on <a href="https://www.sciencedirect.com/science/article/pii/S0010945220300332?casa_token=WiBFU-E3AGcAAAAA:6qOymtPLh1gxvgLXiVSD8OAhbOY37-ErO3NehKj4vEnhZr-uR2lCU-vFcbGDE8IN8UkI8Ug">Coburn et. al</a>.`,
example: 3,
},
community_streetscape_hominess: {
category: Category.Community,
title: "Hominess - How homey and relaxing does the streetscape feel to you?",
title: "Hominess of the surrounding streetscape.",
tooltip: `Based on <a href="https://www.sciencedirect.com/science/article/pii/S0010945220300332?casa_token=WiBFU-E3AGcAAAAA:6qOymtPLh1gxvgLXiVSD8OAhbOY37-ErO3NehKj4vEnhZr-uR2lCU-vFcbGDE8IN8UkI8Ug">Coburn et. al</a>.`,
example: 3,
},
community_streetscape_coherence: {
category: Category.Community,
title: "Coherence - How coherent and well-organized does the streetscape feel to you?",
title: "Coherence of the surrounding streetscape.",
tooltip: `Based on <a href="https://www.sciencedirect.com/science/article/pii/S0010945220300332?casa_token=WiBFU-E3AGcAAAAA:6qOymtPLh1gxvgLXiVSD8OAhbOY37-ErO3NehKj4vEnhZr-uR2lCU-vFcbGDE8IN8UkI8Ug">Coburn et. al</a>.`,
example: 3,
},
community_streetscape_fascination: {
category: Category.Community,
title: "Fascination - How fascinating and complex does the streetscape feel to you?",
title: "Fascination of the surrounding streetscape.",
tooltip: `Based on <a href="https://www.sciencedirect.com/science/article/pii/S0010945220300332?casa_token=WiBFU-E3AGcAAAAA:6qOymtPLh1gxvgLXiVSD8OAhbOY37-ErO3NehKj4vEnhZr-uR2lCU-vFcbGDE8IN8UkI8Ug">Coburn et. al</a>.`,
example: 3,
},
4 changes: 4 additions & 0 deletions app/src/frontend/map/map-button.css
Original file line number Diff line number Diff line change
@@ -146,6 +146,10 @@
background-color: paleturquoise !important;
}

.key-button-disabled {
background-color: lightgrey !important;
}

.sub-subcategory-button {
width: 395px;
}

0 comments on commit 4967c4a

Please sign in to comment.