70 lines
3.9 KiB
XML
70 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
~ Copyright (c) 2016 Jesús "baudlord" Vélez Palacios, Carlos "kauron" Santiago Galindo Jiménez
|
|
~
|
|
~ Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
~ of this software and associated documentation files (the "Software"), to deal
|
|
~ in the Software without restriction, including without limitation the rights
|
|
~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
~ copies of the Software, and to permit persons to whom the Software is
|
|
~ furnished to do so, subject to the following conditions:
|
|
~
|
|
~ The above copyright notice and this permission notice shall be included in
|
|
~ all copies or substantial portions of the Software.
|
|
~
|
|
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
~ THE SOFTWARE.
|
|
~
|
|
~ If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.
|
|
~
|
|
-->
|
|
|
|
<?import com.jfoenix.controls.JFXButton?>
|
|
<?import com.jfoenix.controls.JFXSpinner?>
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.Spinner?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?import javafx.scene.layout.*?>
|
|
<?import javafx.scene.text.Text?>
|
|
<AnchorPane xmlns:fx="http://javafx.com/fxml/1" fx:id="root" maxHeight="-Infinity" maxWidth="-Infinity"
|
|
minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="300.0" styleClass="background"
|
|
stylesheets="@../css/palette.css" xmlns="http://javafx.com/javafx/8.0.76-ea"
|
|
fx:controller="es.kauron.estraba.controller.SplashController">
|
|
<ImageView fx:id="imgLogo" fitHeight="150.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="50.0" AnchorPane.rightAnchor="50.0" AnchorPane.topAnchor="25.0">
|
|
</ImageView>
|
|
<JFXSpinner fx:id="spinner" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
<Label fx:id="labelWelcome" alignment="CENTER" layoutX="101.0" layoutY="91.0" text="%label.welcome" />
|
|
<JFXButton fx:id="buttonLoad" layoutX="87.0" layoutY="237.0" maxHeight="-Infinity" maxWidth="-Infinity"
|
|
onAction="#loadGPXFile" styleClass="default-primary-color" text="%label.loadGPX" textFill="WHITE">
|
|
<padding>
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
</padding>
|
|
</JFXButton>
|
|
<GridPane alignment="CENTER" hgap="15.0" layoutX="14.0" layoutY="118.0" vgap="5.0" AnchorPane.leftAnchor="0.0"
|
|
AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="128.0">
|
|
<columnConstraints>
|
|
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" minWidth="10.0"/>
|
|
<ColumnConstraints halignment="LEFT" hgrow="SOMETIMES" minWidth="10.0"/>
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
|
|
<RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
|
|
</rowConstraints>
|
|
<children>
|
|
<Spinner fx:id="spinnerHR" minHeight="-Infinity" minWidth="-Infinity" prefWidth="100.0"
|
|
GridPane.columnIndex="1"/>
|
|
<Spinner fx:id="spinnerAge" minHeight="-Infinity" minWidth="-Infinity" prefWidth="100.0"
|
|
GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
|
<Text fx:id="textHR" strokeType="OUTSIDE" strokeWidth="0.0" text="%label.maxHR"/>
|
|
<Text fx:id="textAge" strokeType="OUTSIDE" strokeWidth="0.0" text="%label.age" GridPane.rowIndex="1"/>
|
|
</children>
|
|
</GridPane>
|
|
</AnchorPane>
|