145 lines
9.2 KiB
XML
145 lines
9.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.image.Image?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
<?import javafx.scene.layout.ColumnConstraints?>
|
|
<?import javafx.scene.layout.GridPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.Pane?>
|
|
<?import javafx.scene.layout.RowConstraints?>
|
|
<?import javafx.scene.layout.StackPane?>
|
|
<?import javafx.scene.text.Font?>
|
|
<?import javafx.scene.text.Text?>
|
|
|
|
<AnchorPane id="AnchorPane" fx:id="AnchorPaneAjouterClient" prefHeight="642.0" prefWidth="796.0" style="-fx-background-color: #ffffff;" stylesheets="@../../Public/CSS/StylePrincipal.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Controllers.Client.MenuClientController">
|
|
<children>
|
|
<Pane fx:id="TitrePane" prefHeight="52.0" prefWidth="796.0" styleClass="pane2hautdroit" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<HBox alignment="BOTTOM_LEFT" layoutX="23.0" layoutY="13.1787109375">
|
|
<children>
|
|
<Text fx:id="TitrePrincipale" layoutX="23.0" layoutY="34.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Client">
|
|
<font>
|
|
<Font name="Arial" size="23.0" />
|
|
</font>
|
|
</Text>
|
|
<Text layoutX="176.0" layoutY="31.0" strokeType="OUTSIDE" strokeWidth="0.0" text=" ">
|
|
<font>
|
|
<Font name="Arial" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="TitreSecondaire" layoutX="163.0" layoutY="34.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Menu">
|
|
<font>
|
|
<Font name="Arial" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
</Pane>
|
|
<GridPane layoutX="46.0" layoutY="108.0" prefHeight="499.0" prefWidth="715.0" AnchorPane.bottomAnchor="35.0" AnchorPane.leftAnchor="46.0" AnchorPane.rightAnchor="35.0" AnchorPane.topAnchor="108.0">
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="120.0" prefWidth="120.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="120.0" prefWidth="120.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="200.0" minHeight="170.0" prefHeight="170.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="1.7976931348623157E308" minHeight="144.0" prefHeight="148.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="200.0" minHeight="170.0" prefHeight="170.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
<children>
|
|
<AnchorPane prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #337ab7; -fx-background-radius: 5;">
|
|
<children>
|
|
<AnchorPane layoutX="18.0" layoutY="60.0" prefHeight="127.0" prefWidth="203.0" style="-fx-background-color: #FFFFFF;" AnchorPane.bottomAnchor="3.0" AnchorPane.leftAnchor="3.0" AnchorPane.rightAnchor="3.0" AnchorPane.topAnchor="90.0">
|
|
<children>
|
|
<Button layoutX="92.0" layoutY="28.0" mnemonicParsing="false" onAction="#AjouterClientButtonAction" styleClass="btn-primary" text="Ajouter client" textFill="WHITE" AnchorPane.bottomAnchor="22.0" AnchorPane.leftAnchor="60.0" AnchorPane.rightAnchor="60.0" AnchorPane.topAnchor="22.0">
|
|
<font>
|
|
<Font name="System Bold" size="13.0" />
|
|
</font>
|
|
</Button>
|
|
</children>
|
|
</AnchorPane>
|
|
<StackPane layoutX="21.0" layoutY="-28.0" prefHeight="90.0" prefWidth="242.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<ImageView fitHeight="64.0" fitWidth="64.0">
|
|
<image>
|
|
<Image url="@../../Public/icon/client_ajouter.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
</StackPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #4DAE4D; -fx-background-radius: 5;" visible="false" GridPane.rowIndex="2">
|
|
<children>
|
|
<AnchorPane layoutX="28.0" layoutY="14.0" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #FFFFFF;" AnchorPane.bottomAnchor="3.0" AnchorPane.leftAnchor="3.0" AnchorPane.rightAnchor="3.0" AnchorPane.topAnchor="90.0">
|
|
<children>
|
|
<Button layoutX="92.0" layoutY="28.0" mnemonicParsing="false" styleClass="btn-success" text="Client fidèle" textFill="WHITE" AnchorPane.bottomAnchor="22.0" AnchorPane.leftAnchor="60.0" AnchorPane.rightAnchor="60.0" AnchorPane.topAnchor="22.0">
|
|
<font>
|
|
<Font name="System Bold" size="14.0" />
|
|
</font>
|
|
</Button>
|
|
</children>
|
|
</AnchorPane>
|
|
<StackPane layoutX="14.0" layoutY="-35.0" prefHeight="90.0" prefWidth="242.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<ImageView fitHeight="64.0" fitWidth="64.0">
|
|
<image>
|
|
<Image url="@../../Public/icon/client_fidele.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
</StackPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #373737; -fx-background-radius: 5;" GridPane.columnIndex="2">
|
|
<children>
|
|
<AnchorPane layoutX="30.0" layoutY="67.0" prefHeight="120.0" prefWidth="191.0" style="-fx-background-color: #FFFFFF;" AnchorPane.bottomAnchor="3.0" AnchorPane.leftAnchor="3.0" AnchorPane.rightAnchor="3.0" AnchorPane.topAnchor="90.0">
|
|
<children>
|
|
<Button layoutX="92.0" layoutY="28.0" mnemonicParsing="false" onAction="#detailClientButtonAction" styleClass="btn-black" text="Détail client" textFill="WHITE" AnchorPane.bottomAnchor="22.0" AnchorPane.leftAnchor="60.0" AnchorPane.rightAnchor="60.0" AnchorPane.topAnchor="22.0">
|
|
<font>
|
|
<Font name="System Bold" size="13.0" />
|
|
</font>
|
|
</Button>
|
|
</children>
|
|
</AnchorPane>
|
|
<StackPane layoutX="-16.0" layoutY="-37.0" prefHeight="90.0" prefWidth="242.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<ImageView fitHeight="64.0" fitWidth="64.0">
|
|
<image>
|
|
<Image url="@../../Public/icon/client_detail.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
</StackPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #f20606; -fx-background-radius: 5;" visible="false" GridPane.columnIndex="2" GridPane.rowIndex="2">
|
|
<children>
|
|
<AnchorPane layoutX="66.0" layoutY="-13.0" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #FFFFFF;" AnchorPane.bottomAnchor="3.0" AnchorPane.leftAnchor="3.0" AnchorPane.rightAnchor="3.0" AnchorPane.topAnchor="90.0">
|
|
<children>
|
|
<Button layoutX="92.0" layoutY="28.0" mnemonicParsing="false" styleClass="btn-danger" text="Client en retard" textFill="WHITE" AnchorPane.bottomAnchor="22.0" AnchorPane.leftAnchor="60.0" AnchorPane.rightAnchor="60.0" AnchorPane.topAnchor="22.0">
|
|
<font>
|
|
<Font name="System Bold" size="13.0" />
|
|
</font>
|
|
</Button>
|
|
</children>
|
|
</AnchorPane>
|
|
<StackPane layoutX="21.0" layoutY="-34.0" prefHeight="90.0" prefWidth="242.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<ImageView fitHeight="64.0" fitWidth="64.0">
|
|
<image>
|
|
<Image url="@../../Public/icon/client_retard.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
</StackPane>
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</GridPane>
|
|
</children>
|
|
</AnchorPane>
|