<%@ Page Title="" Language="C#" MasterPageFile="~/Student/SiteStuMenu.Master" AutoEventWireup="true" CodeBehind="Setting.aspx.cs" Inherits="Project25175.StuSetting" %>
<asp:Content ID="Content1" ContentPlaceHolderID="StuContentPlace_Header" runat="server">
    <link rel="stylesheet" href="../assets/css/jquery-ui-1.10.3.full.min.css" />
    <link rel="stylesheet" href="../assets/css/datepicker.css" />
    <script type="text/javascript">
        function DoubleAddClick() {
            document.getElementById("StuContentPlace_BT_Edit").click();
        }

        //后台调用,区分提示信息底色
        //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="StuContentPlace" 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="icon-home home-icon"></i>
                设置
			</li>
		</ul>
	</div>

    <div class="page-content">
        <div class="row col-xs-12">
            <div id="DivMsg" class="alert alert-info">
                <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="page-header">
            <div class="col-xs-12">
            </div>
        </div>

            <div class="row clearfix  form-actions">
                <div class="form-group col-md-offset-2 col-xs-8" >
					<label class="col-sm-3 control-label no-padding-right">ID</label>
                    <div class="space-2"></div>
	                <asp:TextBox runat="server" id="TxtID"  CssClass="col-xs-6" ReadOnly="true"/>
                </div>
                <div class="space-4"></div>
	            <div class="form-group col-md-offset-2 col-xs-8" >
					<label class="col-sm-3 control-label no-padding-right">账号</label>
                    <div class="space-2"></div>
	                <asp:TextBox runat="server" id="TxtUserID"  CssClass="col-xs-6" ReadOnly="true"/>
                </div>
                <div class="form-group col-md-offset-2 col-xs-8" >
					<label class="col-sm-3 control-label no-padding-right">学号</label>
                    <div class="space-2"></div>
	                <asp:TextBox runat="server" id="TxtStuNumber"  CssClass="col-xs-6" ReadOnly="true"/>
                </div>
                <div class="form-group col-md-offset-2 col-xs-8" >
					<label class="col-sm-3 control-label no-padding-right">考号</label>
                    <div class="space-2"></div>
	                <asp:TextBox runat="server" id="TxtStuExamNumber"  CssClass="col-xs-6" ReadOnly="true"/>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">身份证号</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtIDCard" runat="server" CssClass="col-xs-6" ReadOnly="true"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">姓名</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtStuName" runat="server" CssClass="col-xs-6"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">密码</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtPassword" runat="server" CssClass="col-xs-6" 
                        TextMode="Password"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">性别</label>
                    <div class="space-2"></div>
                    <asp:DropDownList ID="DDLStuSex" runat="server" CssClass="col-xs-2" 
                        Enabled="False">
                        <asp:ListItem Value="1">男</asp:ListItem>
                        <asp:ListItem Value="0">女</asp:ListItem>
                        <asp:ListItem Value="2">保密</asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">年龄</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtStuAge" runat="server" CssClass="col-xs-6" ReadOnly="true"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">校区</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtSchAreaID" runat="server" CssClass="col-xs-6" ReadOnly="true"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">组/系</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtGroupID" runat="server" CssClass="col-xs-6" ReadOnly="true"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">班级</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtClassID" runat="server" CssClass="col-xs-6" ReadOnly="true"></asp:TextBox>
                </div>                
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">会考证号</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtStuExamNo" runat="server" CssClass="col-xs-6"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">邮箱</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtStuEmail" runat="server" CssClass="col-xs-6"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">兴趣爱好</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtStuHobby" runat="server" CssClass="col-xs-6"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">毕业学校</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtStuFinishSchool" runat="server" CssClass="col-xs-6"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">毕业时间</label>
                    <div class="space-2"></div>
                    <%--<asp:TextBox ID="TxtStuFinishDate" runat="server" CssClass="col-xs-6"></asp:TextBox>--%>
                    <div class="input-group">
                        <span class="input-group-addon">
						    <i class="icon-calendar bigger-110"></i>
					    </span>
                        <asp:TextBox runat="server" id="TxtStuFinishDate"  CssClass="col-xs-6 date-picker"  data-date-format="yyyy-mm-dd"/>
                    </div>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">备注</label>
                    <div class="space-2"></div>
                    <asp:TextBox ID="TxtComment" runat="server" CssClass="col-xs-6" TextMode="MultiLine"></asp:TextBox>
                </div>
                <div class="space-4"></div>
                <div class="form-group col-md-offset-2 col-xs-8">
                    <label class="col-sm-3 control-label no-padding-right">状态</label>
                    <div class="space-2"></div>
                    <asp:DropDownList ID="DDLState" runat="server" CssClass="col-xs-2" 
                        Enabled="False">
                        <asp:ListItem Value="Y"></asp:ListItem>
                        <asp:ListItem Value="N"></asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div class="space-6"></div>
				<div class="form-group col-xs-12 center">
                    <asp:Button ID="BT_Edit" runat="server" Text="确认" 
                            CssClass="btn btn-info icon-ok bigger-110 hidden " OnClick="BT_Edit_Click" />
                    <button class="btn btn-info" type="button" onclick="DoubleAddClick()">
						<i class="icon-ok bigger-110"></i>
						确认
					</button>
                    <Button id="Reset1" type="reset" value="取消"  class="btn" ><i class="icon-undo bigger-110"></i>
					    Reset
                    </Button>
                </div>
            </div>

</div>
    
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="StuContentPlace_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 -->
    <script type="text/javascript" src="../assets/js/date-time/bootstrap-datepicker.min.js"></script>
	<!-- 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>

     <script type="text/javascript">
         jQuery(function ($) {
            $('.date-picker').datepicker({ autoclose: true }).next().on(ace.click_event, function () {
                $(this).prev().focus();
            });
        });
    </script>
</asp:Content>
