<?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.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 maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="580.0" prefWidth="1020.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.marksFaculty">
   <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 fx:id="btnHome" 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 fx:id="btn" alignment="CENTER" layoutX="10.0" layoutY="84.0" onMouseClicked="#attendence" 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" 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="759.0" layoutY="23.0" opacity="0.94" prefHeight="35.0" prefWidth="232.0" text="Marks Management" 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="161.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="127.0" text="Logout" textFill="WHITE">
               <font>
                  <Font size="25.0" />
               </font>
               <padding>
                  <Insets left="12.0" />
               </padding>
            </Label>
         </children>
         <effect>
            <DropShadow />
         </effect>
      </HBox>
      <ScrollPane layoutX="103.0" layoutY="82.0" prefHeight="450.0" prefWidth="873.0">
         <content>
            <TableView fx:id="table" prefHeight="440.0" prefWidth="873.0">
              <columns>
                <TableColumn id="col_sId" fx:id="col_sId" prefWidth="175.0" text="Std Id" />
                <TableColumn id="col_fName" fx:id="col_fName" prefWidth="213.0" text="First Name" />
                  <TableColumn id="col_lName" fx:id="col_lName" prefWidth="244.0" text="Last Name" />
                  <TableColumn id="col_cId" fx:id="col_cId" minWidth="0.0" prefWidth="222.0" text="Course Id" />
              </columns>
            </TableView>
         </content>
      </ScrollPane>
      <TextField id="marksField" fx:id="marksField" layoutX="628.0" layoutY="540.0" prefHeight="33.0" prefWidth="171.0" promptText="Enter Marks" />
      <Button id="saveBtn" fx:id="saveBtn" layoutX="849.0" layoutY="540.0" mnemonicParsing="false" onAction="#saveMarks" prefHeight="33.0" prefWidth="99.0" text="Save Marks" />
      <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>
      <TextField id="marksField" fx:id="totalMarks" layoutX="436.0" layoutY="540.0" prefHeight="33.0" prefWidth="171.0" promptText="Total Marks" />
      <TextField fx:id="Id" layoutX="337.0" layoutY="540.0" prefHeight="33.0" prefWidth="80.0" promptText="Quiz No." />
   </children>
</AnchorPane>
