<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.web.*?>
<?import javafx.scene.text.*?>
<?import javafx.scene.control.*?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>

<BorderPane fx:id="mainBorderPane" minHeight="-Infinity" minWidth="-Infinity" prefHeight="700.0" prefWidth="1300.0" stylesheets="@../css/system.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="cn.hmsoft.ltc.controller.MainPaneController">
   <top>
      <TabPane fx:id="mainTabPane" prefHeight="900.0" prefWidth="1600.0" tabClosingPolicy="UNAVAILABLE" BorderPane.alignment="CENTER">
        <tabs>
          <Tab fx:id="sysTab" text="修改密码">
            <content>
              <AnchorPane fx:id="mainBorderAnchorPane" minHeight="0.0" minWidth="0.0" prefHeight="700.0" prefWidth="1200.0">
                     <children>
                        <Button fx:id="saveSysBtn" layoutX="836.0" layoutY="28.0" mnemonicParsing="false" onAction="#doSaveFun" prefHeight="39.0" prefWidth="67.0" text="保存" AnchorPane.leftAnchor="836.0" AnchorPane.topAnchor="25.0">
                           <font>
                              <Font size="15.0" />
                           </font>
                        </Button>
                        <Label fx:id="newPwdLabel" layoutX="35.0" layoutY="25.0" prefHeight="45.0" prefWidth="113.0" text="   新密码：" AnchorPane.leftAnchor="35.0" AnchorPane.topAnchor="25.0">
                           <font>
                              <Font size="15.0" />
                           </font>
                        </Label>
                        <PasswordField fx:id="pwdTextFiled" layoutX="550.0" layoutY="27.0" prefHeight="40.0" prefWidth="212.0" AnchorPane.leftAnchor="550.0" AnchorPane.topAnchor="27.0">
                           <font>
                              <Font size="15.0" />
                           </font></PasswordField>
                        <PasswordField fx:id="newPwdTextFiled" layoutX="162.0" layoutY="30.0" prefHeight="40.0" prefWidth="209.0" AnchorPane.leftAnchor="162.0" AnchorPane.topAnchor="30.0">
                           <font>
                              <Font size="15.0" />
                           </font></PasswordField>
                        <Label fx:id="pwdLabel" layoutX="426.0" layoutY="22.0" prefHeight="45.0" prefWidth="116.0" text="确认密码：" AnchorPane.leftAnchor="426.0" AnchorPane.topAnchor="25.0">
                           <font>
                              <Font size="15.0" />
                           </font>
                        </Label>
                        <TableView fx:id="userTableView" layoutY="122.0" prefHeight="535.0" prefWidth="1300.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="120.0">
                          <columns>
                            <TableColumn fx:id="userNameCol" prefWidth="120.0" text="用户名" />
                            <TableColumn fx:id="userPassCol" prefWidth="120.0" text="密码" />
                              <TableColumn fx:id="userPhoneCol" prefWidth="147.0" text="电话" />
                          </columns>
                        </TableView>
                     </children>
                  </AnchorPane>
            </content>
          </Tab>
          <Tab fx:id="questionTypesTab" text="题型管理">
              <content>
                <AnchorPane fx:id="questionTypesAnchorPane" minHeight="0.0" minWidth="0.0" prefHeight="700.0" prefWidth="1200.0">
                     <children>
                     	 <TableView fx:id="questionTypeTableView" layoutX="5.0" layoutY="80.0" prefHeight="774.0" prefWidth="1300.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="60.0">
		                    <columns>
		                        <TableColumn fx:id="questionTypeIdCol" prefWidth="30.0" text="id" visible="false" />
		                        <TableColumn fx:id="editeStatusCol" prefWidth="10.0" text="id" visible="false" />
		                        <TableColumn fx:id="questionTypeCodeCol" prefWidth="132.0" text="题型编码" />
		                        <TableColumn fx:id="questionTypeNameCol" prefWidth="140.0" text="题型名称" />
		                        <TableColumn fx:id="questionScoreCol" prefWidth="140.0" text="分值" />
		                        <TableColumn fx:id="questionTypeStatusCol" prefWidth="114.0" text="状态" />
		                        <TableColumn fx:id="correctOptionNameCol" prefWidth="117.0" text="题型类别" />
		                        <TableColumn fx:id="guideTextCol" prefWidth="486.0" text="题型指导语" />
		                    </columns>
		                  </TableView>
		                  <Button fx:id="addQuestionTypesBtn" layoutX="14.0" layoutY="8.0" mnemonicParsing="false" onAction="#doAddQuestionTypesFun" prefHeight="39.0" prefWidth="103.0" text="新增题型" AnchorPane.topAnchor="8.0">
                           <font>
                              <Font size="15.0" />
                           </font></Button>
		                  <Button fx:id="deleteQuestionTypesBtn" layoutX="180.0" layoutY="8.0" mnemonicParsing="false" onAction="#doDeleteQuestionTypesFun" prefHeight="40.0" prefWidth="106.0" text="删除题型" AnchorPane.topAnchor="8.0">
                           <font>
                              <Font size="15.0" />
                           </font></Button>
                     </children>
                  </AnchorPane>
              </content>
            </Tab>
            <Tab fx:id="courseTab" text="课程管理">
              <content>
                <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
                     <children>
                        <TableView fx:id="courseTableView" layoutX="14.0" layoutY="72.0" prefHeight="575.0" prefWidth="1278.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="60.0">
                          <columns>
                          	  <TableColumn fx:id="courseIdCol" prefWidth="10.0" text="id" visible="false" />
                              <TableColumn fx:id="courseCodeCol" prefWidth="80.0" text="课程代码" />
                              <TableColumn fx:id="courseNameCol" prefWidth="100.0" text="课程名称" />
                              <TableColumn fx:id="courseChapterNumCol" prefWidth="60.0" text="章节数" />
                              <TableColumn fx:id="teachBookCol" minWidth="4.0" prefWidth="110.0" text="教材" />
                              <TableColumn fx:id="teachOutlineCol" minWidth="4.0" prefWidth="110.0" text="大纲" />
                              
                              <TableColumn fx:id="editorCol" minWidth="4.0" prefWidth="80.0" text="编者" />
                              <TableColumn fx:id="editionCol" minWidth="4.0" prefWidth="110.0" text="版次" />
                              <TableColumn fx:id="pressCol" minWidth="4.0" prefWidth="110.0" text="出版社" />
                              <TableColumn fx:id="verificationTextbookCol" minWidth="4.0" prefWidth="80.0" text="教材是否校验" />
                              
                              <TableColumn fx:id="batchNumberCol" minWidth="4.0" prefWidth="80.0" text="批次号" />
                              <TableColumn fx:id="courseStatusCol" minWidth="4.0" prefWidth="80.0" text="状态" />
                              <TableColumn fx:id="courseRemarkCol" minWidth="4.0" prefWidth="100.0" text="备注" />
                              <TableColumn fx:id="courseOperCol" minWidth="4.0" prefWidth="120.0" text="关联题型" />
                              <TableColumn fx:id="courseOperUpdateCol" minWidth="4.0" prefWidth="120.0" text="修改章节" />
                          </columns>
                        </TableView>
                        <Button fx:id="addCourseBtn" layoutX="16.0" layoutY="10.0" mnemonicParsing="false" onAction="#doAddCourseFun" prefHeight="39.0" prefWidth="103.0" text="新增课程" AnchorPane.topAnchor="8.0" />
                        <Button fx:id="deleteCourseBtn" layoutX="138.0" layoutY="8.0" mnemonicParsing="false" onAction="#doDeleteCourseFun" prefHeight="39.0" prefWidth="103.0" text="删除课程" AnchorPane.topAnchor="8.0" />
                        <Button fx:id="impCourseBtn" layoutX="259.0" layoutY="8.0" mnemonicParsing="false" onAction="#doImportCourseFun" prefHeight="39.0" prefWidth="103.0" text="导入课程" AnchorPane.topAnchor="8.0" />
                        <Button fx:id="expCourseBtn" layoutX="377.0" layoutY="8.0" mnemonicParsing="false" onAction="#doExportCourseFun" prefHeight="39.0" prefWidth="103.0" text="导出课程" AnchorPane.topAnchor="8.0" />
                        <!-- <Button fx:id="updateCourseBtn" layoutX="501.0" layoutY="8.0" mnemonicParsing="false" onAction="#doUpdateCourseFun" prefHeight="39.0" prefWidth="103.0" text="修改章节" />
 -->                     </children>
                  </AnchorPane>
              </content>
            </Tab>
          <Tab fx:id="paperTab" text="试卷管理">
          	<content>
	          	<AnchorPane fx:id="courseAnchorPane" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
	               <children>
	                  <TableView fx:id="paperTableView" layoutX="5.0" layoutY="77.0" prefHeight="774.0" prefWidth="1180.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="60.0">
	                    <columns>
	                    	<TableColumn fx:id="pCourseIdCol" prefWidth="90.0" text="id" visible="false" />
	                        <TableColumn fx:id="paperNoCol" prefWidth="140.0" text="试卷编号" />
	                        <TableColumn fx:id="pCourseCodeCol" prefWidth="90.0" text="课程代码" />
	                        <TableColumn fx:id="pCourseNameCol" prefWidth="140.0" text="课程名称" />
	                        <TableColumn fx:id="pStatusNameCol" prefWidth="120.0" text="状态" />
                            <TableColumn fx:id="pRemarkCol" prefWidth="230.0" text="备注" />
                            <TableColumn fx:id="pDetailTableCol" prefWidth="110.0" text="" />
                            <TableColumn fx:id="pSubjectEditCol" prefWidth="90.0" text="" />
                            <TableColumn fx:id="pExportPaperCol" prefWidth="140.0" text="" />
                            <TableColumn fx:id="pEstimatedDifficultyCol" prefWidth="150.0" text="" />
	                    </columns>
	                  </TableView>
	               </children>
	        	</AnchorPane>
          	</content>
          </Tab>        
        </tabs>
      </TabPane>
   </top>
</BorderPane>
