<?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.DatePicker?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.effect.ColorAdjust?>
<?import javafx.scene.effect.DropShadow?>
<?import javafx.scene.effect.Glow?>
<?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.shape.Polygon?>
<?import javafx.scene.text.Font?>

<AnchorPane prefHeight="400.0" prefWidth="600.0" style="-fx-background-color: #744F88;" xmlns="http://javafx.com/javafx/8.0.999-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fController.attendenceFaculty">
    <children>
        <Polygon fill="#2d2d37" layoutX="423.0" layoutY="55.0" points="-35.0, 13.0, 157.0, 19.0, -34.5, -38.5" stroke="#e4e2e2" strokeType="INSIDE" strokeWidth="0.0">
            <effect>
                <DropShadow blurType="GAUSSIAN" />
            </effect></Polygon>
        <Polygon fill="#2d2d37" layoutX="593.0" layoutY="97.0" points="-201.0, -87.0, 0.0, -26.0, 0.0, -80.0" stroke="WHITE" strokeLineJoin="ROUND" strokeType="OUTSIDE" strokeWidth="0.0">
            <effect>
                <DropShadow blurType="GAUSSIAN" />
            </effect></Polygon>
        <ImageView fitHeight="35.0" fitWidth="200.0" layoutX="427.0" layoutY="24.0" pickOnBounds="true" preserveRatio="true">
            <image>
                <Image url="@../img/AS1.png" />
            </image>
            <effect>
                <DropShadow blurType="TWO_PASS_BOX" />
            </effect>
        </ImageView>
        <VBox layoutY="-2.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="580.0" prefWidth="80.0" style="-fx-background-color: #452153;">
            <children>
                <HBox alignment="CENTER" onMouseClicked="#FacultyDashboard" prefHeight="74.0" prefWidth="80.0" style="-fx-background-color: #744F88;">
                    <children>
                        <ImageView fitHeight="35.0" fitWidth="35.0" pickOnBounds="true" smooth="false">
                            <image>
                                <Image url="@../img/dashboard%20%5B%23671%5D.png" />
                            </image>
                            <effect>
                                <DropShadow />
                            </effect>
                        </ImageView>
                    </children>
                    <effect>
                        <DropShadow blurType="TWO_PASS_BOX" />
                    </effect>
                </HBox>
                <HBox alignment="CENTER" onMouseClicked="#FacultyDashboard" prefHeight="60.0" prefWidth="80.0" style="-fx-background-color: #2D2D37;">
                    <children>
                        <ImageView fitHeight="18.0" fitWidth="23.0" pickOnBounds="true" preserveRatio="true">
                            <image>
                                <Image url="@../img/home%20%5B%231391%5D.png" />
                            </image>
                        </ImageView>
                    </children>
                </HBox>
                <HBox alignment="CENTER" layoutX="10.0" layoutY="84.0" prefHeight="60.0" prefWidth="80.0" style="-fx-background-color: #2D2D37;">
                    <children>
                        <ImageView fitHeight="20.0" fitWidth="23.0" pickOnBounds="true" preserveRatio="true">
                            <image>
                                <Image url="@../img/Blunicons/PNG/Stats.png" />
                            </image>
                            <effect>
                                <ColorAdjust brightness="1.0" contrast="1.0" hue="0.21" saturation="1.0" />
                            </effect>
                        </ImageView>
                    </children>
                </HBox>
                <HBox alignment="CENTER" layoutX="10.0" layoutY="204.0" onMouseClicked="#marks" prefHeight="60.0" prefWidth="80.0" style="-fx-background-color: #2D2D37;">
                    <children>
                        <ImageView fitHeight="23.0" fitWidth="23.0" pickOnBounds="true" preserveRatio="true">
                            <image>
                                <Image url="@../img/Blunicons/PNG/Diploma.png" />
                            </image>
                            <effect>
                                <ColorAdjust brightness="1.0" />
                            </effect>
                        </ImageView>
                    </children>
                </HBox>
                <HBox alignment="CENTER" layoutX="10.0" layoutY="264.0" prefHeight="60.0" prefWidth="80.0" style="-fx-background-color: #2D2D37;" />
                <HBox alignment="CENTER" layoutX="10.0" layoutY="384.0" prefHeight="60.0" prefWidth="80.0" style="-fx-background-color: #2D2D37;" />
                <HBox alignment="CENTER" layoutX="10.0" layoutY="324.0" prefHeight="60.0" prefWidth="80.0" style="-fx-background-color: #2D2D37;" />
                <HBox alignment="CENTER" layoutX="10.0" layoutY="144.0" prefHeight="60.0" prefWidth="80.0" style="-fx-background-color: #2D2D37;" />
                <HBox fx:id="fd_logout" alignment="CENTER" layoutX="10.0" layoutY="444.0" onMousePressed="#logout" prefHeight="95.0" prefWidth="80.0" style="-fx-background-color: #DD5043;">
                    <children>
                        <ImageView fitHeight="41.0" fitWidth="33.0" focusTraversable="true" pickOnBounds="true" preserveRatio="true">
                            <image>
                                <Image url="@../img/PNG/@1x/Filled/Rightarrowtag.png" />
                            </image>
                            <effect>
                                <ColorAdjust brightness="1.0" />
                            </effect>
                        </ImageView>
                    </children>
                </HBox>
            </children>
            <effect>
                <DropShadow blurType="TWO_PASS_BOX" />
            </effect>
        </VBox>
        <Label contentDisplay="CENTER" layoutX="790.0" layoutY="23.0" opacity="0.94" prefHeight="35.0" prefWidth="161.0" text="Attendence" textAlignment="CENTER" textFill="#f8f8f8" underline="true">
            <font>
                <Font name="Leelawadee UI Bold" size="22.0" />
            </font>
            <effect>
                <Glow />
            </effect>
        </Label>
        <HBox fx:id="fd_logout" alignment="CENTER_LEFT" layoutX="126.0" layoutY="539.0" onMousePressed="#logout" prefHeight="35.0" prefWidth="192.0" style="-fx-background-color: #452153;">
            <children>
                <HBox alignment="CENTER" prefHeight="60.0" prefWidth="80.0">
                    <children>
                        <HBox alignment="CENTER" prefHeight="35.0" prefWidth="58.0">
                            <children>
                                <HBox alignment="CENTER" prefHeight="35.0" prefWidth="40.0" style="-fx-background-color: #DD5043;">
                                    <children>
                                        <ImageView fitHeight="36.0" fitWidth="33.0" focusTraversable="true" pickOnBounds="true" preserveRatio="true">
                                            <image>
                                                <Image url="@../img/PNG/@1x/Filled/Rightarrowtag.png" />
                                            </image>
                                            <effect>
                                                <ColorAdjust brightness="1.0" />
                                            </effect>
                                        </ImageView>
                                    </children>
                                </HBox>
                            </children>
                        </HBox>
                    </children>
                </HBox>
                <Label prefHeight="35.0" prefWidth="103.0" text="Logout" textFill="WHITE">
                    <font>
                        <Font size="25.0" />
                    </font>
                    <padding>
                        <Insets left="12.0" />
                    </padding>
                </Label>
            </children>
            <effect>
                <DropShadow />
            </effect>
        </HBox>
        <ScrollPane fx:id="main" layoutX="103.0" layoutY="82.0" prefHeight="450.0" prefWidth="524.0">
            <content>
                <TableView fx:id="table" prefHeight="440.0" prefWidth="528.0">
                    <columns>
                        <TableColumn id="col_fName" fx:id="col_stdId" prefWidth="256.0" text="Student Id" />
                  <TableColumn id="col_fName" fx:id="col_cId" prefWidth="261.0" text="Course Id" />
                    </columns>
                </TableView>
            </content>
        </ScrollPane>
        <Button id="saveBtn" fx:id="saveBtn" layoutX="714.0" layoutY="350.0" mnemonicParsing="false" onMouseClicked="#saveAttendence" prefHeight="33.0" prefWidth="144.0" text="Save  Attendence" />
        <ComboBox fx:id="comboType" layoutX="618.0" layoutY="27.0" prefHeight="33.0" prefWidth="125.0" promptText="Select Type" />
        <HBox layoutX="125.0" layoutY="28.0">
            <children>
                <Label fx:id="courseLabel1" graphicTextGap="8.0" prefHeight="35.0" prefWidth="119.0" text="Course Code:   " textAlignment="CENTER" textFill="#fcf9f9" wrapText="true">
                    <font>
                        <Font size="15.0" />
                    </font>
                </Label>
                <Label fx:id="courseLabel" text="$courseText" graphicTextGap="8.0" prefHeight="35.0" prefWidth="69.0" textAlignment="CENTER" textFill="#fcf9f9" wrapText="true">
                    <font>
                        <Font size="15.0" />
                    </font>
                </Label>
            </children>
        </HBox>
      <DatePicker fx:id="textDate" layoutX="703.0" layoutY="147.0" prefHeight="26.0" prefWidth="150.0" promptText="Choose Date" />
      <TextField fx:id="textLecture" layoutX="703.0" layoutY="281.0" promptText="Lecture Number" />
      <ComboBox fx:id="duration" layoutX="704.0" layoutY="188.0" prefHeight="29.0" prefWidth="150.0" promptText="Duration" />
      <ComboBox fx:id="presence" layoutX="704.0" layoutY="233.0" prefWidth="150.0" promptText="Presence" />
    </children>
</AnchorPane>
