<?xml version="1.0" encoding="UTF-8"?>

<?import java.net.URL?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.Cursor?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<BorderPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="600.0" minWidth="1000.0" prefHeight="600.0" prefWidth="993.0" style="-fx-border-color: #969696; -fx-border-width: 1; -fx-background-color: white;" styleClass="mainFxmlClass" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="importation.validation.data.client.forms.ValidateurListFormController">
   <center>
      <VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="509.0" prefWidth="949.0" BorderPane.alignment="CENTER">
         <children>
            <HBox alignment="CENTER_LEFT" styleClass="banner">
               <children>
                  <ImageView fitHeight="37.0" fitWidth="131.0" pickOnBounds="true" preserveRatio="true">
                     <image>
                        <Image url="@../../../../../images/Logo_FDX_Convert.png" />
                     </image>
                  </ImageView>
               </children>
               <padding>
                  <Insets left="30.0" right="30.0" top="20.0" />
               </padding>
            </HBox>
            <VBox spacing="20.0" style="-fx-background-color: #44507; -fx-border-color: #E7E7E7; -fx-border-width: 2 2 2 2;" VBox.vgrow="ALWAYS">
               <children>
                  <TitledPane collapsible="false" text="Recherche">
                     <content>
                        <BorderPane fx:id="searchPane" prefHeight="43.0" prefWidth="1219.0" style="-fx-background-color: rgb(246, 247, 249);">
                           <right>
                              <HBox spacing="5.0" BorderPane.alignment="CENTER_LEFT">
                                 <BorderPane.margin>
                                    <Insets />
                                 </BorderPane.margin>
                                 <children>
                                    <Button fx:id="btnSearch" maxWidth="1.7976931348623157E308" mnemonicParsing="false" styleClass="search">
                                       <cursor>
                                          <Cursor fx:constant="HAND" />
                                       </cursor>
                                    </Button>
                                    <Button fx:id="btnReset" maxWidth="1.7976931348623157E308" mnemonicParsing="false" styleClass="reset">
                                       <cursor>
                                          <Cursor fx:constant="HAND" />
                                       </cursor>
                                    </Button>
                                    <CheckBox fx:id="advancedCheckBox" alignment="CENTER" maxHeight="-Infinity" maxWidth="1.7976931348623157E308" mnemonicParsing="false" prefHeight="25.0" text="Recherche avancées">
                                       <font>
                                          <Font name="Roboto" size="12.0" />
                                       </font>
                                    </CheckBox>
                                 </children>
                                 <padding>
                                    <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
                                 </padding>
                              </HBox>
                           </right>
                           <center>
                              <VBox BorderPane.alignment="CENTER">
                                 <children>
                                    <VBox fx:id="normalSearchContainer" VBox.vgrow="ALWAYS">
                                       <padding>
                                          <Insets right="50.0" />
                                       </padding>
                                    </VBox>
                                    <VBox fx:id="advancedSearchContainer" VBox.vgrow="ALWAYS">
                                       <padding>
                                          <Insets right="50.0" />
                                       </padding>
                                    </VBox>
                                 </children>
                              </VBox>
                           </center>
                        </BorderPane>
                     </content>
                  </TitledPane>
                  <VBox prefHeight="200.0" prefWidth="100.0" style="-fx-background-color: rgb(246, 247, 249);" VBox.vgrow="ALWAYS">
                     <children>
                        <HBox alignment="CENTER_LEFT" maxHeight="18.0" minHeight="18.0" prefHeight="30.0" spacing="5.0" style="-fx-background-color: #fff; -fx-border-width: 2 2  0 2; -fx-border-color: #D0D0D0;">
                           <children>
                              <HBox fx:id="buttonContainer" alignment="BOTTOM_LEFT" maxHeight="15.0" minHeight="15.0" prefHeight="15.0">
                                 <children>
                                    <Button fx:id="btnAdd" maxHeight="15.0" minHeight="15.0" mnemonicParsing="false" onAction="#onAddDialog" prefHeight="15.0" style="-fx-background-color: #fff;" styleClass="main-btn-add" textFill="#ebf0ee">
                                       <font>
                                          <Font name="System Bold" size="12.0" />
                                       </font>
                                       <cursor>
                                          <Cursor fx:constant="HAND" />
                                       </cursor>
                                    </Button>
                                    <Button fx:id="btnEdit" maxHeight="15.0" minHeight="15.0" minWidth="-Infinity" mnemonicParsing="false" onAction="#onEditDialog" prefHeight="15.0" style="-fx-background-color: #fff;" styleClass="main-btn-edit" textFill="#f2eded">
                                       <font>
                                          <Font name="System Bold" size="12.0" />
                                       </font>
                                       <cursor>
                                          <Cursor fx:constant="HAND" />
                                       </cursor>
                                    </Button>
                                    <Button fx:id="btnPrint" maxHeight="15.0" minHeight="15.0" minWidth="-Infinity" mnemonicParsing="false" onAction="#onEditDialog" prefHeight="15.0" style="-fx-background-color: #fff;" styleClass="main-btn-print" textFill="#f2eded">
                                       <font>
                                          <Font name="System Bold" size="12.0" />
                                       </font>
                                       <cursor>
                                          <Cursor fx:constant="HAND" />
                                       </cursor>
                                    </Button>
                                    <Button fx:id="btnDelete" maxHeight="15.0" minHeight="15.0" mnemonicParsing="false" onAction="#removeElement" prefHeight="15.0" style="-fx-background-color: #fff;" styleClass="main-btn-delete" textFill="#f2eded">
                                       <font>
                                          <Font name="System Bold" size="12.0" />
                                       </font>
                                       <cursor>
                                          <Cursor fx:constant="HAND" />
                                       </cursor>
                                    </Button>
                                 </children>
                              </HBox>
                              <HBox prefHeight="25.0" prefWidth="1149.0" />
                              <HBox alignment="CENTER_RIGHT" maxHeight="15.0" minHeight="15.0" prefHeight="15.0" prefWidth="650.0" spacing="5.0" style="-fx-background-color: #fff;">
                                 <children>
                                    <Button fx:id="btnPrintValidator" alignment="BOTTOM_RIGHT" contentDisplay="CENTER" maxHeight="18.0" minHeight="18.0" mnemonicParsing="false" style="-fx-background-color: #fff;" styleClass="main-btn-export">
                                       <HBox.margin>
                                          <Insets />
                                       </HBox.margin>
                                       <cursor>
                                          <Cursor fx:constant="HAND" />
                                       </cursor>
                                    </Button>
                                    <Label fx:id="btnPrintValidatorLabel" text="Exporter" />
                                 </children>
                                 <HBox.margin>
                                    <Insets right="5.0" />
                                 </HBox.margin>
                              </HBox>
                           </children>
                           <opaqueInsets>
                              <Insets />
                           </opaqueInsets>
                           <VBox.margin>
                              <Insets top="5.0" />
                           </VBox.margin>
                        </HBox>
                        <VBox prefHeight="200.0" prefWidth="100.0" style="-fx-border-color: #9B9798;" VBox.vgrow="ALWAYS">
                           <children>
                              <TableView fx:id="elementTable" VBox.vgrow="ALWAYS">
                                 <columnResizePolicy>
                                    <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                                 </columnResizePolicy>
                              </TableView>
                              <HBox alignment="CENTER_RIGHT" spacing="5.0" style="-fx-background-color: #D1D2D4; -fx-border-color: #9B9798; -fx-border-width: 1 0 0 0;">
                                 <children>
                                    <HBox alignment="CENTER" spacing="2.0">
                                       <children>
                                          <HBox alignment="CENTER" spacing="5.0">
                                             <children>
                                                <Button fx:id="btnPrevious" mnemonicParsing="false" style="-fx-background-color: transparent; -fx-padding: 1;">
                                                   <graphic>
                                                      <ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
                                                         <image>
                                                            <Image url="@../../../../../images/previous-img.png" />
                                                         </image>
                                                      </ImageView>
                                                   </graphic>
                                                   <cursor>
                                                      <Cursor fx:constant="HAND" />
                                                   </cursor>
                                                </Button>
                                             </children>
                                          </HBox>
                                          <HBox alignment="CENTER" spacing="5.0">
                                             <children>
                                                <Button fx:id="btnNext" mnemonicParsing="false" style="-fx-background-color: transparent; -fx-padding: 1;">
                                                   <graphic>
                                                      <ImageView fitHeight="15.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true">
                                                         <image>
                                                            <Image url="@../../../../../images/next-img.png" />
                                                         </image>
                                                      </ImageView>
                                                   </graphic>
                                                   <cursor>
                                                      <Cursor fx:constant="HAND" />
                                                   </cursor>
                                                </Button>
                                             </children>
                                          </HBox>
                                       </children>
                                    </HBox>
                                    <Label fx:id="paginationNumberInfo" text="(0/0)" textFill="#636466">
                                       <font>
                                          <Font name="Roboto" size="12.0" />
                                       </font>
                                    </Label>
                                 </children>
                                 <padding>
                                    <Insets bottom="4.0" left="4.0" right="4.0" top="4.0" />
                                 </padding>
                              </HBox>
                           </children>
                        </VBox>
                     </children>
                  </VBox>
               </children>
               <padding>
                  <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
               </padding>
               <VBox.margin>
                  <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
               </VBox.margin>
            </VBox>
         </children>
      </VBox>
   </center>
   <top>
      <HBox onMouseDragged="#titleBarMouseDragged" onMousePressed="#titleBarMousePressed" spacing="20.0" styleClass="title-bar" BorderPane.alignment="CENTER_LEFT">
         <children>
            <HBox alignment="CENTER_LEFT">
               <padding>
                  <Insets left="5.0" />
               </padding></HBox>
            <Text fx:id="title" fill="WHITE" stroke="WHITE" strokeType="INSIDE" strokeWidth="0.0" text="Titre de la fenêtre" textAlignment="CENTER">
               <font>
                  <Font name="System Bold" size="16.0" />
               </font>
               <HBox.margin>
                  <Insets bottom="2.0" top="2.0" />
               </HBox.margin>
            </Text>
            <HBox alignment="CENTER_RIGHT" prefWidth="200.0" spacing="20.0" HBox.hgrow="ALWAYS">
               <children>
                  <Button mnemonicParsing="false" onAction="#maximize" styleClass="title-bar-button">
                     <graphic>
                        <ImageView fitHeight="10.0" fitWidth="10.0" pickOnBounds="true" preserveRatio="true">
                           <image>
                              <Image url="@../../../../../images/max_icon.png" />
                           </image>
                        </ImageView>
                     </graphic>
                     <cursor>
                        <Cursor fx:constant="HAND" />
                     </cursor>
                  </Button>
                  <Button layoutX="786.0" layoutY="15.0" mnemonicParsing="false" onAction="#close" styleClass="title-bar-button">
                     <graphic>
                        <ImageView fitHeight="10.0" fitWidth="10.0" pickOnBounds="true" preserveRatio="true">
                           <image>
                              <Image url="@../../../../../images/custom_close_icon.png" />
                           </image>
                        </ImageView>
                     </graphic>
                     <cursor>
                        <Cursor fx:constant="HAND" />
                     </cursor>
                  </Button>
               </children>
            </HBox>
         </children>
         <padding>
            <Insets bottom="1.5" left="1.5" right="10.0" top="1.5" />
         </padding>
      </HBox>
   </top>
   <stylesheets>
      <URL value="@../../../../../styles/custom-main-style.css" />
      <URL value="@../../../../../styles/custom-title-bar.css" />
   </stylesheets>
</BorderPane>
