Skip to content
Snippets Groups Projects
Commit 881dde2b authored by Rafi's avatar Rafi
Browse files

Removing the build files don't need to be in the repo.

parent 7b31c261
No related branches found
No related tags found
1 merge request!6Changed update implementation for employees so rather than sending the whole...
Showing
with 0 additions and 459 deletions
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
<?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.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="540.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
<children>
<Label alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="150.0" prefWidth="700.0" text="Add Employee" textAlignment="CENTER">
<font>
<Font name="System Bold" size="28.0" />
</font>
<VBox.margin>
<Insets />
</VBox.margin>
<padding>
<Insets top="50.0" />
</padding>
</Label>
<HBox alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="120.0" prefWidth="600.0">
<children>
<Label text="First Name: ">
<font>
<Font size="20.0" />
</font>
</Label>
<TextField fx:id="addFirstName" prefWidth="300.0">
<font>
<Font size="18.0" />
</font>
</TextField>
</children>
</HBox>
<HBox alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="120.0" prefWidth="600.0">
<children>
<Label text="Last Name: ">
<font>
<Font size="20.0" />
</font>
</Label>
<TextField fx:id="addLastName" prefWidth="300.0">
<font>
<Font size="18.0" />
</font>
</TextField>
</children>
</HBox>
<HBox alignment="TOP_CENTER" prefHeight="150.0" prefWidth="600.0">
<children>
<Button alignment="CENTER" mnemonicParsing="false" text="Add Employee" onMouseClicked="#addEmployeeClicked">
<font>
<Font size="16.0" />
</font>
<HBox.margin>
<Insets top="25.0" />
</HBox.margin>
</Button>
</children>
</HBox>
</children>
</VBox>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" >
<children>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<Label text="Date" />
<DatePicker fx:id="addShiftDatePicker" />
</children>
</HBox>
<HBox fx:id="addShiftEmployeeHBox" prefHeight="100.0" prefWidth="200.0">
<children>
<Label text="Employee" />
<ComboBox fx:id="addShiftEmployeeBox" onMouseClicked="#populateEmployeeBox" prefWidth="150.0" />
</children>
</HBox>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<Label text="Start Time" />
<ComboBox fx:id="addShiftStartTimeBox" onMouseClicked="#addShiftTimeBoxClicked" prefWidth="150.0" />
</children>
</HBox>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<Label text="End Time" />
<ComboBox fx:id="addShiftEndTimeBox" onMouseClicked="#addShiftTimeBoxClicked" prefWidth="150.0" />
</children>
</HBox>
</children>
</HBox>
<Button fx:id="addShiftSubmitButton" mnemonicParsing="false" onMouseClicked="#addShiftSubmitClicked" text="Submit" />
</children>
</VBox>
<?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.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="540.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" >
<children>
<Label alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="120.0" prefWidth="700.0" text="Edit Employee" textAlignment="CENTER">
<font>
<Font name="System Bold" size="28.0" />
</font>
<VBox.margin>
<Insets />
</VBox.margin>
<padding>
<Insets top="50.0" />
</padding>
</Label>
<HBox alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="100.0" prefWidth="600.0">
<children>
<Label text="Employee #: ">
<font>
<Font size="20.0" />
</font>
</Label>
<TextField minHeight="-Infinity" minWidth="-Infinity" prefWidth="300.0">
<font>
<Font size="18.0" />
</font>
</TextField>
</children>
</HBox>
<HBox alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="100.0" prefWidth="600.0">
<children>
<Label text="First Name: ">
<font>
<Font size="20.0" />
</font>
</Label>
<TextField fx:id="addFirstName" prefWidth="300.0">
<font>
<Font size="18.0" />
</font>
</TextField>
</children>
</HBox>
<HBox alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="100.0" prefWidth="600.0">
<children>
<Label text="Last Name: ">
<font>
<Font size="20.0" />
</font>
</Label>
<TextField fx:id="addLastName" prefWidth="300.0">
<font>
<Font size="18.0" />
</font>
</TextField>
</children>
</HBox>
<HBox alignment="TOP_CENTER" prefHeight="120.0" prefWidth="600.0">
<children>
<Button alignment="CENTER" mnemonicParsing="false" onMouseClicked="#editEmployeeClicked" text="Confirm Changes">
<font>
<Font size="16.0" />
</font>
<HBox.margin>
<Insets top="25.0" />
</HBox.margin>
</Button>
</children>
</HBox>
</children>
</VBox>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<VBox minHeight="-Infinity" minWidth="-Infinity" prefHeight="60.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" >
<children>
<HBox maxHeight="-Infinity" prefHeight="25.0" prefWidth="600.0">
<children>
<HBox maxHeight="-Infinity" prefHeight="25.0" prefWidth="300.0">
<children>
<Label prefHeight="25.0" prefWidth="300.0" text="Staff:" />
</children>
</HBox>
<HBox alignment="CENTER_RIGHT" maxHeight="-Infinity" minHeight="-Infinity" prefHeight="25.0" prefWidth="600.0">
<children>
<Button contentDisplay="CENTER" mnemonicParsing="false" onMouseClicked="#mangerLogoutClicked" prefHeight="25.0" prefWidth="75.0" text="Logout" />
</children>
</HBox>
</children>
</HBox>
<HBox alignment="CENTER" prefHeight="35.0" prefWidth="800.0">
<children>
<Button alignment="CENTER" contentDisplay="CENTER" maxHeight="-Infinity" minHeight="-Infinity" mnemonicParsing="false" onMouseClicked="#managerScheduleClicked" prefHeight="35.0" prefWidth="200.0" text="Schedule" />
<Button contentDisplay="CENTER" maxHeight="-Infinity" minHeight="-Infinity" mnemonicParsing="false" prefHeight="35.0" prefWidth="200.0" text="Payroll" />
<Button contentDisplay="CENTER" maxHeight="-Infinity" minHeight="-Infinity" mnemonicParsing="false" onMouseClicked="#staffManagerClicked" prefHeight="35.0" prefWidth="200.0" text="Staff" />
<Button alignment="CENTER" contentDisplay="CENTER" maxHeight="-Infinity" minHeight="-Infinity" mnemonicParsing="false" prefHeight="35.0" prefWidth="200.0" text="Requests" />
</children>
</HBox>
</children>
</VBox>
<?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.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<BorderPane fx:id="rootBorderPane" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
<center>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0">
<children>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
<children>
<Label text="Scheduler App">
<font>
<Font name="System Bold" size="32.0" />
</font>
</Label>
<Label text="Scheduling Made Easy">
<font>
<Font name="System Bold Italic" size="16.0" />
</font>
</Label>
</children>
</VBox>
<VBox alignment="TOP_CENTER" prefHeight="281.0" prefWidth="600.0" spacing="10.0">
<children>
<HBox alignment="CENTER" prefHeight="36.0" prefWidth="600.0">
<children>
<Label text="User ID: ">
<font>
<Font size="18.0" />
</font>
</Label>
<TextField fx:id="loginField" alignment="CENTER" maxWidth="-Infinity" prefHeight="26.0" prefWidth="74.0" promptText="User ID" />
</children>
</HBox>
<Button mnemonicParsing="false" onMouseClicked="#managerLoginClicked" text="Manager">
<VBox.margin>
<Insets bottom="10.0" top="10.0" />
</VBox.margin>
</Button>
<Button mnemonicParsing="false" onMouseClicked="#employeeLoginClicked" prefHeight="25.0" prefWidth="68.0" text="Employee">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Button>
</children>
<VBox.margin>
<Insets />
</VBox.margin>
<padding>
<Insets top="50.0" />
</padding>
</VBox>
</children>
</VBox>
</center>
</BorderPane>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" >
<children>
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" HBox.hgrow="ALWAYS">
<children>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="Hours Worked: " />
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="##hours worked##" />
</children>
</HBox>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="Wage: " />
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="##wage##" />
</children>
</HBox>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="Net Pay: " />
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="##net pay##" />
</children>
</HBox>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="Deductions: " />
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="##Deductions##" />
</children>
</HBox>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="Gross Pay: " />
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="##gross pay##" />
</children>
</HBox>
</children>
</VBox>
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" HBox.hgrow="ALWAYS">
<children>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="YTD Hours Worked: " />
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="##ytd hours worked##" />
</children>
</HBox>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="Vacation Pay: " />
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="##Vacation Pay##" />
</children>
</HBox>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="YTD Net Pay: " />
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="##ytd net pay##" />
</children>
</HBox>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="YTD Deductions: " />
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="##deductions##" />
</children>
</HBox>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
<children>
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="YTD Gross Pay: " />
<Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" text="##ytd gross pay##" />
</children>
</HBox>
</children>
</VBox>
</children>
</HBox>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="540.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" >
<children>
<Label alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="700.0" text="Remove Employee" textAlignment="CENTER">
<font>
<Font name="System Bold" size="28.0" />
</font>
<VBox.margin>
<Insets />
</VBox.margin>
<padding>
<Insets top="50.0" />
</padding>
</Label>
<HBox alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="140.0" prefWidth="700.0">
<children>
<Label text="Employee: ">
<font>
<Font size="20.0" />
</font>
</Label>
<ComboBox fx:id="removeEmployeeBox" onMouseClicked="#removeEmployeeBoxClicked" prefWidth="150.0" />
</children>
</HBox>
<HBox alignment="TOP_CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="700.0">
<children>
<Button alignment="CENTER" mnemonicParsing="false" onMouseClicked="#removeEmployeeClicked" text="Remove Employee">
<font>
<Font size="16.0" />
</font>
<HBox.margin>
<Insets top="50.0" />
</HBox.margin>
<opaqueInsets>
<Insets />
</opaqueInsets>
</Button>
</children>
</HBox>
</children>
</VBox>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<VBox minHeight="-Infinity" minWidth="-Infinity" prefHeight="51.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" >
<children>
<HBox prefHeight="26.0" prefWidth="800.0">
<children>
<Button alignment="CENTER" mnemonicParsing="false" onMouseClicked="#addShiftClicked" prefHeight="26.0" prefWidth="844.0" text="Add Shift" />
</children>
</HBox>
<HBox prefHeight="25.0" prefWidth="800.0">
<children>
<Button mnemonicParsing="false" onMouseClicked="#prevButtonClicked" prefHeight="25.0" prefWidth="200.0" text="Previous" />
<Label fx:id="currentDateText" prefHeight="25.0" prefWidth="200.0" text="Current: " />
<Button mnemonicParsing="false" onMouseClicked="#jumpButtonClicked" prefHeight="25.0" prefWidth="200.0" text="Jump" />
<Button mnemonicParsing="false" onMouseClicked="#nextButtonClicked" prefHeight="25.0" prefWidth="200.0" text="Next" />
</children>
</HBox>
</children>
</VBox>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.VBox?>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="489.0" prefWidth="100.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
<children>
<Button mnemonicParsing="false" onMouseClicked="#managerDailyScheduleClicked" prefHeight="163.0" prefWidth="100.0" text="Daily" />
<Button mnemonicParsing="false" onMouseClicked="#weeklyScheduleButtonClicked" prefHeight="163.0" prefWidth="100.0" text="Weekly" />
<Button mnemonicParsing="false" prefHeight="163.0" prefWidth="100.0" text="Pick-Ups" />
</children>
</VBox>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.VBox?>
<VBox minHeight="-Infinity" minWidth="-Infinity" prefHeight="540.0" prefWidth="100.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" >
<children>
<Button maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onMouseClicked="#staffManagerClicked" prefHeight="135.0" prefWidth="100.0" text="Add Employee" textAlignment="CENTER" wrapText="true" />
<Button maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onMouseClicked="#editStaffSidePanelClicked" prefHeight="135.0" prefWidth="100.0" text="Edit Employee" textAlignment="CENTER" wrapText="true" />
<Button alignment="CENTER" contentDisplay="CENTER" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onMouseClicked="#removeStaffSidePanelClicked" prefHeight="135.0" prefWidth="100.0" text="Remove Employee" textAlignment="CENTER" wrapText="true" />
<Button maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onMouseClicked="#viewStaffSidePanelClicked" prefHeight="135.0" prefWidth="100.0" text="View Employees" textAlignment="CENTER" wrapText="true" />
</children>
</VBox>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment