-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
639185e
commit 7ba5adc
Showing
36 changed files
with
2,390 additions
and
0 deletions.
There are no files selected for viewing
671 changes: 671 additions & 0 deletions
671
.idea/shelf/Uncommitted_changes_before_Update_at_12_06_2023_01_28_[Changes]/shelved.patch
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
.idea/shelf/Uncommitted_changes_before_Update_at_12_06_2023_01_28__Changes_.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[LocalizedFileNames] | ||
NewComponentView.fxml=@NewComponentView.fxml,0 | ||
NewOrderView.fxml=@NewOrderView.fxml,0 | ||
NewUserView.fxml=@NewUserView.fxml,0 | ||
NewClientView.fxml=@NewClientView.fxml,0 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
211 changes: 211 additions & 0 deletions
211
src/main/resources/com/example/exa863_management_system_2023/ClientView.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,211 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.geometry.Insets?> | ||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.control.TableColumn?> | ||
<?import javafx.scene.control.TableView?> | ||
<?import javafx.scene.image.Image?> | ||
<?import javafx.scene.image.ImageView?> | ||
<?import javafx.scene.layout.AnchorPane?> | ||
<?import javafx.scene.layout.HBox?> | ||
<?import javafx.scene.layout.VBox?> | ||
<?import javafx.scene.text.Font?> | ||
|
||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="950.0" style="-fx-background-color: #1c0b2b;" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.exa863_management_system_2023.controller.ClientsController"> | ||
<children> | ||
<VBox prefHeight="600.0" prefWidth="240.0" style="-fx-background-color: #301c41;"> | ||
<children> | ||
<VBox alignment="CENTER" prefHeight="151.0" prefWidth="240.0"> | ||
<children> | ||
<ImageView fitHeight="65.0" fitWidth="65.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@images/user1Icon.png" /> | ||
</image> | ||
</ImageView> | ||
<Label fx:id="usernameLabel" text="Username" textFill="#e6e8e3"> | ||
<VBox.margin> | ||
<Insets top="20.0" /> | ||
</VBox.margin> | ||
</Label> | ||
</children> | ||
</VBox> | ||
<Button fx:id="ordersButton" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" onAction="#goToClients" prefHeight="60.0" prefWidth="240.0" style="-fx-background-color: #301c41;" text="Orders" textFill="#e6e8e3"> | ||
<graphic> | ||
<ImageView fitHeight="32.0" fitWidth="28.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@images/orderIcon.png" /> | ||
</image> | ||
</ImageView> | ||
</graphic> | ||
<padding> | ||
<Insets left="50.0" /> | ||
</padding> | ||
<VBox.margin> | ||
<Insets top="30.0" /> | ||
</VBox.margin> | ||
</Button> | ||
<Button fx:id="usersButton" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" onAction="#goToUsers" prefHeight="60.0" prefWidth="240.0" style="-fx-background-color: #301c41;" text="Users" textFill="#e6e8e3"> | ||
<graphic> | ||
<ImageView fitHeight="32.0" fitWidth="28.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@images/employeeIcon.png" /> | ||
</image> | ||
</ImageView> | ||
</graphic> | ||
<padding> | ||
<Insets left="50.0" /> | ||
</padding> | ||
</Button> | ||
<Button fx:id="clientsButton" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" onAction="#goToClients" prefHeight="60.0" prefWidth="240.0" style="-fx-background-color: #301c41;" text="Clients" textFill="#e6e8e3"> | ||
<graphic> | ||
<ImageView fitHeight="32.0" fitWidth="28.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@images/conferenceIcon.png" /> | ||
</image> | ||
</ImageView> | ||
</graphic> | ||
<padding> | ||
<Insets left="50.0" /> | ||
</padding> | ||
</Button> | ||
<Button fx:id="stockButton" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" onAction="#goToStock" prefHeight="60.0" prefWidth="240.0" style="-fx-background-color: #301c41;" text="Stock" textFill="#e6e8e3"> | ||
<graphic> | ||
<ImageView fitHeight="32.0" fitWidth="28.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@images/boxIcon.png" /> | ||
</image> | ||
</ImageView> | ||
</graphic> | ||
<padding> | ||
<Insets left="50.0" /> | ||
</padding> | ||
</Button> | ||
<Button fx:id="signoutButton" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" onAction="#quit" prefHeight="60.0" prefWidth="240.0" style="-fx-background-color: #301c41;" text="Sign Out" textFill="#e6e8e3"> | ||
<graphic> | ||
<ImageView fitHeight="32.0" fitWidth="28.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@images/logoutIcon.png" /> | ||
</image> | ||
</ImageView> | ||
</graphic> | ||
<padding> | ||
<Insets left="50.0" /> | ||
</padding> | ||
</Button> | ||
</children> | ||
</VBox> | ||
<Button fx:id="removeButton" layoutX="283.0" layoutY="529.0" mnemonicParsing="false" onAction="#removeClient" prefHeight="40.0" prefWidth="200.0" style="-fx-background-color: #1c0b2b; -fx-border-radius: 5cm; -fx-border-color: #ff3030;" text="Remove client" textFill="#ff3030"> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
</Button> | ||
<Button fx:id="newClientButton" layoutX="715.0" layoutY="529.0" mnemonicParsing="false" onAction="#addNewClient" prefHeight="40.0" prefWidth="200.0" style="-fx-background-color: #1c0b2b; -fx-border-radius: 5cm; -fx-border-color: #29b449;" text="Add new client" textFill="#29b449"> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
</Button> | ||
<Label layoutX="282.0" layoutY="52.0" text="Clients" textFill="#e6e8e3"> | ||
<font> | ||
<Font size="19.0" /> | ||
</font> | ||
</Label> | ||
<AnchorPane layoutX="283.0" layoutY="134.0" prefHeight="355.0" prefWidth="254.0" style="-fx-background-radius: 0.25cm; -fx-background-color: #301c41;"> | ||
<children> | ||
<ImageView fitHeight="134.0" fitWidth="138.0" layoutX="60.0" layoutY="22.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@images/userIcon.png" /> | ||
</image> | ||
</ImageView> | ||
<HBox layoutX="14.0" layoutY="156.0" prefHeight="179.0" prefWidth="226.0"> | ||
<children> | ||
<VBox alignment="CENTER_LEFT" prefHeight="151.0" prefWidth="94.0"> | ||
<children> | ||
<Label text="Name:" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="5.0" /> | ||
</padding> | ||
<font> | ||
<Font name="System Bold" size="12.0" /> | ||
</font> | ||
</Label> | ||
<Label text="ID:" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="12.0" /> | ||
</padding> | ||
<font> | ||
<Font name="System Bold" size="12.0" /> | ||
</font> | ||
</Label> | ||
<Label text="Email:" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="12.0" /> | ||
</padding> | ||
<font> | ||
<Font name="System Bold" size="12.0" /> | ||
</font> | ||
</Label> | ||
<Label text="Address" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="12.0" /> | ||
</padding> | ||
<font> | ||
<Font name="System Bold" size="12.0" /> | ||
</font> | ||
</Label> | ||
<Label text="Phone" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="12.0" /> | ||
</padding> | ||
<font> | ||
<Font name="System Bold" size="12.0" /> | ||
</font> | ||
</Label> | ||
</children> | ||
</VBox> | ||
<VBox alignment="CENTER_LEFT" prefHeight="179.0" prefWidth="198.0"> | ||
<children> | ||
<Label fx:id="nameLabel" text="Robertinho vitor" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="5.0" /> | ||
</padding> | ||
</Label> | ||
<Label fx:id="IDLabel" text="56298-abc5555-as896" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="12.0" /> | ||
</padding> | ||
</Label> | ||
<Label fx:id="emailLabel" text="isadora.maria@example.com" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="12.0" /> | ||
</padding> | ||
</Label> | ||
<Label fx:id="addressLabel" text="isadora.maria@example.com" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="12.0" /> | ||
</padding> | ||
</Label> | ||
<Label fx:id="phoneLabel" text="isadora.maria@example.com" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="12.0" /> | ||
</padding> | ||
</Label> | ||
</children> | ||
</VBox> | ||
</children> | ||
</HBox> | ||
</children> | ||
</AnchorPane> | ||
<TableView fx:id="usersTable" layoutX="544.0" layoutY="132.0" prefHeight="355.0" prefWidth="370.0" style="-fx-background-color: #e6e8e3;"> | ||
<columns> | ||
<TableColumn fx:id="nameColumn" prefWidth="182.4000244140625" text="Name" /> | ||
<TableColumn fx:id="emailColumn" minWidth="0.0" prefWidth="187.199951171875" text="Email" /> | ||
</columns> | ||
</TableView> | ||
<Button fx:id="updateClientButton" layoutX="500.0" layoutY="529.0" mnemonicParsing="false" onAction="#updateClient" prefHeight="40.0" prefWidth="200.0" style="-fx-background-color: #1c0b2b; -fx-border-radius: 5cm; -fx-border-color: #38c8f4;" text="Update client" textFill="#38c8f4"> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
</Button> | ||
</children> | ||
</AnchorPane> |
45 changes: 45 additions & 0 deletions
45
src/main/resources/com/example/exa863_management_system_2023/LoginView.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.control.PasswordField?> | ||
<?import javafx.scene.control.TextField?> | ||
<?import javafx.scene.image.Image?> | ||
<?import javafx.scene.image.ImageView?> | ||
<?import javafx.scene.layout.AnchorPane?> | ||
<?import javafx.scene.text.Font?> | ||
|
||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="1000.0" style="-fx-background-color: #1c0b2b;" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.exa863_management_system_2023.controller.LoginController"> | ||
<children> | ||
<AnchorPane prefHeight="600.0" prefWidth="500.0" style="-fx-background-color: #301c41;" AnchorPane.bottomAnchor="0.0" AnchorPane.topAnchor="0.0"> | ||
<children> | ||
<ImageView fitHeight="419.0" fitWidth="418.0" layoutX="43.0" layoutY="91.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@images/imagem_2023-05-31_193017792-removebg-preview.png" /> | ||
</image> | ||
</ImageView> | ||
</children> | ||
</AnchorPane> | ||
<AnchorPane layoutX="500.0" prefHeight="600.0" prefWidth="500.0" style="-fx-background-color: #1c0b2b;" AnchorPane.bottomAnchor="0.0" AnchorPane.topAnchor="0.0"> | ||
<children> | ||
<TextField fx:id="usernameField" layoutX="107.0" layoutY="248.0" prefHeight="27.0" prefWidth="286.0" promptText="Username" style="-fx-background-color: #1c0b2b; -fx-border-color: #e6e8e3; -fx-border-radius: 1cm; -fx-text-inner-color: #e6e8e3;" /> | ||
<Label layoutX="160.0" layoutY="146.0" text="Access your account" textFill="#e6e8e3"> | ||
<font> | ||
<Font size="20.0" /> | ||
</font> | ||
</Label> | ||
<Label layoutX="139.0" layoutY="84.0" text="Welcome" textFill="#e6e8e3"> | ||
<font> | ||
<Font name="System Bold" size="53.0" /> | ||
</font> | ||
</Label> | ||
<Button fx:id="loginButton" layoutX="179.0" layoutY="394.0" mnemonicParsing="false" onAction="#toLogin" prefHeight="38.0" prefWidth="151.0" style="-fx-background-color: #301c41;" text="Login" textFill="#e6e8e3"> | ||
<font> | ||
<Font size="17.0" /> | ||
</font> | ||
</Button> | ||
<PasswordField fx:id="passwordField" layoutX="107.0" layoutY="314.0" prefHeight="26.0" prefWidth="286.0" promptText="Password" style="-fx-background-color: #1c0b2b; -fx-border-color: #e6e8e3; -fx-border-radius: 1cm; -fx-text-inner-color: #e6e8e3;" /> | ||
</children> | ||
</AnchorPane> | ||
</children> | ||
</AnchorPane> |
97 changes: 97 additions & 0 deletions
97
src/main/resources/com/example/exa863_management_system_2023/NewClientView.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.geometry.Insets?> | ||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.control.TextField?> | ||
<?import javafx.scene.layout.AnchorPane?> | ||
<?import javafx.scene.layout.VBox?> | ||
<?import javafx.scene.text.Font?> | ||
|
||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="800.0" style="-fx-background-color: #1c0b2b;" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.exa863_management_system_2023.controller.NewClientController"> | ||
<children> | ||
<Button fx:id="saveButton" layoutX="437.0" layoutY="517.0" mnemonicParsing="false" onAction="#saveClient" prefHeight="40.0" prefWidth="200.0" style="-fx-background-color: #1c0b2b; -fx-border-radius: 5cm; -fx-border-color: #29b449;" text="Save" textFill="#29b449"> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
</Button> | ||
<Button fx:id="cancelButton" layoutX="161.0" layoutY="517.0" mnemonicParsing="false" onAction="#cancelOperation" prefHeight="40.0" prefWidth="200.0" style="-fx-background-color: #1c0b2b; -fx-border-radius: 5cm; -fx-border-color: #ff3030;" text="Cancel" textFill="#ff3030"> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
</Button> | ||
<Label layoutX="81.0" layoutY="55.0" text="Register new client" textFill="#e6e8e3"> | ||
<font> | ||
<Font size="19.0" /> | ||
</font> | ||
</Label> | ||
<AnchorPane layoutX="81.0" layoutY="167.0" prefHeight="266.0" prefWidth="638.0" style="-fx-background-color: #301c41; -fx-background-radius: 0.25cm;"> | ||
<children> | ||
<Label layoutX="34.0" layoutY="31.0" text="Clients info" textFill="#e6e8e3"> | ||
<font> | ||
<Font name="System Bold" size="15.0" /> | ||
</font> | ||
</Label> | ||
<VBox alignment="CENTER_LEFT" layoutX="164.0" layoutY="70.0" prefHeight="162.0" prefWidth="438.0"> | ||
<children> | ||
<TextField fx:id="nameField" prefHeight="26.0" prefWidth="282.0" style="-fx-background-color: #301c41; -fx-border-color: #e6e8e3; -fx-border-radius: 0.10cm; -fx-text-inner-color: #e6e8e3;" /> | ||
<TextField fx:id="emailField" prefHeight="26.0" prefWidth="282.0" style="-fx-background-color: #301c41; -fx-border-color: #e6e8e3; -fx-border-radius: 0.10cm; -fx-text-inner-color: #e6e8e3;"> | ||
<VBox.margin> | ||
<Insets top="12.0" /> | ||
</VBox.margin> | ||
</TextField> | ||
<TextField fx:id="addressField" prefHeight="26.0" prefWidth="282.0" style="-fx-background-color: #301c41; -fx-border-color: #e6e8e3; -fx-border-radius: 0.10cm; -fx-text-inner-color: #e6e8e3;"> | ||
<VBox.margin> | ||
<Insets top="12.0" /> | ||
</VBox.margin> | ||
</TextField> | ||
<TextField fx:id="phoneField" prefHeight="26.0" prefWidth="282.0" style="-fx-background-color: #301c41; -fx-border-color: #e6e8e3; -fx-border-radius: 0.10cm; -fx-text-inner-color: #e6e8e3;"> | ||
<VBox.margin> | ||
<Insets top="12.0" /> | ||
</VBox.margin> | ||
</TextField> | ||
</children> | ||
</VBox> | ||
<VBox layoutX="34.0" layoutY="77.0" prefHeight="161.0" prefWidth="130.0"> | ||
<children> | ||
<Label prefHeight="30.0" prefWidth="98.0" text="Name" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="10.0" /> | ||
</padding> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
<opaqueInsets> | ||
<Insets /> | ||
</opaqueInsets> | ||
</Label> | ||
<Label prefHeight="35.0" prefWidth="117.0" text="Email" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="15.0" /> | ||
</padding> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
</Label> | ||
<Label prefHeight="40.0" prefWidth="115.0" text="Address" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="15.0" /> | ||
</padding> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
</Label> | ||
<Label prefHeight="40.0" prefWidth="115.0" text="Phone" textFill="#e6e8e3"> | ||
<padding> | ||
<Insets top="15.0" /> | ||
</padding> | ||
<font> | ||
<Font size="14.0" /> | ||
</font> | ||
</Label> | ||
</children> | ||
</VBox> | ||
</children> | ||
</AnchorPane> | ||
</children> | ||
</AnchorPane> |
Oops, something went wrong.