-
Notifications
You must be signed in to change notification settings - Fork 0
/
newAssignment.fxml
65 lines (63 loc) · 3.84 KB
/
newAssignment.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="410.0" prefWidth="600.0" style="-fx-background-color: #2c2f33;" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="SceneController">
<children>
<Pane layoutX="-78.0" layoutY="350.0" prefHeight="208.0" prefWidth="200.0" style="-fx-background-radius: 180; -fx-background-color: #41454a;" />
<Pane layoutX="21.0" layoutY="39.0" prefHeight="64.0" prefWidth="359.0" style="-fx-background-color: #23272a; -fx-background-radius: 90;">
<children>
<Label layoutX="29.0" layoutY="17.0" text="ENTER YOUR ASSIGNMENT" textFill="WHITE">
<font>
<Font name="Consolas Bold" size="26.0" />
</font>
</Label>
</children>
</Pane>
<Button layoutX="122.0" layoutY="345.0" mnemonicParsing="false" onAction="#switchScene4" prefHeight="26.0" prefWidth="93.0" style="-fx-background-color: #99aab5;" text="Return" />
<Button fx:id="submitButton" layoutX="340.0" layoutY="345.0" mnemonicParsing="false" onAction="#assignmentDuration" prefHeight="26.0" prefWidth="93.0" style="-fx-background-color: #7289da;" text="Submit" />
<Label layoutX="98.0" layoutY="143.0" text="NAME OF THE ASSIGNMENT:" textFill="#99aab5">
<font>
<Font name="Segoe UI Semibold" size="14.0" />
</font>
</Label>
<Label layoutX="58.0" layoutY="199.0" text="START DATE OF THE ASSIGNMENT:" textFill="#99aab5">
<font>
<Font name="Segoe UI Semibold" size="14.0" />
</font>
</Label>
<Label layoutX="73.0" layoutY="259.0" text="END DATE OF THE ASSIGNMENT:" textFill="#99aab5">
<font>
<Font name="Segoe UI Semibold" size="14.0" />
</font>
</Label>
<DatePicker fx:id="startDay" layoutX="328.0" layoutY="201.0" promptText="Select start date" />
<DatePicker fx:id="endDay" layoutX="328.0" layoutY="258.0" promptText="Select end date" />
<TextField fx:id="assignmentName" layoutX="328.0" layoutY="145.0" prefHeight="26.0" prefWidth="174.0" promptText="Type your assignment name" />
<Pane layoutX="584.0" layoutY="23.0" prefHeight="386.0" prefWidth="4.0" style="-fx-background-color: #99aab5;" />
<Pane layoutX="328.0" layoutY="397.0" prefHeight="2.0" prefWidth="272.0" style="-fx-background-color: white;" />
<Text fx:id="newAssignmentError" fill="RED" layoutX="328.0" layoutY="297.0" strokeType="OUTSIDE" strokeWidth="0.0" wrappingWidth="185.5" />
<Text fx:id="newAssignmentSuccess" fill="#63ff78" layoutX="328.0" layoutY="304.0" strokeType="OUTSIDE" strokeWidth="0.0" wrappingWidth="174.0" />
<Text fx:id="astrix1" fill="RED" layoutX="509.0" layoutY="132.0" strokeType="OUTSIDE" strokeWidth="0.0" textAlignment="CENTER">
<font>
<Font size="20.0" />
</font>
</Text>
<Text fx:id="astrix2" fill="RED" layoutX="519.0" layoutY="189.0" strokeType="OUTSIDE" strokeWidth="0.0" textAlignment="CENTER">
<font>
<Font size="20.0" />
</font>
</Text>
<Text fx:id="astrix3" fill="RED" layoutX="519.0" layoutY="246.0" strokeType="OUTSIDE" strokeWidth="0.0" textAlignment="CENTER">
<font>
<Font size="20.0" />
</font>
</Text>
<Pane layoutX="-164.0" layoutY="245.0" prefHeight="200.0" prefWidth="200.0" style="-fx-background-radius: 270; -fx-background-color: #41454a;" />
</children>
</AnchorPane>