mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-14 12:32:15 -04:00
Apply formatting to XML sources
This commit is contained in:
parent
7d6ca37d06
commit
23b2cabf19
19 changed files with 273 additions and 138 deletions
|
@ -19,5 +19,6 @@
|
|||
<?import javafx.scene.layout.BorderPane?>
|
||||
|
||||
<BorderPane fx:id="root" id="splash" fx:controller="io.bitsquare.gui.MainController"
|
||||
prefHeight="750" prefWidth="1000" stylesheets="/io/bitsquare/gui/bitsquare.css" xmlns:fx="http://javafx.com/fxml">
|
||||
prefHeight="750" prefWidth="1000" stylesheets="/io/bitsquare/gui/bitsquare.css"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
</BorderPane>
|
|
@ -20,11 +20,16 @@
|
|||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<AnchorPane fx:id="root" fx:controller="io.bitsquare.gui.arbitrators.overview.ArbitratorOverviewController"
|
||||
prefHeight="600" prefWidth="800" AnchorPane.bottomAnchor="30.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0"
|
||||
prefHeight="600" prefWidth="800" AnchorPane.bottomAnchor="30.0" AnchorPane.leftAnchor="10.0"
|
||||
AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
<Pane fx:id="arbitratorProfile"/>
|
||||
<Button fx:id="prevButton" text="Previous" onAction="#onPrevious" AnchorPane.bottomAnchor="45.0" AnchorPane.leftAnchor="10.0"/>
|
||||
<Button fx:id="nextButton" text="Next" onAction="#onNext" AnchorPane.bottomAnchor="45.0" AnchorPane.rightAnchor="10.0"/>
|
||||
<Button fx:id="selectButton" text="Select" onAction="#onSelect" AnchorPane.bottomAnchor="45.0" AnchorPane.leftAnchor="350.0"/>
|
||||
<Button fx:id="closeButton" text="close" onAction="#onClose" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0"/>
|
||||
<Button fx:id="prevButton" text="Previous" onAction="#onPrevious" AnchorPane.bottomAnchor="45.0"
|
||||
AnchorPane.leftAnchor="10.0"/>
|
||||
<Button fx:id="nextButton" text="Next" onAction="#onNext" AnchorPane.bottomAnchor="45.0"
|
||||
AnchorPane.rightAnchor="10.0"/>
|
||||
<Button fx:id="selectButton" text="Select" onAction="#onSelect" AnchorPane.bottomAnchor="45.0"
|
||||
AnchorPane.leftAnchor="350.0"/>
|
||||
<Button fx:id="closeButton" text="close" onAction="#onClose" AnchorPane.bottomAnchor="10.0"
|
||||
AnchorPane.leftAnchor="10.0"/>
|
||||
</AnchorPane>
|
||||
|
|
|
@ -21,41 +21,51 @@
|
|||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<GridPane fx:id="root" fx:controller="io.bitsquare.gui.arbitrators.profile.ArbitratorProfileController"
|
||||
hgap="5.0" vgap="5.0" AnchorPane.bottomAnchor="80.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0"
|
||||
hgap="5.0" vgap="5.0" AnchorPane.bottomAnchor="80.0" AnchorPane.leftAnchor="10.0"
|
||||
AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
|
||||
<Label fx:id="nameLabel" text="Name:"/>
|
||||
<TextField fx:id="nameTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"/>
|
||||
<Label text="Languages:" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="languagesTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="languagesTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
|
||||
<Label text="Reputation:" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="reputationTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="reputationTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
|
||||
<Label text="Max. trade volume:" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="maxTradeVolumeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="maxTradeVolumeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
|
||||
<Label text="Passive service fee:" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="passiveServiceFeeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="passiveServiceFeeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="4"/>
|
||||
|
||||
<Label text="Arbitration fee:" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="arbitrationFeeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="arbitrationFeeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="2" GridPane.rowIndex="5"/>
|
||||
|
||||
<Label text="Methods of arbitration:" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="methodsTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="methodsTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="2" GridPane.rowIndex="6"/>
|
||||
|
||||
<Label text="ID verifications:" GridPane.rowIndex="7"/>
|
||||
<TextField fx:id="idVerificationsTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="7"/>
|
||||
<TextField fx:id="idVerificationsTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="2" GridPane.rowIndex="7"/>
|
||||
|
||||
<Label text="Web page:" GridPane.rowIndex="9"/>
|
||||
<TextField fx:id="webPageTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="9"/>
|
||||
<TextField fx:id="webPageTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="2" GridPane.rowIndex="9"/>
|
||||
|
||||
<Label text="Description:" GridPane.rowIndex="10" GridPane.valignment="TOP">
|
||||
<GridPane.margin>
|
||||
<Insets top="10.0"/>
|
||||
</GridPane.margin>
|
||||
</Label>
|
||||
<TextArea fx:id="descriptionTextArea" editable="false" focusTraversable="false" prefHeight="150.0" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="10"/>
|
||||
<TextArea fx:id="descriptionTextArea" editable="false" focusTraversable="false" prefHeight="150.0"
|
||||
GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="10"/>
|
||||
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" minWidth="10.0"/>
|
||||
|
|
|
@ -22,65 +22,85 @@
|
|||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<AnchorPane fx:id="root" fx:controller="io.bitsquare.gui.arbitrators.registration.ArbitratorRegistrationController"
|
||||
prefHeight="600" prefWidth="800" AnchorPane.bottomAnchor="30.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0"
|
||||
prefHeight="600" prefWidth="800" AnchorPane.bottomAnchor="30.0" AnchorPane.leftAnchor="10.0"
|
||||
AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
|
||||
<Accordion fx:id="accordion" AnchorPane.bottomAnchor="30.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0">
|
||||
<Accordion fx:id="accordion" AnchorPane.bottomAnchor="30.0" AnchorPane.leftAnchor="10.0"
|
||||
AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0">
|
||||
<panes>
|
||||
|
||||
<TitledPane fx:id="profileTitledPane" text="Profile" expanded="true">
|
||||
|
||||
<GridPane hgap="5.0" vgap="5.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0">
|
||||
<GridPane hgap="5.0" vgap="5.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0"
|
||||
AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0">
|
||||
|
||||
<Label fx:id="nameLabel" text="Name:"/>
|
||||
<TextField fx:id="nameTextField" GridPane.columnIndex="1" GridPane.columnSpan="3"/>
|
||||
|
||||
<Label text="ID type:" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="idTypeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
<ComboBox fx:id="idTypeComboBox" onAction="#onSelectIDType" promptText="Select ID type" prefWidth="150.0" GridPane.columnIndex="3" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="idTypeTextField" editable="false" focusTraversable="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
<ComboBox fx:id="idTypeComboBox" onAction="#onSelectIDType" promptText="Select ID type"
|
||||
prefWidth="150.0" GridPane.columnIndex="3" GridPane.rowIndex="1"/>
|
||||
|
||||
<Label text="Supported language(s):" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="languagesTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="languagesTextField" editable="false" focusTraversable="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="2"/>
|
||||
<Button onAction="#onClearLanguages" text="Clear" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<ComboBox fx:id="languageComboBox" onAction="#onAddLanguage" prefWidth="150.0" promptText="Add language" GridPane.columnIndex="3" GridPane.rowIndex="2"/>
|
||||
<ComboBox fx:id="languageComboBox" onAction="#onAddLanguage" prefWidth="150.0"
|
||||
promptText="Add language" GridPane.columnIndex="3" GridPane.rowIndex="2"/>
|
||||
|
||||
<Label text="Max. trade volume:" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="maxTradeVolumeTextField" promptText="Recommended: 0.1 - 2 BTC" GridPane.columnIndex="1" GridPane.rowIndex="3" GridPane.columnSpan="3"/>
|
||||
<TextField fx:id="maxTradeVolumeTextField" promptText="Recommended: 0.1 - 2 BTC"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="3" GridPane.columnSpan="3"/>
|
||||
|
||||
<Label text="Passive service fee (%):" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="passiveServiceFeeTextField" promptText="Recommended: 0.1 - 1%" GridPane.columnIndex="1" GridPane.rowIndex="4" GridPane.columnSpan="3"/>
|
||||
<TextField fx:id="passiveServiceFeeTextField" promptText="Recommended: 0.1 - 1%"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="4" GridPane.columnSpan="3"/>
|
||||
|
||||
<Label text="Min. passive service fee" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="minPassiveServiceFeeTextField" promptText="Recommended: 0.0001 - 0.005 BTC" GridPane.columnIndex="1" GridPane.rowIndex="5" GridPane.columnSpan="3"/>
|
||||
<TextField fx:id="minPassiveServiceFeeTextField" promptText="Recommended: 0.0001 - 0.005 BTC"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="5" GridPane.columnSpan="3"/>
|
||||
|
||||
<Label text="Arbitration fee (%):" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="arbitrationFeeTextField" promptText="Recommended: 5 - 20 %" GridPane.columnIndex="1" GridPane.rowIndex="6" GridPane.columnSpan="3"/>
|
||||
<TextField fx:id="arbitrationFeeTextField" promptText="Recommended: 5 - 20 %"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="6" GridPane.columnSpan="3"/>
|
||||
|
||||
<Label text="Min. arbitration fee:" GridPane.rowIndex="7"/>
|
||||
<TextField fx:id="minArbitrationFeeTextField" promptText="Recommended: 0.1 - 0.2 BTC" GridPane.columnIndex="1" GridPane.rowIndex="7" GridPane.columnSpan="3"/>
|
||||
<TextField fx:id="minArbitrationFeeTextField" promptText="Recommended: 0.1 - 0.2 BTC"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="7" GridPane.columnSpan="3"/>
|
||||
|
||||
<Label text="Method(s) used for arbitration:" GridPane.rowIndex="8"/>
|
||||
<TextField fx:id="methodsTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="8"/>
|
||||
<TextField fx:id="methodsTextField" editable="false" focusTraversable="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="8"/>
|
||||
<Button onAction="#onClearMethods" text="Clear" GridPane.columnIndex="2" GridPane.rowIndex="8"/>
|
||||
<ComboBox fx:id="methodsComboBox" onAction="#onAddMethod" prefWidth="150.0" promptText="Add method" GridPane.columnIndex="3" GridPane.rowIndex="8"/>
|
||||
<ComboBox fx:id="methodsComboBox" onAction="#onAddMethod" prefWidth="150.0" promptText="Add method"
|
||||
GridPane.columnIndex="3" GridPane.rowIndex="8"/>
|
||||
|
||||
<Label text="Offer ID verification(s):" GridPane.rowIndex="9"/>
|
||||
<TextField fx:id="idVerificationsTextField" promptText="Optional" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="9"/>
|
||||
<Button onAction="#onClearIDVerifications" text="Clear" GridPane.columnIndex="2" GridPane.rowIndex="9"/>
|
||||
<ComboBox fx:id="idVerificationsComboBox" onAction="#onAddIDVerification" prefWidth="150.0" promptText="Add verification" GridPane.columnIndex="3"
|
||||
<TextField fx:id="idVerificationsTextField" promptText="Optional" editable="false"
|
||||
focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="9"/>
|
||||
<Button onAction="#onClearIDVerifications" text="Clear" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="9"/>
|
||||
<ComboBox fx:id="idVerificationsComboBox" onAction="#onAddIDVerification" prefWidth="150.0"
|
||||
promptText="Add verification" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="9"/>
|
||||
|
||||
<Label text="Web page:" GridPane.rowIndex="10"/>
|
||||
<TextField fx:id="webPageTextField" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="10"/>
|
||||
<TextField fx:id="webPageTextField" GridPane.columnIndex="1" GridPane.columnSpan="3"
|
||||
GridPane.rowIndex="10"/>
|
||||
|
||||
<Label text="Description:" GridPane.rowIndex="11" GridPane.valignment="TOP">
|
||||
<GridPane.margin>
|
||||
<Insets top="10.0"/>
|
||||
</GridPane.margin>
|
||||
</Label>
|
||||
<TextArea fx:id="descriptionTextArea" prefHeight="150.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="11"/>
|
||||
<TextArea fx:id="descriptionTextArea" prefHeight="150.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="11"/>
|
||||
|
||||
<Button fx:id="saveProfileButton" defaultButton="true" onAction="#onSaveProfile" text="Next" GridPane.columnIndex="1" GridPane.rowIndex="12"/>
|
||||
<Button fx:id="saveProfileButton" defaultButton="true" onAction="#onSaveProfile" text="Next"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="12"/>
|
||||
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" minWidth="10.0"/>
|
||||
|
@ -110,14 +130,16 @@
|
|||
|
||||
<TitledPane fx:id="payCollateralTitledPane" text="Pay collateral">
|
||||
<AnchorPane>
|
||||
<VBox spacing="20" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<VBox spacing="20" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0"
|
||||
AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
|
||||
<Label fx:id="infoLabel"/>
|
||||
|
||||
<GridPane hgap="5.0" vgap="5.0">
|
||||
|
||||
<Label text="Collateral address:"/>
|
||||
<TextField fx:id="collateralAddressTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="collateralAddressTextField" editable="false" focusTraversable="false"
|
||||
GridPane.columnIndex="1"/>
|
||||
<Label fx:id="copyIcon" id="copy-icon" GridPane.columnIndex="2">
|
||||
<padding>
|
||||
<Insets bottom="0.0" left="0.0" right="0.0" top="-1.0"/>
|
||||
|
@ -128,16 +150,21 @@
|
|||
</Label>
|
||||
|
||||
<Label text="Balance:" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="balanceTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
<ConfidenceProgressIndicator fx:id="progressIndicator" GridPane.columnIndex="2" GridPane.halignment="LEFT"
|
||||
GridPane.rowIndex="1" GridPane.rowSpan="2" GridPane.valignment="TOP">
|
||||
<TextField fx:id="balanceTextField" editable="false" focusTraversable="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
<ConfidenceProgressIndicator fx:id="progressIndicator" GridPane.columnIndex="2"
|
||||
GridPane.halignment="LEFT"
|
||||
GridPane.rowIndex="1" GridPane.rowSpan="2"
|
||||
GridPane.valignment="TOP">
|
||||
<GridPane.margin>
|
||||
<Insets top="2.0"/>
|
||||
</GridPane.margin>
|
||||
</ConfidenceProgressIndicator>
|
||||
<Label fx:id="confirmationLabel" text="Checking confirmations..." GridPane.columnIndex="3" GridPane.rowIndex="1"/>
|
||||
<Label fx:id="confirmationLabel" text="Checking confirmations..." GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="1"/>
|
||||
|
||||
<Button fx:id="paymentDoneButton" defaultButton="true" onAction="#onPaymentDone" text="Payment done" disable="true" GridPane.columnIndex="1"
|
||||
<Button fx:id="paymentDoneButton" defaultButton="true" onAction="#onPaymentDone"
|
||||
text="Payment done" disable="true" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
|
||||
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
<?import javafx.scene.layout.AnchorPane?>
|
||||
|
||||
<CachingTabPane fx:id="root" fx:controller="io.bitsquare.gui.funds.FundsController"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
||||
AnchorPane.topAnchor="0.0"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
|
||||
<Tab text="Deposit" closable="false"/>
|
||||
|
|
|
@ -51,7 +51,8 @@
|
|||
<TextField fx:id="amountTextField" GridPane.rowIndex="0" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Withdraw from address:" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="withdrawFromTextField" promptText="Select a source address from the table" GridPane.rowIndex="1" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="withdrawFromTextField" promptText="Select a source address from the table"
|
||||
GridPane.rowIndex="1" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Change address:" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="changeAddressTextField" GridPane.rowIndex="2" GridPane.columnIndex="1"/>
|
||||
|
@ -59,7 +60,8 @@
|
|||
<Label text="Withdraw to address:" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="withdrawToTextField" GridPane.rowIndex="3" GridPane.columnIndex="1"/>
|
||||
|
||||
<Button text="Withdraw" defaultButton="true" onAction="#onWithdraw" GridPane.rowIndex="4" GridPane.columnIndex="1"/>
|
||||
<Button text="Withdraw" defaultButton="true" onAction="#onWithdraw" GridPane.rowIndex="4"
|
||||
GridPane.columnIndex="1"/>
|
||||
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES"/>
|
||||
|
|
|
@ -22,10 +22,12 @@
|
|||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<AnchorPane fx:id="root" fx:controller="io.bitsquare.gui.home.HomeController"
|
||||
AnchorPane.bottomAnchor="30" AnchorPane.leftAnchor="10" AnchorPane.rightAnchor="10" AnchorPane.topAnchor="10"
|
||||
AnchorPane.bottomAnchor="30" AnchorPane.leftAnchor="10" AnchorPane.rightAnchor="10"
|
||||
AnchorPane.topAnchor="10"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
|
||||
<VBox spacing="20" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<VBox spacing="20" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
||||
AnchorPane.topAnchor="0.0">
|
||||
<Label id="headline-label" text="Overview"/>
|
||||
<Label text="TODO"/>
|
||||
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
<AnchorPane fx:id="root" fx:controller="io.bitsquare.gui.msg.MsgController"
|
||||
AnchorPane.bottomAnchor="0" AnchorPane.leftAnchor="0" AnchorPane.rightAnchor="0" AnchorPane.topAnchor="0"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
<VBox spacing="20" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<VBox spacing="20" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
||||
AnchorPane.topAnchor="0.0">
|
||||
|
||||
<Label id="headline-label" text="Message"/>
|
||||
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
<?import javafx.scene.layout.AnchorPane?>
|
||||
|
||||
<CachingTabPane fx:id="root" fx:controller="io.bitsquare.gui.orders.OrdersController"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
||||
AnchorPane.topAnchor="0.0"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
|
||||
<Tab text="Open offers" closable="false"/>
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
<AnchorPane fx:id="root" fx:controller="io.bitsquare.gui.orders.closed.ClosedTradeController"
|
||||
AnchorPane.bottomAnchor="0" AnchorPane.leftAnchor="0" AnchorPane.rightAnchor="0" AnchorPane.topAnchor="0"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
<VBox spacing="20" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<VBox spacing="20" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
||||
AnchorPane.topAnchor="0.0">
|
||||
|
||||
<Label id="form-header-text" text="Closed"/>
|
||||
|
||||
|
|
|
@ -70,11 +70,13 @@
|
|||
<GridPane hgap="5.0" vgap="5.0">
|
||||
|
||||
<!-- row 0 -->
|
||||
<Label fx:id="txHeaderLabel" id="form-header-text" text="Deposit transaction" GridPane.columnSpan="2" GridPane.halignment="LEFT"/>
|
||||
<Label fx:id="txHeaderLabel" id="form-header-text" text="Deposit transaction" GridPane.columnSpan="2"
|
||||
GridPane.halignment="LEFT"/>
|
||||
|
||||
<!-- row 1 -->
|
||||
<Label fx:id="txTitleLabel" text="Deposit transaction ID:" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="txTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="txTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
<Label fx:id="txIDCopyIcon" id="copy-icon" minWidth="10" GridPane.columnIndex="2" GridPane.rowIndex="1">
|
||||
<padding>
|
||||
<Insets bottom="0.0" left="0.0" right="0.0" top="-1.0"/>
|
||||
|
@ -83,7 +85,8 @@
|
|||
<Tooltip text="Copy address to clipboard"/>
|
||||
</tooltip>
|
||||
</Label>
|
||||
<ConfidenceProgressIndicator fx:id="progressIndicator" visible="false" progress="0" GridPane.columnIndex="3" GridPane.halignment="LEFT" GridPane.rowIndex="1"
|
||||
<ConfidenceProgressIndicator fx:id="progressIndicator" visible="false" progress="0" GridPane.columnIndex="3"
|
||||
GridPane.halignment="LEFT" GridPane.rowIndex="1"
|
||||
GridPane.rowSpan="2" GridPane.valignment="TOP">
|
||||
<GridPane.margin>
|
||||
<Insets top="2.0"/>
|
||||
|
@ -92,16 +95,20 @@
|
|||
<Label fx:id="confirmationLabel" visible="false" GridPane.columnIndex="4" GridPane.rowIndex="1"/>
|
||||
|
||||
<!-- row 2 -->
|
||||
<Label fx:id="bankAccountDetailsHeaderLabel" id="form-header-text" text="Bank details" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="LEFT"
|
||||
<Label fx:id="bankAccountDetailsHeaderLabel" id="form-header-text" text="Bank details" GridPane.columnIndex="0"
|
||||
GridPane.columnSpan="2" GridPane.halignment="LEFT"
|
||||
GridPane.rowIndex="2"/>
|
||||
|
||||
<!-- row 3 -->
|
||||
<Label fx:id="bankAccountTypeTitleLabel" text="Bank account type:" GridPane.columnIndex="0" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="bankAccountTypeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="3"/>
|
||||
<Label fx:id="bankAccountTypeTitleLabel" text="Bank account type:" GridPane.columnIndex="0"
|
||||
GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="bankAccountTypeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
|
||||
<!-- row 4 -->
|
||||
<Label fx:id="holderNameTitleLabel" text="Holder name:" GridPane.columnIndex="0" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="holderNameTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="holderNameTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="4"/>
|
||||
<Label fx:id="holderNameCopyIcon" id="copy-icon" minWidth="10" GridPane.columnIndex="2" GridPane.rowIndex="4">
|
||||
<padding>
|
||||
<Insets bottom="0.0" left="0.0" right="0.0" top="-1.0"/>
|
||||
|
@ -112,9 +119,12 @@
|
|||
</Label>
|
||||
|
||||
<!-- row 5 -->
|
||||
<Label fx:id="primaryBankAccountIDTitleLabel" text="Primary bank account ID:" GridPane.columnIndex="0" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="primaryBankAccountIDTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="5"/>
|
||||
<Label fx:id="primaryBankAccountIDCopyIcon" id="copy-icon" minWidth="10" GridPane.columnIndex="2" GridPane.rowIndex="5">
|
||||
<Label fx:id="primaryBankAccountIDTitleLabel" text="Primary bank account ID:" GridPane.columnIndex="0"
|
||||
GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="primaryBankAccountIDTextField" editable="false" focusTraversable="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="5"/>
|
||||
<Label fx:id="primaryBankAccountIDCopyIcon" id="copy-icon" minWidth="10" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="5">
|
||||
<padding>
|
||||
<Insets bottom="0.0" left="0.0" right="0.0" top="-1.0"/>
|
||||
</padding>
|
||||
|
@ -124,9 +134,12 @@
|
|||
</Label>
|
||||
|
||||
<!-- row 6 -->
|
||||
<Label fx:id="secondaryBankAccountIDTitleLabel" text="Secondary bank account ID:" GridPane.columnIndex="0" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="secondaryBankAccountIDTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="6"/>
|
||||
<Label fx:id="secondaryBankAccountIDCopyIcon" id="copy-icon" minWidth="10" GridPane.columnIndex="2" GridPane.rowIndex="6">
|
||||
<Label fx:id="secondaryBankAccountIDTitleLabel" text="Secondary bank account ID:" GridPane.columnIndex="0"
|
||||
GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="secondaryBankAccountIDTextField" editable="false" focusTraversable="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="6"/>
|
||||
<Label fx:id="secondaryBankAccountIDCopyIcon" id="copy-icon" minWidth="10" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="6">
|
||||
<padding>
|
||||
<Insets bottom="0.0" left="0.0" right="0.0" top="-1.0"/>
|
||||
</padding>
|
||||
|
@ -136,7 +149,8 @@
|
|||
</Label>
|
||||
|
||||
<!-- row 7 -->
|
||||
<Button fx:id="bankTransferInitedButton" defaultButton="true" onAction="#bankTransferInited" disable="true" text="Bank transfer initiated"
|
||||
<Button fx:id="bankTransferInitedButton" defaultButton="true" onAction="#bankTransferInited" disable="true"
|
||||
text="Bank transfer initiated"
|
||||
GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="7"/>
|
||||
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<TabPane fx:id="root" fx:controller="io.bitsquare.gui.settings.SettingsController"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
||||
AnchorPane.topAnchor="0.0"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
|
||||
<Tab text="General" closable="false">
|
||||
|
@ -34,16 +35,22 @@
|
|||
<ListView fx:id="languagesListView" prefHeight="300.0" prefWidth="400.0" GridPane.columnIndex="1"/>
|
||||
<Label text="Accepted countries:" GridPane.rowIndex="2"/>
|
||||
<Label text="Accepted arbitrators:" GridPane.rowIndex="4"/>
|
||||
<ListView fx:id="countriesListView" prefHeight="300.0" prefWidth="400.0" GridPane.columnIndex="1" GridPane.rowIndex="2"/>
|
||||
<ListView fx:id="arbitratorsListView" prefHeight="300.0" prefWidth="400.0" GridPane.columnIndex="1" GridPane.rowIndex="4"/>
|
||||
<ComboBox fx:id="languageComboBox" onAction="#onAddLanguage" prefWidth="150.0" promptText="Add language" GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
<ListView fx:id="countriesListView" prefHeight="300.0" prefWidth="400.0" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
<ListView fx:id="arbitratorsListView" prefHeight="300.0" prefWidth="400.0" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="4"/>
|
||||
<ComboBox fx:id="languageComboBox" onAction="#onAddLanguage" prefWidth="150.0" promptText="Add language"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
|
||||
<HBox spacing="10" GridPane.columnIndex="1" GridPane.rowIndex="3">
|
||||
<ComboBox fx:id="regionComboBox" onAction="#onSelectRegion" prefWidth="150.0" promptText="Select region"/>
|
||||
<ComboBox fx:id="countryComboBox" onAction="#onAddCountry" visible="false" prefWidth="150.0" promptText="Add country"/>
|
||||
<ComboBox fx:id="regionComboBox" onAction="#onSelectRegion" prefWidth="150.0"
|
||||
promptText="Select region"/>
|
||||
<ComboBox fx:id="countryComboBox" onAction="#onAddCountry" visible="false" prefWidth="150.0"
|
||||
promptText="Add country"/>
|
||||
</HBox>
|
||||
|
||||
<Button onAction="#onOpenArbitratorScreen" text="Add arbitrator" GridPane.columnIndex="1" GridPane.rowIndex="5"/>
|
||||
<Button onAction="#onOpenArbitratorScreen" text="Add arbitrator" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="5"/>
|
||||
|
||||
<columnConstraints>
|
||||
<ColumnConstraints/>
|
||||
|
@ -87,7 +94,8 @@
|
|||
<ComboBox fx:id="bankAccountComboBox" onAction="#selectBankAccount" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Bank account type:" GridPane.rowIndex="1"/>
|
||||
<ComboBox fx:id="bankAccountTypesComboBox" promptText="Select bank account type" onAction="#selectBankAccountType" GridPane.rowIndex="1" GridPane.columnIndex="1"/>
|
||||
<ComboBox fx:id="bankAccountTypesComboBox" promptText="Select bank account type"
|
||||
onAction="#selectBankAccountType" GridPane.rowIndex="1" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Bank account title:" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="bankAccountTitleTextField" GridPane.columnIndex="1" GridPane.rowIndex="2"/>
|
||||
|
@ -102,16 +110,20 @@
|
|||
<TextField fx:id="bankAccountSecondaryIDTextField" GridPane.columnIndex="1" GridPane.rowIndex="5"/>
|
||||
|
||||
<Label text="Currency used for bank account:" GridPane.rowIndex="6"/>
|
||||
<ComboBox fx:id="bankAccountCurrencyComboBox" promptText="Select currency" GridPane.columnIndex="1" GridPane.rowIndex="6"/>
|
||||
<ComboBox fx:id="bankAccountCurrencyComboBox" promptText="Select currency" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="6"/>
|
||||
|
||||
<Label text="Country of bank account" GridPane.rowIndex="7"/>
|
||||
<HBox spacing="10" GridPane.columnIndex="1" GridPane.rowIndex="7">
|
||||
<ComboBox fx:id="bankAccountRegionComboBox" onAction="#onSelectBankAccountRegion" prefWidth="150.0" promptText="Select region"/>
|
||||
<ComboBox fx:id="bankAccountCountryComboBox" visible="false" prefWidth="150.0" promptText="Select country"/>
|
||||
<ComboBox fx:id="bankAccountRegionComboBox" onAction="#onSelectBankAccountRegion" prefWidth="150.0"
|
||||
promptText="Select region"/>
|
||||
<ComboBox fx:id="bankAccountCountryComboBox" visible="false" prefWidth="150.0"
|
||||
promptText="Select country"/>
|
||||
</HBox>
|
||||
|
||||
<HBox spacing="10" GridPane.columnIndex="1" GridPane.rowIndex="8">
|
||||
<Button fx:id="saveBankAccountButton" defaultButton="true" onAction="#onSaveBankAccount" text="Save bank account"/>
|
||||
<Button fx:id="saveBankAccountButton" defaultButton="true" onAction="#onSaveBankAccount"
|
||||
text="Save bank account"/>
|
||||
<Button fx:id="addBankAccountButton" onAction="#onAddBankAccount" text="Add new bank account"/>
|
||||
<Button onAction="#onRemoveBankAccount" text="Remove bank account"/>
|
||||
</HBox>
|
||||
|
|
|
@ -21,5 +21,6 @@
|
|||
<?import javafx.scene.layout.AnchorPane?>
|
||||
|
||||
<TabPane fx:id="root" fx:controller="io.bitsquare.gui.trade.BuyController"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
||||
AnchorPane.topAnchor="0.0"
|
||||
xmlns:fx="http://javafx.com/fxml"/>
|
||||
|
|
|
@ -21,5 +21,6 @@
|
|||
<?import javafx.scene.layout.AnchorPane?>
|
||||
|
||||
<TabPane fx:id="root" fx:controller="io.bitsquare.gui.trade.SellController"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
||||
AnchorPane.topAnchor="0.0"
|
||||
xmlns:fx="http://javafx.com/fxml"/>
|
||||
|
|
|
@ -26,10 +26,12 @@
|
|||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<AnchorPane fx:id="root" fx:controller="io.bitsquare.gui.trade.createoffer.CreateOfferController"
|
||||
prefHeight="500" prefWidth="800" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0"
|
||||
prefHeight="500" prefWidth="800" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0"
|
||||
AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
|
||||
<GridPane hgap="5.0" vgap="5.0" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0">
|
||||
<GridPane hgap="5.0" vgap="5.0" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="10.0"
|
||||
AnchorPane.topAnchor="10.0">
|
||||
|
||||
<!-- group -->
|
||||
<VSpacer GridPane.rowIndex="0" prefHeight="20"/>
|
||||
|
@ -72,18 +74,23 @@
|
|||
</Pane>
|
||||
|
||||
<Label GridPane.rowIndex="4" text="Funds needed for that trade:"/>
|
||||
<TextField GridPane.rowIndex="4" GridPane.columnIndex="1" fx:id="totalsTextField" editable="false" focusTraversable="false"/>
|
||||
<TextField GridPane.rowIndex="4" GridPane.columnIndex="1" fx:id="totalsTextField" editable="false"
|
||||
focusTraversable="false"/>
|
||||
|
||||
<Label GridPane.rowIndex="5" text="BTC address for funding:"/>
|
||||
<AddressTextField GridPane.rowIndex="5" GridPane.columnIndex="1" fx:id="addressTextField" focusTraversable="false"/>
|
||||
<AddressTextField GridPane.rowIndex="5" GridPane.columnIndex="1" fx:id="addressTextField"
|
||||
focusTraversable="false"/>
|
||||
|
||||
<Label GridPane.rowIndex="6" text="Current balance:"/>
|
||||
<BalanceTextField GridPane.rowIndex="6" GridPane.columnIndex="1" fx:id="balanceTextField" focusTraversable="false"/>
|
||||
<BalanceTextField GridPane.rowIndex="6" GridPane.columnIndex="1" fx:id="balanceTextField"
|
||||
focusTraversable="false"/>
|
||||
|
||||
<!-- button -->
|
||||
<VSpacer GridPane.rowIndex="7" prefHeight="10"/>
|
||||
<Button GridPane.rowIndex="8" GridPane.columnIndex="1" fx:id="placeOfferButton" onAction="#onPlaceOffer" disable="true" defaultButton="true" text="Place offer"/>
|
||||
<Button GridPane.rowIndex="8" GridPane.columnIndex="1" fx:id="closeButton" onAction="#onClose" visible="false" defaultButton="true" focusTraversable="false" text="Close"/>
|
||||
<Button GridPane.rowIndex="8" GridPane.columnIndex="1" fx:id="placeOfferButton" onAction="#onPlaceOffer"
|
||||
disable="true" defaultButton="true" text="Place offer"/>
|
||||
<Button GridPane.rowIndex="8" GridPane.columnIndex="1" fx:id="closeButton" onAction="#onClose" visible="false"
|
||||
defaultButton="true" focusTraversable="false" text="Close"/>
|
||||
|
||||
|
||||
<!-- group -->
|
||||
|
@ -100,10 +107,12 @@
|
|||
</Pane>
|
||||
|
||||
<Label GridPane.rowIndex="10" fx:id="collateralLabel" text="Collateral:"/>
|
||||
<TextField GridPane.rowIndex="10" GridPane.columnIndex="1" fx:id="collateralTextField" editable="false" focusTraversable="false"/>
|
||||
<TextField GridPane.rowIndex="10" GridPane.columnIndex="1" fx:id="collateralTextField" editable="false"
|
||||
focusTraversable="false"/>
|
||||
|
||||
<Label GridPane.rowIndex="11" text="Offer Fee + transaction fee:"/>
|
||||
<TextField GridPane.rowIndex="11" fx:id="feeLabel" editable="false" focusTraversable="false" GridPane.columnIndex="1"/>
|
||||
<TextField GridPane.rowIndex="11" fx:id="feeLabel" editable="false" focusTraversable="false"
|
||||
GridPane.columnIndex="1"/>
|
||||
|
||||
|
||||
<!-- group -->
|
||||
|
@ -120,31 +129,39 @@
|
|||
</Pane>
|
||||
|
||||
<Label text="Bank account type:" GridPane.rowIndex="13"/>
|
||||
<TextField fx:id="bankAccountTypeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="13"/>
|
||||
<TextField fx:id="bankAccountTypeTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="13"/>
|
||||
|
||||
<Label text="Bank account currency:" GridPane.rowIndex="14"/>
|
||||
<TextField fx:id="bankAccountCurrencyTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="14"/>
|
||||
<TextField fx:id="bankAccountCurrencyTextField" editable="false" focusTraversable="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="14"/>
|
||||
|
||||
<Label text="Bank account county:" GridPane.rowIndex="15"/>
|
||||
<TextField fx:id="bankAccountCountyTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="15"/>
|
||||
<TextField fx:id="bankAccountCountyTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="15"/>
|
||||
|
||||
<Label text="Accepted countries:" GridPane.rowIndex="16"/>
|
||||
<TextField fx:id="acceptedCountriesTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="16"/>
|
||||
<TextField fx:id="acceptedCountriesTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="16"/>
|
||||
|
||||
<Label text="Accepted languages:" GridPane.rowIndex="17"/>
|
||||
<TextField fx:id="acceptedLanguagesTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="17"/>
|
||||
<TextField fx:id="acceptedLanguagesTextField" editable="false" focusTraversable="false" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="17"/>
|
||||
|
||||
|
||||
<!-- on placed offer screen -->
|
||||
<Label fx:id="txTitleLabel" text="Transaction ID:" visible="false" GridPane.rowIndex="14"/>
|
||||
<TextField fx:id="transactionIdTextField" visible="false" editable="false" focusTraversable="false" GridPane.columnIndex="1" GridPane.rowIndex="14"/>
|
||||
<ConfidenceProgressIndicator fx:id="progressIndicator" visible="false" focusTraversable="false" progress="0" GridPane.columnIndex="2" GridPane.halignment="LEFT"
|
||||
<TextField fx:id="transactionIdTextField" visible="false" editable="false" focusTraversable="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="14"/>
|
||||
<ConfidenceProgressIndicator fx:id="progressIndicator" visible="false" focusTraversable="false" progress="0"
|
||||
GridPane.columnIndex="2" GridPane.halignment="LEFT"
|
||||
GridPane.rowIndex="14" GridPane.rowSpan="2" GridPane.valignment="TOP">
|
||||
<GridPane.margin>
|
||||
<Insets top="2.0"/>
|
||||
</GridPane.margin>
|
||||
</ConfidenceProgressIndicator>
|
||||
<Label fx:id="confirmationLabel" text="Checking confirmations..." visible="false" GridPane.columnIndex="3" GridPane.rowIndex="14"/>
|
||||
<Label fx:id="confirmationLabel" text="Checking confirmations..." visible="false" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="14"/>
|
||||
|
||||
|
||||
<columnConstraints>
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<AnchorPane fx:id="root" fx:controller="io.bitsquare.gui.trade.orderbook.OrderBookController"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
||||
AnchorPane.topAnchor="0.0"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
|
||||
<HBox fx:id="topHBox" prefHeight="22.0" AnchorPane.topAnchor="10.0" AnchorPane.leftAnchor="10.0"
|
||||
|
@ -55,7 +56,8 @@
|
|||
</Label>
|
||||
</HBox>
|
||||
|
||||
<Button fx:id="createOfferButton" text="Create new offer" onAction="#createOffer" AnchorPane.topAnchor="10.0" AnchorPane.rightAnchor="10.0"/>
|
||||
<Button fx:id="createOfferButton" text="Create new offer" onAction="#createOffer" AnchorPane.topAnchor="10.0"
|
||||
AnchorPane.rightAnchor="10.0"/>
|
||||
|
||||
<TableView fx:id="orderBookTable" AnchorPane.leftAnchor="10.0"
|
||||
AnchorPane.topAnchor="45.0" AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="10.0">
|
||||
|
|
|
@ -22,8 +22,10 @@
|
|||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<AnchorPane fx:id="root" fx:controller="io.bitsquare.gui.trade.takeoffer.TakerOfferController" xmlns:fx="http://javafx.com/fxml">
|
||||
<Accordion fx:id="accordion" AnchorPane.bottomAnchor="30.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0">
|
||||
<AnchorPane fx:id="root" fx:controller="io.bitsquare.gui.trade.takeoffer.TakerOfferController"
|
||||
xmlns:fx="http://javafx.com/fxml">
|
||||
<Accordion fx:id="accordion" AnchorPane.bottomAnchor="30.0" AnchorPane.leftAnchor="10.0"
|
||||
AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0">
|
||||
<panes>
|
||||
|
||||
<TitledPane fx:id="takeOfferTitledPane" text="Offer details">
|
||||
|
@ -39,38 +41,49 @@
|
|||
<ValidatedTextField fx:id="amountTextField" GridPane.rowIndex="1" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Price (EUR/BTC):" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="priceTextField" editable="false" focusTraversable="false" GridPane.rowIndex="2" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="priceTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="2" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Volume (EUR):" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="volumeTextField" editable="false" focusTraversable="false" GridPane.rowIndex="3" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="volumeTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="3" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label fx:id="collateralLabel" text="Collateral:" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="collateralTextField" editable="false" focusTraversable="false" GridPane.rowIndex="4" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="collateralTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="4" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Total Fees (Offer + tx):" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="feeTextField" editable="false" focusTraversable="false" GridPane.rowIndex="5" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="feeTextField" editable="false" focusTraversable="false" GridPane.rowIndex="5"
|
||||
GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Total:" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="totalTextField" editable="false" focusTraversable="false" GridPane.rowIndex="6" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="totalTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="6" GridPane.columnIndex="1"/>
|
||||
|
||||
<Button fx:id="takeOfferButton" text="Take offer and pay" onAction="#onTakeOffer" defaultButton="true" GridPane.rowIndex="7" GridPane.columnIndex="1"/>
|
||||
<Button fx:id="takeOfferButton" text="Take offer and pay" onAction="#onTakeOffer"
|
||||
defaultButton="true" GridPane.rowIndex="7" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Offer details:" id="form-header-text" GridPane.rowIndex="8"/>
|
||||
|
||||
<Label text="Bank account type:" GridPane.rowIndex="9"/>
|
||||
<TextField fx:id="bankAccountTypeTextField" editable="false" focusTraversable="false" GridPane.rowIndex="9" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="bankAccountTypeTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="9" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Country:" GridPane.rowIndex="10"/>
|
||||
<TextField fx:id="countryTextField" editable="false" focusTraversable="false" GridPane.rowIndex="10" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="countryTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="10" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Arbitrators:" GridPane.rowIndex="11"/>
|
||||
<TextField fx:id="arbitratorsTextField" editable="false" focusTraversable="false" GridPane.rowIndex="11" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="arbitratorsTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="11" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Supported languages:" GridPane.rowIndex="12"/>
|
||||
<TextField fx:id="supportedLanguagesTextField" editable="false" focusTraversable="false" GridPane.rowIndex="12" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="supportedLanguagesTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="12" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Supported countries:" GridPane.rowIndex="13"/>
|
||||
<TextField fx:id="supportedCountriesTextField" editable="false" focusTraversable="false" GridPane.rowIndex="13" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="supportedCountriesTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="13" GridPane.columnIndex="1"/>
|
||||
|
||||
|
||||
<columnConstraints>
|
||||
|
@ -111,9 +124,11 @@
|
|||
<Label fx:id="infoLabel" GridPane.rowIndex="1" GridPane.columnIndex="1" GridPane.valignment="TOP"/>
|
||||
|
||||
<Label text="Deposit transaction ID:" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="depositTxIdTextField" editable="false" focusTraversable="false" GridPane.rowIndex="2" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="depositTxIdTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="2" GridPane.columnIndex="1"/>
|
||||
|
||||
<Button fx:id="receivedFiatButton" text="I have received the money at my bank account" onAction="#onReceivedFiat" defaultButton="true" disable="true" GridPane.rowIndex="3"
|
||||
<Button fx:id="receivedFiatButton" text="I have received the money at my bank account"
|
||||
onAction="#onReceivedFiat" defaultButton="true" disable="true" GridPane.rowIndex="3"
|
||||
GridPane.columnIndex="1"/>
|
||||
|
||||
<columnConstraints>
|
||||
|
@ -143,24 +158,30 @@
|
|||
<ValidatedTextField fx:id="summaryPaidTextField" GridPane.rowIndex="2" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="You have received (EUR):" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="summaryReceivedTextField" editable="false" focusTraversable="false" GridPane.rowIndex="3" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="summaryReceivedTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="3" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Details" GridPane.rowIndex="4" id="form-header-text"/>
|
||||
|
||||
<Label text="Total fees (take offer fee + tx fee):" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="summaryFeesTextField" editable="false" focusTraversable="false" GridPane.rowIndex="5" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="summaryFeesTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="5" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Refunded collateral:" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="summaryCollateralTextField" editable="false" focusTraversable="false" GridPane.rowIndex="6" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="summaryCollateralTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="6" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Deposit transaction ID:" GridPane.rowIndex="7"/>
|
||||
<TextField fx:id="summaryDepositTxIdTextField" editable="false" focusTraversable="false" GridPane.rowIndex="7" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="summaryDepositTxIdTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="7" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="Payout transaction ID:" GridPane.rowIndex="8"/>
|
||||
<TextField fx:id="summaryPayoutTxIdTextField" editable="false" focusTraversable="false" GridPane.rowIndex="8" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="summaryPayoutTxIdTextField" editable="false" focusTraversable="false"
|
||||
GridPane.rowIndex="8" GridPane.columnIndex="1"/>
|
||||
|
||||
|
||||
<Button text="Close" onAction="#onClose" defaultButton="true" GridPane.rowIndex="9" GridPane.columnIndex="1"/>
|
||||
<Button text="Close" onAction="#onClose" defaultButton="true" GridPane.rowIndex="9"
|
||||
GridPane.columnIndex="1"/>
|
||||
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" minWidth="10.0"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue