<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>教学管理系统</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" type="text/css"
			href="./plugins/extjs/ext-2.2/resources/css/ext-all.css" />
        <link href="CSS/css.css" rel="stylesheet" type="text/css" />
        <style type="text/css">
	        html, body {
                font:normal 12px verdana;
                margin:0;
                padding:0;
                border:0 none;
                overflow:hidden;
                height:100%;
            }
	        p {
	            margin:5px;
	        }
            .settings {
                background-image:url(./Images/folder_wrench.png);
            }
            .nav {
                background-image:url(./Images/folder_go.png);
            }                                   
        </style>
    
		<script type="text/javascript"
			src="./plugins/extjs/ext-2.2/adapter/ext/ext-base.js"></script>
		<script type="text/javascript"
			src="./plugins/extjs/ext-2.2/ext-all.js"></script>
		<script type="text/javascript"
			src="./plugins/extjs/ext-2.2/ext-lang-zh_CN.js"></script>
		
		<script type="text/javascript" src="./plugins/extjs/extend/Ext.darkness.DynamicTree.js"></script>
		<script type="text/javascript" src="./plugins/extjs/extend/Ext.darkness.DynamicCombox.js"></script>
		<script type="text/javascript" src="./plugins/extjs/extend/Ext.darkness.CrudPanel.js"></script>
		<script type="text/javascript" src="./plugins/extjs/extend/Ext.ux.TabCloseMenu.js"></script>
		
		<script type="text/javascript" src="./JS/Ext.darkness.ComboBox.js"></script>
		
		<script type="text/javascript" src="./JS/Ext.darkness.NavgationTree.js"></script>
		
		<script type="text/javascript" src="./JS/AllEvents.js"></script>
		
		<script type="text/javascript" src="./JS/BaseInfo/DepartmentInfoManager.js"></script>
		<script type="text/javascript" src="./JS/BaseInfo/TeacherInfoManager.js"></script>
		<script type="text/javascript" src="./JS/BaseInfo/ClassesInfoManager.js"></script>
		<script type="text/javascript" src="./JS/BaseInfo/SpecialtyInfoManager.js"></script>
		<script type="text/javascript" src="./JS/BaseInfo/CourseInfoManager.js"></script>
		
		<script type="text/javascript" src="./JS/Core/SubjectInfoManager.js"></script>
		<script type="text/javascript" src="./JS/Core/PaperInfoManager.js"></script>
		
		<script type="text/javascript" src="./JS/BaseInfo/Ext.darkness.BaseInfoManageTree.js"></script>
		<script type="text/javascript" src="./JS/Core/Ext.darkness.PaperInfoManageTree.js"></script>
		
		
		
         
		<script type="text/javascript">
    Ext.onReady(function(){
    //Ext.util.CSS.swapStyleSheet("theme", "../plugins/extjs/ext-2.0/resources/css/xtheme-slickness.css");  
            
		Ext.BLANK_IMAGE_URL = './plugins/extjs/ext-2.2/resources/images/default/s.gif';
		Ext.QuickTips.init();//初始化鼠标停留时的显示框
		Ext.form.Field.prototype.msgTarget = 'side';
        
	    var viewport = new Ext.Viewport({
            layout:'border',
            items:[new Ext.Toolbar({
                	    id:'toolbar',
                	    region:'north',
                	    items:[new Ext.Toolbar.MenuButton({
						    id : "baobiao",
						    text : "基本信息管理",
						    xtype : "tbsplit",
						    disabled: false,
						    menu : new Ext.menu.Menu({
							    items : [{
								    id : "temp1",
								    text : "开发中...",
								    href : "#"
							    }]
						    })
					    })]
             }),{
                title: 'south',
                region: 'south',
                split: true,
                border: true,
                height: 0
            },{
                title: '教学管理系统',
                region: 'west',
                split: true,
                border: true,
                width: 200,
                minSize: 175,
                maxSize: 400,
                collapsible: true,
                margins:'0 0 0 5',
                layout:'accordion',
                layoutConfig:{
                    animate:true
                },
                items: [{
                    title:'基本信息一览',
                    border:false,
                    iconCls:'nav',
                    items:[
                        new Ext.darkness.NavgationTree()
                    ]
                },{
                    title:'基本信息管理',
                    border:false,
                    iconCls:'nav',
                    items:[
                        new Ext.darkness.BaseInfoManageTree()
                    ]
                },{
                    title:'组卷信息管理',
                    border:false,
                    iconCls:'nav',
                    items:[
                        new Ext.darkness.PaperInfoManageTree()
                    ]
                },{
                    title:'设置',
                    html:'<p>Some settings in here.</p>',
                    border:false,
                    iconCls:'settings'
                }]
            },new Ext.TabPanel({
                id: "centerPanel",
                //距两边间距
                style:"padding:0 5px 0 5px",
                region:"center",
                //默认选中第一个
                activeItem:0,
                //如果Tab过多会出现滚动条
                enableTabScroll:true,
                //加载时渲染所有
                //deferredRender:false,
                layoutOnTabChange:true,
                items:[{
                    xtype:"panel",
		            id:"index",
		            iconCls:"indexicon",
                    title:"Home Page",
                    html:"<iframe src='HomePage.aspx'scrolling='no' frameborder=0 width=100% height=100%></iframe>"
                }],
                plugins: new Ext.ux.TabCloseMenu()
             })]
        });

});
        </script>
    </head>
    <body>
    </body>
</html>
