Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed build/classes/Padeler/Test.class
Binary file not shown.
Binary file removed build/classes/entite/Club.class
Binary file not shown.
Binary file removed build/classes/entite/Disponibiliteterrain.class
Binary file not shown.
Binary file removed build/classes/entite/Terrain.class
Binary file not shown.
Binary file removed build/classes/gui/AcceuilController.class
Binary file not shown.
Binary file removed build/classes/gui/FXMain.class
Binary file not shown.
11 changes: 0 additions & 11 deletions build/classes/gui/acceuil.fxml

This file was deleted.

Binary file added build/classes/padler/DashboardController.class
Binary file not shown.
182 changes: 182 additions & 0 deletions build/classes/padler/DashboardDesign.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : 29 mai 2023, 00:20:08
Author : Esprit
*/

.top-form{
-fx-background-color:#fff;
-fx-border-color:#000;
-fx-border-width:.4px .4px .2px .4px;
}

.semi-top-form{
-fx-background-color:#efefef;
-fx-border-color:#000;
-fx-border-width:.2px .4px .8px .4px;
}

.close{
-fx-background-color:transparent;
-fx-cursor:hand;
}
.close:hover{
-fx-background-color:#ff3547;
}

.minimize{
-fx-background-color:transparent;
-fx-cursor:hand;
}
.minimize:hover{
-fx-background-color:#ddd;
}

