<%@ Page Title="" Language="C#" MasterPageFile="~/Teacher/SiteTeaMenu.Master" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Project25175.TeaIndex" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TeaContentPlace_Header" runat="server">
    <link rel="stylesheet" href="../assets/css/jquery-ui-1.10.3.full.min.css" />
    <script type="text/javascript">
        //后台调用,区分提示信息底色
        //Danger,Info
        function ChangeMsgClass(MsgType) {
            if (MsgType == "Danger") {
                DivMsg.className = 'alert alert-danger';
            }
            else {
                DivMsg.className = 'alert alert-info';
            }
        }
    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="TeaContentPlace" runat="server">
    
    <div class="breadcrumbs" id="breadcrumbs">
		<script type="text/javascript">
			try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { }
		</script>
		<ul class="breadcrumb">
			<li>
				<i class="<%=PageIcon %>"></i>
                数据统计
			</li>
		</ul>
	</div>

    <div class="page-content">
        <div class="row col-xs-12">
            <div id="DivMsg" class="alert alert-info hidden">
                <i class="icon-hand-right"></i>
                <asp:Label ID="LabMsg" runat="server" Text=" "></asp:Label>
			    <button class="close" data-dismiss="alert">
                <i class="icon-remove"></i>
                </button>
            </div>
        </div>

        <div class="row">
			<div class="col-xs-6">
                <%--<div class="profile-user-info profile-user-info-striped">--%>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 账号 </div>
					    <div class="profile-info-value">
                            <asp:Label runat="server" ID="LabUserID"></asp:Label>
                        </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 姓名 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabTeaName"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 身份证号 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabIDCard"></asp:Label>
					    </div>
				    </div>
			    <%--</div>--%>
            </div>

            <div class="col-xs-6">
                <%--<div class="profile-user-info profile-user-info-striped">--%>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 毕业学校 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabGraduateSchool"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 学历 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabEducation"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 职位 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabPosition"></asp:Label>
					    </div>
				    </div>
			    <%--</div>--%>
            </div>

            <div class="col-xs-12">
                <%--<div class="profile-user-info profile-user-info-striped">--%>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 简介 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabIntro"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 备注 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabComment"></asp:Label>
					    </div>
				    </div>
			</div>
            <%--</div>--%>
       <%-- </div>
        <div class="row">--%>
			<div class="col-xs-12">
                <div class="widget-box">
				    <div class="widget-header widget-header-blue widget-header-flat">
					    <h4 class="lighter">数据</h4>
				    </div>
				    <div class="widget-body">
					    <div class="widget-main">
                            <div class="row">
                                <div class="profile-user-info profile-user-info-striped">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="profile-info-row">
                                                <div class="profile-info-name"> 班主任 </div>
					                            <div class="profile-info-value">
                                                    <asp:Label runat="server" ID="LabBSTeaName"></asp:Label>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>                                            
                            </div>

                             <div class="row">
                                <div class="profile-user-info profile-user-info-striped">
                                    <div class="row">
                                    <div class="col-xs-12">
                                        <div class="profile-info-row">
                                            <div class="profile-info-name"> 任课统计 </div>
                                            <asp:Label runat="server" ID="LabTeaMapSub"></asp:Label>
                                        </div>
                                    </div>
                                    </div>
                                </div>
                            </div>
					    </div>
				    </div>
			    </div>

                <div class="widget-box">
				    <div class="widget-header widget-header-blue widget-header-flat">
					    <h4 class="lighter">公告</h4>
				    </div>
				    <div class="widget-body">
					    <div class="widget-main">
                            <asp:GridView ID="GridView1" runat="server" 
                                CssClass="table table-striped table-bordered table-hover" 
                                AutoGenerateColumns="False" DataKeyNames="ID" AllowPaging="True" 
                                OnPageIndexChanging="GridView1_PageIndexChanging" ShowHeader="False" >
                                <Columns>
                                    <asp:TemplateField HeaderText="标题">
                                        <ItemTemplate>
                                            <asp:HyperLink ID="HyperLink1" runat="server" Target="_blank"
                                                NavigateUrl='<%# Eval("ID", "../Public/ViewNotice.aspx?ID={0}") %>' 
                                                Text='<%# Eval("NoTitle") %>'></asp:HyperLink>
                                        </ItemTemplate>
                                    </asp:TemplateField>                        
                                    <asp:BoundField DataField="NoDate" HeaderText="发布时间" DataFormatString="{0:d}" />
                                    <asp:BoundField DataField="Hits" HeaderText="点击数" />
                                </Columns>
                                <PagerSettings Mode="NumericFirstLast" />
                            </asp:GridView>
					    </div> <!-- /widget-main -->
				    </div> <!-- /widget-body -->
			    </div>

            </div>
        </div>

    </div>
    
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="TeaContentPlace_Footer" runat="server">

    <script type="text/javascript" src="../assets/js/jquery-2.0.3.min.js"></script>

	<script type="text/javascript">
		window.jQuery || document.write("<script src='../assets/js/jquery-2.0.3.min.js'>" + "<" + "/script>");
	</script>

	<script type="text/javascript">
		if ("ontouchend" in document) document.write("<script src='../assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
	</script>
	<script type="text/javascript" src="../assets/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../assets/js/typeahead-bs2.min.js"></script>

	<!-- page specific plugin scripts -->
	<!-- ace scripts -->

	<script type="text/javascript" src="../assets/js/ace-elements.min.js"></script>
	<script type="text/javascript" src="../assets/js/ace.min.js"></script>

</asp:Content>
