aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/resources/xyz/brysonsteck/serverfordummies/info.fxml
blob: 978bc5c0a2c7c6e57ebf280ec91f9a2990680c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
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.serverfordummies.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="101.0" text="License" />
                        <Hyperlink fx:id="_source" layoutX="189.0" layoutY="101.0" 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="107.0" layoutY="101.0" text="Want to join the list? Contribute!" 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>