EDIT::changed activities textfields to labels
This commit is contained in:
@@ -173,9 +173,9 @@ public class CalculatorController {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
addSliderListenerCarUsage(carTravelGasolineSlider, carTravelGasolineLabel, " km/L");
|
addSliderListenerCarUsage(carTravelGasolineSlider, carTravelGasolineLabel, " mpg");
|
||||||
addSliderListenerCarUsage(carTravelDieselSlider, carTravelDieselLabel, " km/L");
|
addSliderListenerCarUsage(carTravelDieselSlider, carTravelDieselLabel, " mpg");
|
||||||
addSliderListenerCarUsage(carTravelElectricSlider, carTravelElectricLabel, " km/Le");
|
addSliderListenerCarUsage(carTravelElectricSlider, carTravelElectricLabel, " mpge");
|
||||||
|
|
||||||
cleanEnergyPurchasedSlider.valueProperty().addListener(new ChangeListener<Number>() {
|
cleanEnergyPurchasedSlider.valueProperty().addListener(new ChangeListener<Number>() {
|
||||||
@Override
|
@Override
|
||||||
@@ -379,30 +379,30 @@ public class CalculatorController {
|
|||||||
"input_footprint_transportation_miles1",
|
"input_footprint_transportation_miles1",
|
||||||
carTravelGasolineField.getText());
|
carTravelGasolineField.getText());
|
||||||
}
|
}
|
||||||
if (!carTravelGasolineLabel.getText().replace(" km/L", "").equals("0")) {
|
if (!carTravelGasolineLabel.getText().replace(" mpg", "").equals("0")) {
|
||||||
userService.updateInput(userService.currentUser.getName(),
|
userService.updateInput(userService.currentUser.getName(),
|
||||||
"input_footprint_transportation_mpg1",
|
"input_footprint_transportation_mpg1",
|
||||||
carTravelGasolineLabel.getText().replace(" km/L", ""));
|
carTravelGasolineLabel.getText().replace(" mpg", ""));
|
||||||
}
|
}
|
||||||
if (!carTravelDieselField.getText().equals("0")) {
|
if (!carTravelDieselField.getText().equals("0")) {
|
||||||
userService.updateInput(userService.currentUser.getName(),
|
userService.updateInput(userService.currentUser.getName(),
|
||||||
"input_footprint_transportation_miles2",
|
"input_footprint_transportation_miles2",
|
||||||
carTravelDieselField.getText());
|
carTravelDieselField.getText());
|
||||||
}
|
}
|
||||||
if (!carTravelDieselLabel.getText().replace(" km/L", "").equals("0")) {
|
if (!carTravelDieselLabel.getText().replace(" mpg", "").equals("0")) {
|
||||||
userService.updateInput(userService.currentUser.getName(),
|
userService.updateInput(userService.currentUser.getName(),
|
||||||
"input_footprint_transportation_mpg2",
|
"input_footprint_transportation_mpg2",
|
||||||
carTravelDieselLabel.getText().replace(" km/L", ""));
|
carTravelDieselLabel.getText().replace(" mpg", ""));
|
||||||
}
|
}
|
||||||
if (!carTravelElectricField.getText().equals("0")) {
|
if (!carTravelElectricField.getText().equals("0")) {
|
||||||
userService.updateInput(userService.currentUser.getName(),
|
userService.updateInput(userService.currentUser.getName(),
|
||||||
"input_footprint_transportation_miles3",
|
"input_footprint_transportation_miles3",
|
||||||
carTravelElectricField.getText());
|
carTravelElectricField.getText());
|
||||||
}
|
}
|
||||||
if (!carTravelElectricLabel.getText().replace(" km/Le", "").equals("0")) {
|
if (!carTravelElectricLabel.getText().replace(" mpge", "").equals("0")) {
|
||||||
userService.updateInput(userService.currentUser.getName(),
|
userService.updateInput(userService.currentUser.getName(),
|
||||||
"input_footprint_transportation_mpg3",
|
"input_footprint_transportation_mpg3",
|
||||||
carTravelElectricLabel.getText().replace(" km/Le", ""));
|
carTravelElectricLabel.getText().replace(" mpge", ""));
|
||||||
}
|
}
|
||||||
if (!electricityField.getText().equals("0")) {
|
if (!electricityField.getText().equals("0")) {
|
||||||
userService.updateInput(userService.currentUser.getName(),
|
userService.updateInput(userService.currentUser.getName(),
|
||||||
|
|||||||
@@ -15,7 +15,11 @@ import javafx.scene.Node;
|
|||||||
import javafx.scene.Parent;
|
import javafx.scene.Parent;
|
||||||
import javafx.scene.Scene;
|
import javafx.scene.Scene;
|
||||||
import javafx.scene.chart.PieChart;
|
import javafx.scene.chart.PieChart;
|
||||||
import javafx.scene.control.*;
|
import javafx.scene.control.Button;
|
||||||
|
import javafx.scene.control.CheckBox;
|
||||||
|
import javafx.scene.control.Label;
|
||||||
|
import javafx.scene.control.TableColumn;
|
||||||
|
import javafx.scene.control.TableView;
|
||||||
import javafx.scene.control.cell.PropertyValueFactory;
|
import javafx.scene.control.cell.PropertyValueFactory;
|
||||||
import javafx.scene.layout.AnchorPane;
|
import javafx.scene.layout.AnchorPane;
|
||||||
import javafx.scene.shape.Line;
|
import javafx.scene.shape.Line;
|
||||||
@@ -95,57 +99,64 @@ public class DashBoardController {
|
|||||||
@FXML
|
@FXML
|
||||||
private Label usernameLabel;
|
private Label usernameLabel;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField peopleNumber;
|
private Label peopleNumber;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField income;
|
private Label income;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField electricityUsage;
|
private Label electricityUsage;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField cleanEnergy;
|
private Label cleanEnergy;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField naturalGasUsage;
|
private Label naturalGasUsage;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField heatingOilUsage;
|
private Label heatingOilUsage;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField waterUsage;
|
private Label waterUsage;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField livingSpace;
|
private Label livingSpace;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField gasolineMiles;
|
private Label gasolineMiles;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField gasolineMpg;
|
private Label gasolineMpg;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField dieselMiles;
|
private Label dieselMiles;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField dieselMpg;
|
private Label dieselMpg;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField electricMiles;
|
private Label electricMiles;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField electricMpg;
|
private Label electricMpg;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField publicTransportation;
|
private Label publicTransportation;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField airPlane;
|
private Label airPlane;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField goodShopping;
|
private Label goodShopping;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField serviceShopping;
|
private Label serviceShopping;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField meat;
|
private Label meat;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField grains;
|
private Label grains;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField dairy;
|
private Label dairy;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField fruits;
|
private Label fruits;
|
||||||
@FXML
|
@FXML
|
||||||
private TextField snacks;
|
private Label snacks;
|
||||||
|
|
||||||
|
//these need to be public because they are used by the calculatorController
|
||||||
|
//suppressing the checkstyle warnings because the fields have to be public
|
||||||
|
@SuppressWarnings("CheckStyle")
|
||||||
@FXML
|
@FXML
|
||||||
public CheckBox localProduce;
|
public CheckBox localProduce;
|
||||||
|
@SuppressWarnings("CheckStyle")
|
||||||
@FXML
|
@FXML
|
||||||
public CheckBox loweringTemp;
|
public CheckBox loweringTemp;
|
||||||
|
@SuppressWarnings("CheckStyle")
|
||||||
@FXML
|
@FXML
|
||||||
public CheckBox bike;
|
public CheckBox bike;
|
||||||
|
@SuppressWarnings("CheckStyle")
|
||||||
@FXML
|
@FXML
|
||||||
public CheckBox solarPanels;
|
public CheckBox solarPanels;
|
||||||
|
|
||||||
@@ -254,28 +265,33 @@ public class DashBoardController {
|
|||||||
friendsPane.setVisible(false);
|
friendsPane.setVisible(false);
|
||||||
Map<String, String> inputMap = userService.getInputs(userService.currentUser.getName());
|
Map<String, String> inputMap = userService.getInputs(userService.currentUser.getName());
|
||||||
peopleNumber.setText(inputMap.get("input_size"));
|
peopleNumber.setText(inputMap.get("input_size"));
|
||||||
income.setText(inputMap.get("input_income"));
|
income.setText(inputMap.get("input_income") + " €/yr");
|
||||||
electricityUsage.setText(inputMap.get("input_footprint_housing_electricity_dollars"));
|
electricityUsage.setText(inputMap.get("input_footprint_housing_electricity_dollars")
|
||||||
|
+ " €/yr");
|
||||||
cleanEnergy.setText(inputMap.get("input_footprint_housing_gco2_per_kwh"));
|
cleanEnergy.setText(inputMap.get("input_footprint_housing_gco2_per_kwh"));
|
||||||
naturalGasUsage.setText(inputMap.get("input_footprint_housing_naturalgas_dollars"));
|
naturalGasUsage.setText(inputMap.get("input_footprint_housing_naturalgas_dollars")
|
||||||
heatingOilUsage.setText(inputMap.get("input_footprint_housing_heatingoil_dollars"));
|
+ " €/yr");
|
||||||
waterUsage.setText(inputMap.get("input_footprint_housing_watersewage"));
|
heatingOilUsage.setText(inputMap.get("input_footprint_housing_heatingoil_dollars")
|
||||||
livingSpace.setText(inputMap.get("input_footprint_housing_squarefeet"));
|
+ " €/yr");
|
||||||
|
waterUsage.setText(inputMap.get("input_footprint_housing_watersewage") + " €/yr");
|
||||||
|
livingSpace.setText(inputMap.get("input_footprint_housing_squarefeet") + " m²");
|
||||||
gasolineMiles.setText(inputMap.get("input_footprint_transportation_miles1"));
|
gasolineMiles.setText(inputMap.get("input_footprint_transportation_miles1"));
|
||||||
gasolineMpg.setText(inputMap.get("input_footprint_transportation_mpg1"));
|
gasolineMpg.setText(inputMap.get("input_footprint_transportation_mpg1"));
|
||||||
dieselMiles.setText(inputMap.get("input_footprint_transportation_miles2"));
|
dieselMiles.setText(inputMap.get("input_footprint_transportation_miles2"));
|
||||||
dieselMpg.setText(inputMap.get("input_footprint_transportation_mpg2"));
|
dieselMpg.setText(inputMap.get("input_footprint_transportation_mpg2"));
|
||||||
electricMiles.setText(inputMap.get("input_footprint_transportation_miles3"));
|
electricMiles.setText(inputMap.get("input_footprint_transportation_miles3"));
|
||||||
electricMpg.setText(inputMap.get("input_footprint_transportation_mpg3"));
|
electricMpg.setText(inputMap.get("input_footprint_transportation_mpg3"));
|
||||||
publicTransportation.setText(inputMap.get("input_footprint_transportation_publictrans"));
|
publicTransportation.setText(inputMap.get("input_footprint_transportation_publictrans")
|
||||||
airPlane.setText(inputMap.get("input_footprint_transportation_airtotal"));
|
+ " mi/yr");
|
||||||
goodShopping.setText(inputMap.get("input_footprint_shopping_goods_total"));
|
airPlane.setText(inputMap.get("input_footprint_transportation_airtotal") + " mi/yr");
|
||||||
serviceShopping.setText(inputMap.get("input_footprint_shopping_services_total"));
|
goodShopping.setText(inputMap.get("input_footprint_shopping_goods_total") + " €/mo");
|
||||||
|
serviceShopping.setText(inputMap.get("input_footprint_shopping_services_total") + " €/mo");
|
||||||
meat.setText(inputMap.get("input_footprint_shopping_food_meatfisheggs"));
|
meat.setText(inputMap.get("input_footprint_shopping_food_meatfisheggs"));
|
||||||
grains.setText(inputMap.get("input_footprint_shopping_food_cereals"));
|
grains.setText(inputMap.get("input_footprint_shopping_food_cereals"));
|
||||||
dairy.setText(inputMap.get("input_footprint_shopping_food_dairy"));
|
dairy.setText(inputMap.get("input_footprint_shopping_food_dairy"));
|
||||||
fruits.setText(inputMap.get("input_footprint_shopping_food_fruitvegetables"));
|
fruits.setText(inputMap.get("input_footprint_shopping_food_fruitvegetables"));
|
||||||
snacks.setText(inputMap.get("input_footprint_shopping_food_otherfood"));
|
snacks.setText(inputMap.get("input_footprint_shopping_food_otherfood"));
|
||||||
|
localProduce.setSelected(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -178,7 +178,7 @@
|
|||||||
</TextField>
|
</TextField>
|
||||||
<HBox alignment="CENTER_LEFT" layoutX="419.0" layoutY="38.0" prefHeight="31.0" prefWidth="54.0" styleClass="km-yearBox">
|
<HBox alignment="CENTER_LEFT" layoutX="419.0" layoutY="38.0" prefHeight="31.0" prefWidth="54.0" styleClass="km-yearBox">
|
||||||
<children>
|
<children>
|
||||||
<Text layoutY="3.0" strokeType="OUTSIDE" strokeWidth="0.0" text="km/year" wrappingWidth="49.0">
|
<Text layoutY="3.0" strokeType="OUTSIDE" strokeWidth="0.0" text="mi/year" wrappingWidth="49.0">
|
||||||
<font>
|
<font>
|
||||||
<Font size="13.0" />
|
<Font size="13.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
<Slider fx:id="carTravelGasolineSlider" layoutX="14.0" layoutY="122.0" majorTickUnit="15.0" max="115.0" min="10.0" minorTickCount="0" prefHeight="14.0" prefWidth="453.0" showTickLabels="true" showTickMarks="true" />
|
<Slider fx:id="carTravelGasolineSlider" layoutX="14.0" layoutY="122.0" majorTickUnit="15.0" max="115.0" min="10.0" minorTickCount="0" prefHeight="14.0" prefWidth="453.0" showTickLabels="true" showTickMarks="true" />
|
||||||
<HBox alignment="CENTER" layoutX="204.0" layoutY="77.0" prefHeight="31.0" prefWidth="89.0" styleClass="km-indicator">
|
<HBox alignment="CENTER" layoutX="204.0" layoutY="77.0" prefHeight="31.0" prefWidth="89.0" styleClass="km-indicator">
|
||||||
<children>
|
<children>
|
||||||
<Label fx:id="carTravelGasolineLabel" alignment="TOP_CENTER" contentDisplay="CENTER" text="0 km/L">
|
<Label fx:id="carTravelGasolineLabel" alignment="TOP_CENTER" contentDisplay="CENTER" text="0 mpg">
|
||||||
<font>
|
<font>
|
||||||
<Font size="13.0" />
|
<Font size="13.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -197,7 +197,7 @@
|
|||||||
</HBox>
|
</HBox>
|
||||||
<HBox alignment="CENTER" layoutX="204.0" layoutY="239.0" prefHeight="31.0" prefWidth="89.0" styleClass="km-indicator">
|
<HBox alignment="CENTER" layoutX="204.0" layoutY="239.0" prefHeight="31.0" prefWidth="89.0" styleClass="km-indicator">
|
||||||
<children>
|
<children>
|
||||||
<Label fx:id="carTravelDieselLabel" alignment="TOP_CENTER" contentDisplay="CENTER" text="0 km/L">
|
<Label fx:id="carTravelDieselLabel" alignment="TOP_CENTER" contentDisplay="CENTER" text="0 mpg">
|
||||||
<font>
|
<font>
|
||||||
<Font size="13.0" />
|
<Font size="13.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -207,7 +207,7 @@
|
|||||||
<Slider fx:id="carTravelDieselSlider" layoutX="14.0" layoutY="285.0" majorTickUnit="15.0" max="115.0" min="10.0" minorTickCount="0" prefHeight="14.0" prefWidth="453.0" showTickLabels="true" showTickMarks="true" />
|
<Slider fx:id="carTravelDieselSlider" layoutX="14.0" layoutY="285.0" majorTickUnit="15.0" max="115.0" min="10.0" minorTickCount="0" prefHeight="14.0" prefWidth="453.0" showTickLabels="true" showTickMarks="true" />
|
||||||
<HBox alignment="CENTER_LEFT" layoutX="419.0" layoutY="200.0" prefHeight="31.0" prefWidth="54.0" styleClass="km-yearBox">
|
<HBox alignment="CENTER_LEFT" layoutX="419.0" layoutY="200.0" prefHeight="31.0" prefWidth="54.0" styleClass="km-yearBox">
|
||||||
<children>
|
<children>
|
||||||
<Text layoutY="3.0" strokeType="OUTSIDE" strokeWidth="0.0" text="km/year" wrappingWidth="49.0">
|
<Text layoutY="3.0" strokeType="OUTSIDE" strokeWidth="0.0" text="mi/year" wrappingWidth="49.0">
|
||||||
<font>
|
<font>
|
||||||
<Font size="13.0" />
|
<Font size="13.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -236,7 +236,7 @@
|
|||||||
</TextField>
|
</TextField>
|
||||||
<HBox alignment="CENTER_LEFT" layoutX="419.0" layoutY="365.0" prefHeight="31.0" prefWidth="54.0" styleClass="km-yearBox">
|
<HBox alignment="CENTER_LEFT" layoutX="419.0" layoutY="365.0" prefHeight="31.0" prefWidth="54.0" styleClass="km-yearBox">
|
||||||
<children>
|
<children>
|
||||||
<Text layoutY="3.0" strokeType="OUTSIDE" strokeWidth="0.0" text="km/year" wrappingWidth="49.0">
|
<Text layoutY="3.0" strokeType="OUTSIDE" strokeWidth="0.0" text="mi/year" wrappingWidth="49.0">
|
||||||
<font>
|
<font>
|
||||||
<Font size="13.0" />
|
<Font size="13.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -246,7 +246,7 @@
|
|||||||
<Slider fx:id="carTravelElectricSlider" layoutX="14.0" layoutY="450.0" majorTickUnit="15.0" max="115.0" min="10.0" minorTickCount="0" prefHeight="14.0" prefWidth="453.0" showTickLabels="true" showTickMarks="true" />
|
<Slider fx:id="carTravelElectricSlider" layoutX="14.0" layoutY="450.0" majorTickUnit="15.0" max="115.0" min="10.0" minorTickCount="0" prefHeight="14.0" prefWidth="453.0" showTickLabels="true" showTickMarks="true" />
|
||||||
<HBox alignment="CENTER" layoutX="204.0" layoutY="404.0" prefHeight="31.0" prefWidth="89.0" styleClass="km-indicator">
|
<HBox alignment="CENTER" layoutX="204.0" layoutY="404.0" prefHeight="31.0" prefWidth="89.0" styleClass="km-indicator">
|
||||||
<children>
|
<children>
|
||||||
<Label fx:id="carTravelElectricLabel" alignment="TOP_CENTER" contentDisplay="CENTER" text="0 km/Le">
|
<Label fx:id="carTravelElectricLabel" alignment="TOP_CENTER" contentDisplay="CENTER" text="0 mpge">
|
||||||
<font>
|
<font>
|
||||||
<Font size="13.0" />
|
<Font size="13.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -283,18 +283,18 @@
|
|||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="18.0" />
|
||||||
</font></TextField>
|
</font></TextField>
|
||||||
<HBox alignment="CENTER_LEFT" layoutX="659.0" layoutY="394.0" prefHeight="31.0" prefWidth="62.0" styleClass="km-yearBox">
|
<HBox alignment="CENTER_LEFT" layoutX="659.0" layoutY="398.0" prefHeight="31.0" prefWidth="62.0" styleClass="km-yearBox">
|
||||||
<children>
|
<children>
|
||||||
<Text layoutY="3.0" strokeType="OUTSIDE" strokeWidth="0.0" text="km/year" wrappingWidth="63.0">
|
<Text layoutY="3.0" strokeType="OUTSIDE" strokeWidth="0.0" text="mi/year" wrappingWidth="63.0">
|
||||||
<font>
|
<font>
|
||||||
<Font size="16.0" />
|
<Font size="16.0" />
|
||||||
</font>
|
</font>
|
||||||
</Text>
|
</Text>
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</HBox>
|
||||||
<HBox alignment="CENTER_LEFT" layoutX="659.0" layoutY="495.0" prefHeight="31.0" prefWidth="62.0" styleClass="km-yearBox">
|
<HBox alignment="CENTER_LEFT" layoutX="659.0" layoutY="499.0" prefHeight="31.0" prefWidth="62.0" styleClass="km-yearBox">
|
||||||
<children>
|
<children>
|
||||||
<Text layoutY="3.0" strokeType="OUTSIDE" strokeWidth="0.0" text="km/year" wrappingWidth="63.0">
|
<Text layoutY="3.0" strokeType="OUTSIDE" strokeWidth="0.0" text="mi/year" wrappingWidth="63.0">
|
||||||
<font>
|
<font>
|
||||||
<Font size="16.0" />
|
<Font size="16.0" />
|
||||||
</font>
|
</font>
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import javafx.scene.control.TableColumn?>
|
<?import javafx.scene.control.TableColumn?>
|
||||||
<?import javafx.scene.control.TableView?>
|
<?import javafx.scene.control.TableView?>
|
||||||
<?import javafx.scene.control.TextField?>
|
|
||||||
<?import javafx.scene.image.Image?>
|
<?import javafx.scene.image.Image?>
|
||||||
<?import javafx.scene.image.ImageView?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
<?import javafx.scene.layout.AnchorPane?>
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
@@ -16,7 +15,7 @@
|
|||||||
<?import javafx.scene.text.Font?>
|
<?import javafx.scene.text.Font?>
|
||||||
<?import javafx.scene.text.Text?>
|
<?import javafx.scene.text.Text?>
|
||||||
|
|
||||||
<AnchorPane prefHeight="702.0" prefWidth="1032.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="greenify.client.controller.DashBoardController">
|
<AnchorPane prefHeight="702.0" prefWidth="1032.0" xmlns="http://javafx.com/javafx/8.0.172-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="greenify.client.controller.DashBoardController">
|
||||||
<children>
|
<children>
|
||||||
<AnchorPane fx:id="menuBar" prefHeight="703.0" prefWidth="216.0" style="-fx-background-color: #5a635c;">
|
<AnchorPane fx:id="menuBar" prefHeight="703.0" prefWidth="216.0" style="-fx-background-color: #5a635c;">
|
||||||
<children>
|
<children>
|
||||||
@@ -57,28 +56,28 @@
|
|||||||
<Font size="30.0" />
|
<Font size="30.0" />
|
||||||
</font>
|
</font>
|
||||||
</Text>
|
</Text>
|
||||||
<Label alignment="CENTER" layoutX="20.0" layoutY="100.0" prefHeight="32.0" prefWidth="255.0" text="Get Started!" textAlignment="CENTER" textFill="#741010">
|
<Label alignment="CENTER" layoutX="20.0" layoutY="100.0" prefHeight="32.0" prefWidth="255.0" text="Get Started!" textAlignment="CENTER" textFill="#107222">
|
||||||
<font>
|
<font>
|
||||||
<Font name="System Bold Italic" size="18.0" />
|
<Font name="System Bold Italic" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<Pane layoutX="20.0" layoutY="130.0" prefHeight="142.0" prefWidth="255.0" style="-fx-background-color: #f4fff4;">
|
<Pane layoutX="20.0" layoutY="130.0" prefHeight="142.0" prefWidth="255.0" style="-fx-background-color: #f4fff4;">
|
||||||
<children>
|
<children>
|
||||||
<TextField fx:id="peopleNumber" layoutX="190.0" layoutY="70.0" prefHeight="40.0" prefWidth="62.0" />
|
|
||||||
<Label layoutX="14.0" layoutY="16.0" prefHeight="40.0" prefWidth="154.0" text="Number of people">
|
<Label layoutX="14.0" layoutY="16.0" prefHeight="40.0" prefWidth="154.0" text="Number of people">
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="income" layoutX="190.0" layoutY="16.0" prefHeight="40.0" prefWidth="62.0" />
|
|
||||||
<Label layoutX="14.0" layoutY="70.0" prefHeight="40.0" prefWidth="154.0" text="Household income">
|
<Label layoutX="14.0" layoutY="70.0" prefHeight="40.0" prefWidth="154.0" text="Household income">
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
|
<Label fx:id="income" layoutX="207.0" layoutY="28.0" styleClass="activityField" text=" " textAlignment="CENTER" />
|
||||||
|
<Label fx:id="peopleNumber" layoutX="204.0" layoutY="82.0" styleClass="activityField" text=" " textAlignment="CENTER" />
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</Pane>
|
||||||
<Label alignment="CENTER" layoutX="20.0" layoutY="275.0" prefHeight="32.0" prefWidth="255.0" text="Home!" textAlignment="CENTER" textFill="#741010">
|
<Label alignment="CENTER" layoutX="20.0" layoutY="275.0" prefHeight="32.0" prefWidth="255.0" text="Home!" textAlignment="CENTER" textFill="#107222">
|
||||||
<font>
|
<font>
|
||||||
<Font name="System Bold Italic" size="18.0" />
|
<Font name="System Bold Italic" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -90,40 +89,40 @@
|
|||||||
<Font size="18.0" />
|
<Font size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="electricityUsage" layoutX="190.0" layoutY="26.0" prefHeight="40.0" prefWidth="62.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="74.0" prefHeight="40.0" prefWidth="149.0" text="\% of clean energy prog.">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="74.0" prefHeight="40.0" prefWidth="149.0" text="\% of clean energy prog.">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="cleanEnergy" layoutX="190.0" layoutY="74.0" prefHeight="40.0" prefWidth="62.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="122.0" prefHeight="40.0" prefWidth="149.0" text="Natural gas usage">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="122.0" prefHeight="40.0" prefWidth="149.0" text="Natural gas usage">
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="naturalGasUsage" layoutX="190.0" layoutY="122.0" prefHeight="40.0" prefWidth="62.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="168.0" prefHeight="40.0" prefWidth="149.0" text="Heating oil usage">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="168.0" prefHeight="40.0" prefWidth="149.0" text="Heating oil usage">
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="heatingOilUsage" layoutX="190.0" layoutY="168.0" prefHeight="40.0" prefWidth="62.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="216.0" prefHeight="40.0" prefWidth="149.0" text="Water usage">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="216.0" prefHeight="40.0" prefWidth="149.0" text="Water usage">
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="waterUsage" layoutX="190.0" layoutY="216.0" prefHeight="40.0" prefWidth="62.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="264.0" prefHeight="40.0" prefWidth="149.0" text="Living space area">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="264.0" prefHeight="40.0" prefWidth="149.0" text="Living space area">
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="livingSpace" layoutX="190.0" layoutY="264.0" prefHeight="40.0" prefWidth="62.0" />
|
<Label fx:id="electricityUsage" layoutX="207.0" layoutY="38.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="cleanEnergy" layoutX="207.0" layoutY="86.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="naturalGasUsage" layoutX="207.0" layoutY="134.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="heatingOilUsage" layoutX="207.0" layoutY="180.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="waterUsage" layoutX="207.0" layoutY="228.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="livingSpace" layoutX="207.0" layoutY="276.0" styleClass="activityField" text="Label" />
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</Pane>
|
||||||
<Label alignment="CENTER" layoutX="290.0" layoutY="100.0" prefHeight="32.0" prefWidth="230.0" text="Travel!" textAlignment="CENTER" textFill="#741010">
|
<Label alignment="CENTER" layoutX="290.0" layoutY="100.0" prefHeight="32.0" prefWidth="230.0" text="Travel!" textAlignment="CENTER" textFill="#107222">
|
||||||
<font>
|
<font>
|
||||||
<Font name="System Bold Italic" size="18.0" />
|
<Font name="System Bold Italic" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -135,52 +134,52 @@
|
|||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="gasolineMiles" layoutX="170.0" layoutY="11.0" prefHeight="27.0" prefWidth="50.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="55.0" prefHeight="27.0" prefWidth="149.0" text="Gasoline mpg">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="55.0" prefHeight="27.0" prefWidth="149.0" text="Gasoline mpg">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="gasolineMpg" layoutX="170.0" layoutY="55.0" prefHeight="27.0" prefWidth="50.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="99.0" prefHeight="27.0" prefWidth="149.0" text="Diesel miles">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="99.0" prefHeight="27.0" prefWidth="149.0" text="Diesel miles">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="dieselMiles" layoutX="170.0" layoutY="99.0" prefHeight="27.0" prefWidth="50.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="143.0" prefHeight="27.0" prefWidth="149.0" text="Diesel mpg">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="143.0" prefHeight="27.0" prefWidth="149.0" text="Diesel mpg">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="dieselMpg" layoutX="170.0" layoutY="143.0" prefHeight="27.0" prefWidth="50.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="187.0" prefHeight="27.0" prefWidth="149.0" text="Electric miles">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="187.0" prefHeight="27.0" prefWidth="149.0" text="Electric miles">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="electricMiles" layoutX="170.0" layoutY="187.0" prefHeight="27.0" prefWidth="50.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="231.0" prefHeight="27.0" prefWidth="149.0" text="Electric mpg">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="231.0" prefHeight="27.0" prefWidth="149.0" text="Electric mpg">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="electricMpg" layoutX="170.0" layoutY="231.0" prefHeight="27.0" prefWidth="50.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="275.0" prefHeight="27.0" prefWidth="149.0" text="Public transportation">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="275.0" prefHeight="27.0" prefWidth="149.0" text="Public transportation">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="publicTransportation" layoutX="170.0" layoutY="275.0" prefHeight="27.0" prefWidth="50.0" />
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="319.0" prefHeight="27.0" prefWidth="149.0" text="Airplane">
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="319.0" prefHeight="27.0" prefWidth="149.0" text="Air plane">
|
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="airPlane" layoutX="170.0" layoutY="319.0" prefHeight="27.0" prefWidth="50.0" />
|
<Label fx:id="gasolineMiles" layoutX="181.0" layoutY="16.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="gasolineMpg" layoutX="181.0" layoutY="60.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="dieselMiles" layoutX="181.0" layoutY="104.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="dieselMpg" layoutX="181.0" layoutY="148.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="electricMiles" layoutX="181.0" layoutY="192.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="electricMpg" layoutX="181.0" layoutY="236.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="publicTransportation" layoutX="181.0" layoutY="280.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="airPlane" layoutX="181.0" layoutY="324.0" styleClass="activityField" text="Label" />
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</Pane>
|
||||||
<Label alignment="CENTER" layoutX="290.0" layoutY="488.0" prefHeight="32.0" prefWidth="230.0" text="Shopping!" textAlignment="CENTER" textFill="#741010">
|
<Label alignment="CENTER" layoutX="290.0" layoutY="488.0" prefHeight="32.0" prefWidth="230.0" text="Shopping!" textAlignment="CENTER" textFill="#107222">
|
||||||
<font>
|
<font>
|
||||||
<Font name="System Bold Italic" size="18.0" />
|
<Font name="System Bold Italic" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -192,16 +191,16 @@
|
|||||||
<Font size="16.0" />
|
<Font size="16.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="goodShopping" layoutX="146.0" layoutY="18.0" prefHeight="40.0" prefWidth="70.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="75.0" prefHeight="59.0" prefWidth="115.0" text="Services shopping" textAlignment="CENTER">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="75.0" prefHeight="59.0" prefWidth="115.0" text="Services shopping" textAlignment="CENTER">
|
||||||
<font>
|
<font>
|
||||||
<Font size="16.0" />
|
<Font size="16.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="serviceShopping" layoutX="146.0" layoutY="80.0" prefHeight="40.0" prefWidth="70.0" />
|
<Label fx:id="goodShopping" layoutX="167.0" layoutY="32.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="serviceShopping" layoutX="167.0" layoutY="96.0" styleClass="activityField" text="Label" />
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</Pane>
|
||||||
<Label alignment="CENTER" layoutX="545.0" layoutY="100.0" prefHeight="32.0" prefWidth="255.0" text="Food!" textAlignment="CENTER" textFill="#741010">
|
<Label alignment="CENTER" layoutX="545.0" layoutY="100.0" prefHeight="32.0" prefWidth="255.0" text="Food!" textAlignment="CENTER" textFill="#107222">
|
||||||
<font>
|
<font>
|
||||||
<Font name="System Bold Italic" size="18.0" />
|
<Font name="System Bold Italic" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -213,34 +212,34 @@
|
|||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="meat" layoutX="150.0" layoutY="26.0" prefHeight="46.0" prefWidth="70.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="90.0" prefHeight="46.0" prefWidth="115.0" text="Grains/baked foods" textAlignment="CENTER">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="90.0" prefHeight="46.0" prefWidth="115.0" text="Grains/baked foods" textAlignment="CENTER">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="grains" layoutX="150.0" layoutY="90.0" prefHeight="46.0" prefWidth="70.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="154.0" prefHeight="46.0" prefWidth="115.0" text="Dairy">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="154.0" prefHeight="46.0" prefWidth="115.0" text="Dairy">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="dairy" layoutX="150.0" layoutY="154.0" prefHeight="46.0" prefWidth="70.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="218.0" prefHeight="46.0" prefWidth="115.0" text="Fruits vegetables">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="218.0" prefHeight="46.0" prefWidth="115.0" text="Fruits vegetables">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="fruits" layoutX="150.0" layoutY="218.0" prefHeight="46.0" prefWidth="70.0" />
|
|
||||||
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="282.0" prefHeight="46.0" prefWidth="115.0" text="Snacks drinks">
|
<Label alignment="CENTER" contentDisplay="CENTER" layoutX="18.0" layoutY="282.0" prefHeight="46.0" prefWidth="115.0" text="Snacks drinks">
|
||||||
<font>
|
<font>
|
||||||
<Font size="14.0" />
|
<Font size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<TextField fx:id="snacks" layoutX="150.0" layoutY="282.0" prefHeight="46.0" prefWidth="70.0" />
|
<Label fx:id="meat" layoutX="171.0" layoutY="41.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="grains" layoutX="171.0" layoutY="105.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="dairy" layoutX="171.0" layoutY="169.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="fruits" layoutX="171.0" layoutY="233.0" styleClass="activityField" text="Label" />
|
||||||
|
<Label fx:id="snacks" layoutX="171.0" layoutY="297.0" styleClass="activityField" text="Label" />
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</Pane>
|
||||||
<Label alignment="CENTER" layoutX="545.0" layoutY="488.0" prefHeight="32.0" prefWidth="255.0" text="Extras!" textAlignment="CENTER" textFill="#741010">
|
<Label alignment="CENTER" layoutX="545.0" layoutY="488.0" prefHeight="32.0" prefWidth="255.0" text="Extras!" textAlignment="CENTER" textFill="#107222">
|
||||||
<font>
|
<font>
|
||||||
<Font name="System Bold Italic" size="18.0" />
|
<Font name="System Bold Italic" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -328,24 +327,12 @@
|
|||||||
<Font size="30.0" />
|
<Font size="30.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<Button fx:id="addNewActivityButton" contentDisplay="RIGHT" layoutX="577.0" layoutY="26.0" mnemonicParsing="false" onAction="#displayActivities" prefHeight="74.0" prefWidth="200.0" style="-fx-border-radius: 20px; -fx-padding: 0px 0px 0px 0px; -fx-background-color: transparent;" text="Add a new activity" textFill="#29721a">
|
|
||||||
<font>
|
|
||||||
<Font name="Corbel Bold" size="14.0" />
|
|
||||||
</font>
|
|
||||||
<graphic>
|
|
||||||
<ImageView fitHeight="81.0" fitWidth="74.0" pickOnBounds="true" preserveRatio="true">
|
|
||||||
<image>
|
|
||||||
<Image url="@../icons/addActivity1.png" />
|
|
||||||
</image>
|
|
||||||
</ImageView>
|
|
||||||
</graphic>
|
|
||||||
</Button>
|
|
||||||
<Text fill="#797676" layoutX="60.0" layoutY="105.0" strokeType="OUTSIDE" strokeWidth="0.0" text="How will you make the world greener today?">
|
<Text fill="#797676" layoutX="60.0" layoutY="105.0" strokeType="OUTSIDE" strokeWidth="0.0" text="How will you make the world greener today?">
|
||||||
<font>
|
<font>
|
||||||
<Font size="15.0" />
|
<Font size="15.0" />
|
||||||
</font>
|
</font>
|
||||||
</Text>
|
</Text>
|
||||||
<Button fx:id="calculateFootPrintButton" contentDisplay="RIGHT" layoutX="577.0" layoutY="126.0" mnemonicParsing="false" onAction="#openCalculator" prefHeight="74.0" prefWidth="205.0" style="-fx-border-radius: 20px; -fx-padding: 0px 0px 0px 0px; -fx-background-color: transparent;" text="Calculate your CO2 footprint" textFill="#29721a">
|
<Button fx:id="calculateFootPrintButton" contentDisplay="RIGHT" layoutX="573.0" layoutY="40.0" mnemonicParsing="false" onAction="#openCalculator" prefHeight="74.0" prefWidth="205.0" style="-fx-border-radius: 20px; -fx-padding: 0px 0px 0px 0px; -fx-background-color: transparent;" text="Calculate your CO2 footprint" textFill="#29721a">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Corbel Bold" size="14.0" />
|
<Font name="Corbel Bold" size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
@@ -361,7 +348,7 @@
|
|||||||
</ImageView>
|
</ImageView>
|
||||||
</graphic>
|
</graphic>
|
||||||
</Button>
|
</Button>
|
||||||
<Button fx:id="addFriendButton" contentDisplay="RIGHT" layoutX="596.0" layoutY="220.0" mnemonicParsing="false" onAction="#openAddFriend" prefHeight="74.0" prefWidth="200.0" style="-fx-border-radius: 20px; -fx-padding: 0px 0px 0px 0px; -fx-background-color: transparent;" text="Add friend" textFill="#29721a">
|
<Button fx:id="addFriendButton" contentDisplay="RIGHT" layoutX="592.0" layoutY="134.0" mnemonicParsing="false" onAction="#openAddFriend" prefHeight="74.0" prefWidth="200.0" style="-fx-border-radius: 20px; -fx-padding: 0px 0px 0px 0px; -fx-background-color: transparent;" text="Add friend" textFill="#29721a">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Corbel Bold" size="14.0" />
|
<Font name="Corbel Bold" size="14.0" />
|
||||||
</font>
|
</font>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
.root {
|
.root {
|
||||||
-fx-background-color: #f9fffb;
|
-fx-background-color: #f9fffb;
|
||||||
/*-fx-font-family: "Designio Regular";*/
|
/*-fx-font-family: "Designio Regular";*/
|
||||||
-fx-font-family: Corbel; /*this doesn't work for some reason*/
|
/*-fx-font-family: Corbel; !*this doesn't work for some reason*!*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#dashboardButton {
|
#dashboardButton {
|
||||||
@@ -81,7 +81,9 @@
|
|||||||
-fx-background-color: #b7e2c2;
|
-fx-background-color: #b7e2c2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.activityField {
|
||||||
|
-fx-font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user