aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/resources/xyz/brysonsteck/servercraft/info.fxml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/resources/xyz/brysonsteck/servercraft/info.fxml')
-rw-r--r--app/src/main/resources/xyz/brysonsteck/servercraft/info.fxml108
1 files changed, 108 insertions, 0 deletions
diff --git a/app/src/main/resources/xyz/brysonsteck/servercraft/info.fxml b/app/src/main/resources/xyz/brysonsteck/servercraft/info.fxml
new file mode 100644
index 0000000..9228a2b
--- /dev/null
+++ b/app/src/main/resources/xyz/brysonsteck/servercraft/info.fxml
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<?import javafx.geometry.Insets?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.control.ButtonBar?>
+<?import javafx.scene.control.Hyperlink?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.control.Separator?>
+<?import javafx.scene.control.Tab?>
+<?import javafx.scene.control.TabPane?>
+<?import javafx.scene.image.Image?>
+<?import javafx.scene.image.ImageView?>
+<?import javafx.scene.layout.HBox?>
+<?import javafx.scene.layout.Pane?>
+<?import javafx.scene.layout.VBox?>
+<?import javafx.scene.text.Font?>
+
+<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="358.0" prefWidth="398.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="xyz.brysonsteck.servercraft.controllers.InfoController">
+ <children>
+ <ImageView fitHeight="115.0" fitWidth="92.0" layoutX="30.0" layoutY="30.0" pickOnBounds="true" preserveRatio="true">
+ <image>
+ <Image url="@app.png" />
+ </image>
+ </ImageView>
+ <Label layoutX="146.0" layoutY="42.0" text="ServerCraft">
+ <font>
+ <Font name="System Bold" size="28.0" />
+ </font>
+ </Label>
+ <Label layoutX="146.0" layoutY="82.0" text="Version 1.0" />
+ <ButtonBar layoutY="318.0" prefHeight="40.0" prefWidth="398.0">
+ <buttons>
+ <Button mnemonicParsing="false" onAction="#closeInfo" text="Close" />
+ </buttons>
+ <padding>
+ <Insets bottom="8.0" left="8.0" right="8.0" top="8.0" />
+ </padding>
+ </ButtonBar>
+ <Label layoutX="52.0" layoutY="135.0" text="A graphical interface for creating Minecraft servers" textAlignment="CENTER" />
+ <TabPane layoutY="158.0" prefHeight="161.0" prefWidth="398.0" stylesheets="@css/info-tabs.css" tabClosingPolicy="UNAVAILABLE">
+ <tabs>
+ <Tab text="About">
+ <content>
+ <Pane prefHeight="200.0" prefWidth="200.0">
+ <children>
+ <Label alignment="TOP_LEFT" prefWidth="398.0" text="This program is for simple Minecraft servers, and expects that the user knows how to port forward.&#10;&#10;ServerCraft is free and open source under the GNU General Public License Version 3.0" wrapText="true">
+ <padding>
+ <Insets bottom="13.0" left="13.0" right="13.0" top="13.0" />
+ </padding>
+ </Label>
+ <Hyperlink fx:id="license" layoutX="127.0" layoutY="110.0" onAction="#openHyperlink" text="License" />
+ <Hyperlink fx:id="source" layoutX="189.0" layoutY="110.0" onAction="#openHyperlink" text="Source Code" />
+ </children>
+ <padding>
+ <Insets bottom="13.0" left="13.0" right="13.0" top="13.0" />
+ </padding>
+ </Pane>
+ </content>
+ </Tab>
+ <Tab text="Authors">
+ <content>
+ <Pane prefHeight="200.0" prefWidth="200.0">
+ <children>
+ <Label layoutX="78.0" layoutY="109.0" text="Want to join the list? Contribute with a PR!" textAlignment="CENTER" />
+ <VBox>
+ <children>
+ <Label text="Bryson Steck" VBox.vgrow="ALWAYS">
+ <font>
+ <Font name="System Bold" size="16.0" />
+ </font>
+ </Label>
+ <Label text="Creator / Maintainer">
+ <padding>
+ <Insets top="4.0" />
+ </padding>
+ </Label>
+ <HBox>
+ <children>
+ <Hyperlink fx:id="bryson_website" onAction="#openHyperlink" text="Website">
+ <HBox.margin>
+ <Insets left="-3.0" top="2.0" />
+ </HBox.margin>
+ </Hyperlink>
+ <Separator orientation="VERTICAL">
+ <padding>
+ <Insets bottom="2.0" top="2.0" />
+ </padding>
+ </Separator>
+ <Hyperlink fx:id="bryson_email" onAction="#openHyperlink" text="Email">
+ <HBox.margin>
+ <Insets top="2.0" />
+ </HBox.margin>
+ </Hyperlink>
+ </children>
+ </HBox>
+ </children>
+ <padding>
+ <Insets bottom="13.0" left="13.0" right="13.0" top="13.0" />
+ </padding>
+ </VBox>
+ </children>
+ </Pane>
+ </content>
+ </Tab>
+ </tabs>
+ </TabPane>
+ </children>
+</Pane>