<%@ 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 DoubleEditClick() {
            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="<%=PageIcon %>"></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 id="dialog-edit" class="row">
            <div id="Div1" class="col-xs-12">
                    <div class="col-xs-6">
                        <div class="row">
				            <div class="profile-info-row">
					            <div class="profile-info-name">学号</div>
					            <div class="profile-info-value row">
                                    <asp:TextBox ID="TxtStuNumber_Edit" runat="server" ReadOnly="True"></asp:TextBox>
                                    <asp:TextBox ID="TxtID_Edit" runat="server" CssClass="hidden"></asp:TextBox>
                                </div>
				            </div>
				            <div class="profile-info-row">
					            <div class="profile-info-name">姓名</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtStuName_Edit" runat="server" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">密码</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtPassword_Edit" runat="server" TextMode="Password"></asp:TextBox>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">身份证</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtIDCard_Edit" runat="server" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">民族</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtStuNation_Edit" runat="server" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">出生日期</div>
					            <div class="profile-info-value">
                                    <div class="input-group">                                                     
                                        <asp:TextBox runat="server" id="TxtStuAge_Edit" ReadOnly="True"/>
                                    </div>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">性别</div>
					            <div class="profile-info-value row">
                                    <asp:TextBox ID="TxtSex_Edit" runat="server" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">烈士军属</div>
					            <div class="profile-info-value row">
                                    <asp:TextBox ID="TxtArmyManFamily_Edit" runat="server" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
                        </div>
                    </div>

                    <div class="col-xs-6">
                        <div class="row">				    
				            <div class="profile-info-row">
					            <div class="profile-info-name">入学年份</div>
					            <div class="profile-info-value">
                                    <asp:TextBox ID="TxtGradeID_Edit" runat="server" ReadOnly="True"></asp:TextBox>
                                </div>
				            </div>
				            <div class="profile-info-row">
					            <div class="profile-info-name">班级</div>
					            <div class="profile-info-value">
                                    <asp:TextBox ID="TxtClassID_Edit" runat="server" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">入学日期</div>
					            <div class="profile-info-value">
						            <div class="input-group">                                    
                                        <asp:TextBox runat="server" id="TxtStuInSchoolDate_Edit" ReadOnly="True"/>
                                    </div>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">入团日期</div>
					            <div class="profile-info-value">
						            <div class="input-group">                                    
                                        <asp:TextBox runat="server" id="TxtStuMenberDate_Edit" ReadOnly="True"/>
                                    </div>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">入党日期</div>
					            <div class="profile-info-value">
						            <div class="input-group">                                    
                                        <asp:TextBox runat="server" id="TxtStuPartyDate_Edit" ReadOnly="True"/>
                                    </div>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">原毕业学校</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtStuFinishSchool_Edit" runat="server" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">原校毕业日期</div>
					            <div class="profile-info-value">
						            <div class="input-group">                                    
                                        <asp:TextBox runat="server" id="TxtStuFinishDate_Edit" ReadOnly="True"/>
                                    </div>
					            </div>
				            </div>
                            <div class="profile-info-row">
					            <div class="profile-info-name">籍贯</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtNativePlace_Edit" runat="server" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
			            </div>
                    </div>

                    <div class="col-xs-12">
                        <div class="row">				    
				            <div class="profile-info-row">
					            <div class="profile-info-name">家庭详细地址</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtHouseAddress_Edit" runat="server" CssClass="col-xs-12" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
			            </div>
                    </div>

                    <div class="col-xs-12">
                        <div class="row">				    
				            <div class="profile-info-row">
					            <div class="profile-info-name">主要社会关系</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtHumanRelation_Edit" runat="server" CssClass="col-xs-12" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
			            </div>
                    </div>

                    <div class="col-xs-12">
                        <div class="row">				    
				            <div class="profile-info-row">
					            <div class="profile-info-name">家庭成员</div>
					            <div class="profile-info-value">
						            <asp:GridView ID="GridView3" runat="server" 
                                        CssClass="table table-striped table-bordered table-hover" 
                                        DataKeyNames="ID" AutoGenerateColumns="False" >
                                        <Columns>                                            
                                            <asp:BoundField DataField="Member_Name" HeaderText="姓名"/>
                                            <asp:BoundField DataField="Member_Nick" HeaderText="称谓" />
                                            <asp:BoundField DataField="Member_Polity" HeaderText="政治面貌" />
                                            <asp:BoundField DataField="Member_Unit" HeaderText="单位" />
                                        </Columns>
                                    </asp:GridView>
					            </div>
				            </div>				        
			            </div>
                    </div>

                    <div class="col-xs-6">
                        <div class="row">
				            <div class="profile-info-row">
					            <div class="profile-info-name">入学照片</div>
					            <div class="profile-info-value">
                                    <asp:Label runat="server" ID="Label2" Text="text"> </asp:Label>
                                </div>
				            </div>
                        </div>
                    </div>
                    <div class="col-xs-6">
                        <div class="row">
				            <div class="profile-info-row">
					            <div class="profile-info-name">毕业照片</div>
					            <div class="profile-info-value">
						            <asp:Label runat="server" ID="Label3" Text="text"> </asp:Label>
					            </div>
				            </div>
                        </div>
                    </div>

                    <div class="col-xs-12">
                        <div class="row">				    
				            <div class="profile-info-row">
					            <div class="profile-info-name">毕业证号码</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtStuExamNo_Edit" runat="server" CssClass="col-xs-12" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
			            </div>
                    </div>
                    <div class="col-xs-12">
                        <div class="row">				    
				            <div class="profile-info-row">
					            <div class="profile-info-name">就业派遣情况</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtStuDistribution_Edit" runat="server" CssClass="col-xs-12" ReadOnly="True"></asp:TextBox>
					            </div>
				            </div>
			            </div>
                    </div>
                    <div class="col-xs-12">
                        <div class="row">				    
				            <div class="profile-info-row">
					            <div class="profile-info-name">备注</div>
					            <div class="profile-info-value">
						            <asp:TextBox ID="TxtComment_Edit" runat="server" TextMode="MultiLine" CssClass="col-xs-12"></asp:TextBox>
					            </div>
				            </div>
			            </div>
                    </div>
                    <div class="col-xs-6">
                        <div class="row">				    
				            <div class="profile-info-row">
					            <div class="profile-info-name">状态</div>
					            <div class="profile-info-value">
                                    <asp:TextBox runat="server" id="TxtState_Edit" ReadOnly="True"/>
					            </div>
				            </div>
			            </div>
                    </div>
                    <div class="col-xs-6">
                        <div class="row">				    
				            <div class="profile-info-row">
					            <div class="profile-info-name">就学情况</div>
					            <div class="profile-info-value">
                                    <asp:TextBox runat="server" id="TxtStudyState_Edit" ReadOnly="True"/>
					            </div>
				            </div>
			            </div>
                    </div>

                    <div class="col-xs-12">
                        <div class="row">				    
				            <div class="profile-info-row">
					            <div class="profile-info-name">头像</div>
					            <div class="profile-info-value">
						            <div class="col-xs-3">
                                        <asp:Literal ID="FaceImg_Edit" runat="server"></asp:Literal>
                                    </div>
                                    <div class="col-xs-3">
                                        <input id="FacePhoto_Edit" type="file" runat="server"/>
                                    </div>
					            </div>
				            </div>
			            </div>
                    </div>

                    <div class="space-6"></div>
				    <div class="form-group col-xs-12 center">
                        <asp:Button ID="BT_Edit" runat="server" Text="修改" onclick="BT_Edit_Click"
                                CssClass="btn btn-info icon-ok bigger-110 hidden " />
                        <button class="btn btn-info" type="button" onclick="DoubleEditClick()">
						    <i class="icon-ok bigger-110"></i>
						    修改
					    </button>
                        <Button id="Button2" type="reset" value="取消"  class="btn" ><i class="icon-undo bigger-110"></i>
					        Reset
                        </Button>
                        <Button id="Button3" type="reset" value="返回"  class="btn" onclick="javascript:history.go(-1)"><i class="icon-backward bigger-110"></i>
					        Back
                        </Button>
                    </div>
                </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();
            });

            $('#StuContentPlace_FacePhoto_Edit').ace_file_input({
                style: 'well',
                btn_choose: '选择图片',
                btn_change: null,
                no_icon: 'icon-cloud-upload',
                droppable: true,
                thumbnail: 'small',
                preview_error: function (filename, error_code) {
                }
            }).on('change', function () {
            });
        });
    </script>

</asp:Content>
