fin du front admin 2
This commit is contained in:
parent
05874e1033
commit
e6ecd8e85a
4
src/main/java/fr/univ_amu/iut/admin2/Controller.java
Normal file
4
src/main/java/fr/univ_amu/iut/admin2/Controller.java
Normal file
@ -0,0 +1,4 @@
|
||||
package fr.univ_amu.iut.admin2;
|
||||
|
||||
public class Controller {
|
||||
}
|
26
src/main/java/fr/univ_amu/iut/admin2/Main.java
Normal file
26
src/main/java/fr/univ_amu/iut/admin2/Main.java
Normal file
@ -0,0 +1,26 @@
|
||||
package fr.univ_amu.iut.admin2;
|
||||
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
|
||||
|
||||
public class Main extends Application {
|
||||
|
||||
public static void main(String[] args) {launch(args);}
|
||||
@Override
|
||||
public void start(Stage stage) throws Exception {
|
||||
try {
|
||||
AnchorPane root = FXMLLoader.load(getClass().getResource("/fr/univ_amu/iut/admin2/admin2.fxml"));
|
||||
stage.setScene(new Scene(root));
|
||||
stage.show();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
85
src/main/java/fr/univ_amu/iut/admin2/admin2.fxml
Normal file
85
src/main/java/fr/univ_amu/iut/admin2/admin2.fxml
Normal file
@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.TextArea?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import javafx.scene.text.Text?>
|
||||
|
||||
<AnchorPane prefHeight="837.0" prefWidth="1350.0" style="-fx-background-color: #f5f0e1#f5f0e1;" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.univ_amu.iut.admin2.Controller">
|
||||
<children>
|
||||
<ScrollPane layoutX="14.0" layoutY="136.0" prefHeight="234.0" prefWidth="589.0" style="-fx-background-radius: 10;">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="234.0" prefWidth="590.0" style="-fx-background-color: #e5e0d1;">
|
||||
<children>
|
||||
<TextField layoutX="13.0" layoutY="16.0" prefHeight="36.0" prefWidth="240.0" promptText="Nom" />
|
||||
<TextField layoutX="310.0" layoutY="17.0" prefHeight="35.0" prefWidth="238.0" promptText="Type" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
<ScrollPane layoutX="684.0" layoutY="133.0" prefHeight="234.0" prefWidth="586.0" style="-fx-background-radius: 10;">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="235.0" prefWidth="583.0" style="-fx-background-color: #e5e0d1 #e5e0d1;">
|
||||
<children>
|
||||
<TextField layoutX="13.0" layoutY="19.0" prefHeight="36.0" prefWidth="170.0" promptText="Nom" />
|
||||
<TextField layoutX="199.0" layoutY="18.0" prefHeight="36.0" prefWidth="170.0" promptText="Lien" />
|
||||
<TextField layoutX="379.0" layoutY="18.0" prefHeight="36.0" prefWidth="170.0" promptText="Type" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
<Text layoutX="16.0" layoutY="118.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Acteurs" textAlignment="CENTER" wrappingWidth="580.0">
|
||||
<font>
|
||||
<Font size="31.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Button layoutX="615.0" layoutY="146.0" mnemonicParsing="false" prefHeight="34.0" prefWidth="42.0" style="-fx-background-radius: 200; -fx-background-color: #e5e0d1 #e5e0d1;" text="+">
|
||||
<font>
|
||||
<Font size="26.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Text layoutX="682.0" layoutY="119.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Ressources" textAlignment="CENTER" wrappingWidth="580.0">
|
||||
<font>
|
||||
<Font size="31.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Button layoutX="1278.0" layoutY="136.0" mnemonicParsing="false" prefHeight="34.0" prefWidth="42.0" style="-fx-background-radius: 200; -fx-background-color: #e5e0d1 #e5e0d1;" text="+">
|
||||
<font>
|
||||
<Font size="26.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Text layoutX="45.0" layoutY="430.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Degrès" wrappingWidth="173">
|
||||
<font>
|
||||
<Font size="31.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<ScrollPane layoutX="45.0" layoutY="450.0" prefHeight="84.0" prefWidth="273.0" style="-fx-background-radius: 10;">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="83.0" prefWidth="273.0" style="-fx-background-color: #e5e0d1;">
|
||||
<children>
|
||||
<Button layoutX="18.0" layoutY="14.0" mnemonicParsing="false" prefHeight="39.0" prefWidth="223.0" style="-fx-background-radius: 30;" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
<Text layoutX="673.0" layoutY="430.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Description" wrappingWidth="173.92605590820312">
|
||||
<font>
|
||||
<Font size="31.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<TextArea layoutX="673.0" layoutY="450.0" prefHeight="174.0" prefWidth="496.0" />
|
||||
<Button layoutX="1150.0" layoutY="739.0" mnemonicParsing="false" prefHeight="82.0" prefWidth="178.0" style="-fx-background-radius: 40;" text="VALIDER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="16.0" layoutY="751.0" mnemonicParsing="false" prefHeight="60.0" prefWidth="93.0" style="-fx-background-radius: 30;" text="<-">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Button>
|
||||
</children>
|
||||
</AnchorPane>
|
Loading…
Reference in New Issue
Block a user