- implement add item dialog
- implement add group dialog - implement remove system and station - small fixes
This commit is contained in:
15
client/src/main/resources/view/groupAdd.fxml
Normal file
15
client/src/main/resources/view/groupAdd.fxml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
|
||||
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
|
||||
styleClass="dialog"
|
||||
fx:controller="ru.trader.controllers.GroupAddController" spacing="4">
|
||||
<Label text="%dialog.group.id"/>
|
||||
<TextField fx:id="name" minWidth="200"/>
|
||||
<Label text="%dialog.group.type"/>
|
||||
<ComboBox fx:id="type" minWidth="200"/>
|
||||
|
||||
</HBox>
|
||||
16
client/src/main/resources/view/itemAdd.fxml
Normal file
16
client/src/main/resources/view/itemAdd.fxml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
|
||||
<?import org.controlsfx.glyphfont.Glyph?>
|
||||
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
|
||||
styleClass="dialog"
|
||||
fx:controller="ru.trader.controllers.ItemAddController" spacing="4">
|
||||
<Label text="%dialog.item.id"/>
|
||||
<TextField fx:id="name" minWidth="200"/>
|
||||
<Label text="%dialog.item.group"/>
|
||||
<ComboBox fx:id="group" minWidth="200"/>
|
||||
<Button prefWidth="30" onAction="#add"><graphic><Glyph text="FontAwesome|PLUS"/></graphic></Button>
|
||||
</HBox>
|
||||
@@ -56,11 +56,11 @@
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" spacing="5">
|
||||
<Button prefWidth="80" text="%market.offers" onAction="#showOrders" />
|
||||
<Button text="%route.button.top" onAction="#showTopOrders" />
|
||||
<Button text="%router.button.top" onAction="#showTopOrders" />
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" spacing="5">
|
||||
<Button prefWidth="80" text="%routes" onAction="#showRoutes" />
|
||||
<Button text="%route.button.top" onAction="#showTopRoutes" />
|
||||
<Button text="%router.button.top" onAction="#showTopRoutes" />
|
||||
</HBox>
|
||||
</VBox>
|
||||
</GridPane>
|
||||
|
||||
Reference in New Issue
Block a user