.nav-form{
-fx-background-color:linear-gradient(to bottom right, #272b3f, #256b51);
}

.nav-btn{
-fx-background-color:transparent;
-fx-cursor:hand;
-fx-font-family:"Arial";
-fx-font-size:14px;
-fx-text-fill:#fff;
-fx-alignment:CENTER-LEFT;
}

.logout{
-fx-background-color:#6ae8b8;
-fx-background-radius:10px;
-fx-cursor:hand;
}
.logout:hover{
-fx-background-color:#18a383;
}

.shadow{
-fx-effect:dropshadow(three-pass-box, rgba(0,0,0,0.5), 6,0,0,0);
}

.white-bg{
-fx-background-color:#fff;
-fx-background-radius:8px;
}

.card{
-fx-background-color:linear-gradient(to right, #2b303c, #525968);
-fx-background-radius:5px;
}

.table-view{
-fx-background-color:transparent;
-fx-border-color:linear-gradient(to bottom right, #272b3f, #256b51);
-fx-border-radius:8px;
-fx-padding:0px;
}
.table-view .table-column{
-fx-alignment:CENTER;
}
.table-view .column-header-background{
-fx-background-color:linear-gradient(to bottom right, #272b3f, #256b51);
-fx-background-insets: 0 0 0 0;
-f-background-radius:8px 8px 0px 0px;
}
.table-view .column-header, .filter{
-fx-background-color: transparent;
-fx-size:40px;
}
.table-view .column-header .label{
-fx-text-fill:#fff;
-fx-font-family:"Arial";
}

.textfield{
-fx-background-color:linear-gradient(to bottom, #efefef, #eee);
-fx-border-color:linear-gradient(to bottom right, #272b3f, #256b51);
-fx-border-width:.8px;
-fx-font-family:"Tahoma";
-fx-border-radius:4px;
}
.textfield:focused{
-fx-border-width:1.8px;
-fx-background-color:#fff;
}

.search{
-fx-background-color:transparent;
-fx-border-color:linear-gradient(to bottom right, #272b3f, #256b51);
-fx-border-radius:5px;
-fx-font-size:13px;
-fx-font-family:"Arial";
-fx-border-width:1px;
-fx-padding:0px 0px 0px 28px;
}
.search:focused{
-fx-border-width:2px;
}

.import-btn{
-fx-background-color:#ddd;
-fx-text-fill:red;
-fx-cursor:hand;
}

.add-btn{
-fx-background-color:#304575;
-fx-background-radius:8px;
-fx-text-fill:#fff;
-fx-font-size:14px;
-fx-font-family:"Arial";
-fx-cursor:hand;
}
.add-btn:hover{
-fx-background-color:#3357a4;
}

.update-btn{
-fx-background-color:#327252;
-fx-background-radius:8px;
-fx-text-fill:#fff;
-fx-font-size:14px;
-fx-font-family:"Arial";
-fx-cursor:hand;
}
.update-btn:hover{
-fx-background-color:#309a65;
}

.delete-btn{
-fx-background-color:#86253f;
-fx-background-radius:8px;
-fx-text-fill:#fff;
-fx-font-size:14px;
-fx-font-family:"Arial";
-fx-cursor:hand;
}
.delete-btn:hover{
-fx-background-color:#ae1d46;
}

.clear-btn{
-fx-background-color:#753566;
-fx-background-radius:8px;
-fx-text-fill:#fff;
-fx-font-size:14px;
-fx-font-family:"Arial";
-fx-cursor:hand;
}
.clear-btn:hover{
-fx-background-color:#9d3485;
}

.label-info{
-fx-background-color:transparent;
-fx-border-color:linear-gradient(to bottom right, #272b3f, #256b51);
-fx-border-radius:4px;
-fx-padding:0px 0px 0px 8px;
}
47 changes: 47 additions & 0 deletions build/classes/padler/FXMLDocument.fxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.PasswordField?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.text.Font?>


<StackPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="padler.FXMLDocumentController">
<children>
<AnchorPane fx:id="main_form" prefHeight="200.0" prefWidth="300.0" stylesheets="@LoginDesign.css">
<children>
<AnchorPane layoutY="6.0" prefHeight="400.0" prefWidth="300.0" styleClass="left-form" stylesheets="@LoginDesign.css">
<children>
<FontAwesomeIconView fill="#e2d2d2" glyphName="USERS" layoutX="98.0" layoutY="141.0" size="8EM" />
<Label layoutX="61.0" layoutY="175.0" text="Padler Management" textFill="#d4bfbf">
<font>
<Font name="Tahoma" size="20.0" />
</font>
</Label>
</children>
</AnchorPane>
<AnchorPane layoutX="300.0" layoutY="6.0" prefHeight="400.0" prefWidth="300.0" styleClass="right-form" stylesheets="@LoginDesign.css">
<children>
<Label layoutX="22.0" layoutY="106.0" text="Welcome back !" textFill="#256b51">
<font>
<Font name="Tahoma Bold" size="17.0" />
</font>
</Label>
<TextField fx:id="username" layoutX="47.0" layoutY="146.0" onAction="#loginAdmin" prefHeight="30.0" prefWidth="220.0" promptText="User name" styleClass="textfield" stylesheets="@LoginDesign.css" />
<PasswordField fx:id="password" layoutX="47.0" layoutY="200.0" onAction="#loginAdmin" prefHeight="30.0" prefWidth="220.0" promptText="Password" styleClass="textfield" stylesheets="@LoginDesign.css" />
<Button fx:id="loginbtn" layoutX="47.0" layoutY="254.0" mnemonicParsing="false" onAction="#loginAdmin" prefHeight="40.0" prefWidth="220.0" styleClass="login-btn" stylesheets="@LoginDesign.css" text="Login" />
<Button layoutX="234.0" layoutY="14.0" mnemonicParsing="false" onAction="#close" prefHeight="24.0" prefWidth="62.0" styleClass="close" stylesheets="@LoginDesign.css" AnchorPane.rightAnchor="2.0" AnchorPane.topAnchor="2.0">
<graphic>
<FontAwesomeIconView fx:id="close" glyphName="CLOSE" size="1.2EM" />
</graphic>
</Button>
</children>
</AnchorPane>
</children>
</AnchorPane>
</children>
</StackPane>
Binary file added build/classes/padler/FXMLDocumentController.class
Binary file not shown.
54 changes: 54 additions & 0 deletions build/classes/padler/LoginDesign.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : 28 mai 2023, 03:47:32
Author : Esprit
*/
.left-form{
-fx-background-color:linear-gradient(to bottom right, #272b3f, #256b51);
-fx-border-color:#000;
-fx-border-width:.4px 0px .4px .4px;
}
.right-form{
-fx-background-color:#fff;
-fx-border-color:#000;
-fx-border-width:.4px .4px .4px 0px;
}

.close{
-fx-background-color:transparent;
-fx-cursor:hand;
}
.close:hover{
-fx-background-color:#ff3547;
}
.textfield{
-fx-background-color:linear-gradient(to bottom, #efefef, #eee);
-fx-background-radius:4px;
-fx-border-color:#000;
-fx-border-width:.4px;
-fx-border-radius:4px;
-fx-font-size:13px;
-fx-font-family:"Arial";

}
.textfield:focused{
-fx-background-color:#fff;
-fx-border-color:linear-gradient(to bottom right, #272b3f, #256b51);
-fx-border-width:.8px;
}

.login-btn{
-fx-background-color:linear-gradient(to bottom, #278f96,#2d645f);
-fx-background-radius:5px;
-fx-text-fill:#fff;
-fx-font-size:14px;
-fx-font-family:"Arial";
-fx-cursor:hand;
}
.login-btn:hover{
-fx-background-color:linear-gradient(to bottom, #21a7ae,#368981);
}
Binary file added build/classes/padler/Padler.class
Binary file not shown.
Loading