first commit

This commit is contained in:
2025-10-30 13:23:53 +01:00
commit 433e47e385
1619 changed files with 106327 additions and 0 deletions

View File

@@ -0,0 +1,230 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.media.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.shape.*?>
<?import javafx.scene.text.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.collections.*?>
<AnchorPane id="AnchorPane" prefHeight="590.0" prefWidth="796.0" styleClass="AnchorPane-Default" 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/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Controllers.User.AddUserController">
<children>
<AnchorPane layoutX="14.0" layoutY="14.0" prefHeight="186.0" prefWidth="516.0" styleClass="panel-default" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0">
<children>
<AnchorPane layoutX="2.0" layoutY="2.0" prefHeight="38.0" prefWidth="469.0" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<Text fontSmoothingType="LCD" layoutX="14.0" layoutY="23.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Information de connexion">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Text>
</children>
</AnchorPane>
<GridPane layoutX="14.0" layoutY="46.0" prefHeight="132.0" prefWidth="502.0" AnchorPane.bottomAnchor="9.0" AnchorPane.leftAnchor="13.0" AnchorPane.rightAnchor="1.0" AnchorPane.topAnchor="45.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="219.0" minWidth="10.0" prefWidth="141.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="268.0" minWidth="10.0" prefWidth="120.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="235.0" minWidth="10.0" prefWidth="76.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="235.0" minWidth="10.0" prefWidth="133.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="235.0" minWidth="10.0" prefWidth="136.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="235.0" minWidth="10.0" prefWidth="63.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom d'utilisateur">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<TextField prefHeight="35.0" prefWidth="219.0" GridPane.columnIndex="1" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Mot de passe" GridPane.rowIndex="1">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Répéter mot de passe" GridPane.rowIndex="2">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<Text fill="#ee0404" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="2">
<font>
<Font name="System Bold" size="12.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Type de compte" GridPane.columnIndex="3">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Question secréte" GridPane.columnIndex="3" GridPane.rowIndex="1">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Réponce à la question" GridPane.columnIndex="3" GridPane.rowIndex="2">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<PasswordField prefHeight="35.0" prefWidth="126.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<PasswordField prefHeight="35.0" prefWidth="126.0" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="4">
<children>
<ComboBox layoutY="5.0" prefHeight="35.0" prefWidth="137.0" styleClass="liste-select" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<items>
<FXCollections fx:factory="observableArrayList">
<String fx:value="Administrateur" />
<String fx:value="Utilisateur" />
</FXCollections>
</items>
</ComboBox>
</children>
</AnchorPane>
<AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="4" GridPane.rowIndex="1">
<children>
<ComboBox layoutY="4.0" prefHeight="35.0" prefWidth="137.0" styleClass="liste-select" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<items>
<FXCollections fx:factory="observableArrayList">
<String fx:value="Ma première école élémentaire ?" />
<String fx:value="Le Lycée que j'ai fréquenté ?" />
<String fx:value="Ville de naissance de ma mère ?" />
<String fx:value="Ville de naissance de mon père ?" />
<String fx:value="Ma ville de naissance ?" />
<String fx:value="Nom de mon premier animal ?" />
<String fx:value="Meilleur(e) ami(e) au lycée ?" />
<String fx:value="Modèle de ma première voiture ?" />
<String fx:value="Mon équipe sportive préférée ?" />
<String fx:value="Mon premier employeur (société) ?" />
</FXCollections>
</items>
</ComboBox>
</children>
</AnchorPane>
<TextField prefHeight="35.0" prefWidth="137.0" GridPane.columnIndex="4" GridPane.rowIndex="2" />
</children>
</GridPane>
</children>
</AnchorPane>
<AnchorPane layoutX="14.0" layoutY="215.0" prefHeight="312.0" prefWidth="779.0" styleClass="panel-default" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0">
<children>
<AnchorPane layoutX="2.0" layoutY="2.0" prefHeight="38.0" prefWidth="469.0" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<Text fontSmoothingType="LCD" layoutX="14.0" layoutY="23.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Information personnel">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Text>
</children>
</AnchorPane>
<ImageView fitHeight="104.0" fitWidth="103.0" layoutX="23.0" layoutY="70.0">
<image>
<Image url="@../../Public/icon/profiluser.jpg" />
</image>
</ImageView>
<Button layoutX="45.0" layoutY="186.0" mnemonicParsing="false" styleClass="btn-success" text="Ajouter" />
<GridPane layoutX="154.0" layoutY="53.0" prefHeight="227.0" prefWidth="561.0" AnchorPane.leftAnchor="153.0" AnchorPane.rightAnchor="19.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="124.0" minWidth="10.0" prefWidth="124.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="220.0" minWidth="10.0" prefWidth="134.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="136.0" minWidth="10.0" prefWidth="69.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="136.0" minWidth="10.0" prefWidth="66.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="175.0" minWidth="10.0" prefWidth="163.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="62.0" minHeight="10.0" prefHeight="45.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="44.0" minHeight="10.0" prefHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="44.0" minHeight="10.0" prefHeight="17.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="74.0" minHeight="10.0" prefHeight="43.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="73.0" minHeight="10.0" prefHeight="21.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="73.0" minHeight="10.0" prefHeight="32.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="73.0" minHeight="10.0" prefHeight="39.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="73.0" minHeight="10.0" prefHeight="16.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Prénom">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<TextField prefHeight="35.0" prefWidth="122.0" GridPane.columnIndex="1" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<TextField prefHeight="35.0" prefWidth="123.0" GridPane.columnIndex="4" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom" GridPane.columnIndex="3">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="4" GridPane.rowIndex="1" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date de naissance" GridPane.rowIndex="3">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="3">
<children>
<DatePicker layoutY="9.0" prefHeight="35.0" prefWidth="136.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" />
</children>
</AnchorPane>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Sexe" GridPane.columnIndex="3" GridPane.rowIndex="3">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="4" GridPane.rowIndex="3">
<children>
<RadioButton layoutY="17.0" mnemonicParsing="false" text="Homme" />
<RadioButton layoutX="87.0" layoutY="17.0" mnemonicParsing="false" text="Femme" />
</children>
</AnchorPane>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="4" GridPane.rowIndex="4" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Numéro Tele" GridPane.rowIndex="6">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<TextField prefHeight="35.0" prefWidth="135.0" GridPane.columnIndex="1" GridPane.rowIndex="6" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Mail" GridPane.columnIndex="3" GridPane.rowIndex="6">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<TextField prefHeight="35.0" prefWidth="166.0" GridPane.columnIndex="4" GridPane.rowIndex="6" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="1" GridPane.rowIndex="7" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="4" GridPane.rowIndex="7" />
</children>
</GridPane>
</children>
</AnchorPane>
<AnchorPane layoutY="543.0" prefHeight="44.0" prefWidth="743.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<children>
<GridPane layoutX="-1.0" layoutY="13.0" prefHeight="38.0" prefWidth="743.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="13.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Button fx:id="ajouter" mnemonicParsing="false" onAction="#handleButtonAction" prefHeight="35.0" prefWidth="78.0" styleClass="btn-primary" text="Ajouter" GridPane.columnIndex="3" />
</children>
</GridPane>
</children>
</AnchorPane>
</children>
</AnchorPane>