<%@ Page Title="" Language="C#" MasterPageFile="~/Student/SiteStuMenu.Master" AutoEventWireup="true" CodeBehind="ViewSub.aspx.cs" Inherits="Project25175.ViewSub" %>
<asp:Content ID="Content1" ContentPlaceHolderID="StuContentPlace_Header" runat="server">
    <link rel="stylesheet" href="../assets/css/jquery-ui-1.10.3.full.min.css" />

    <script type="text/javascript">
        function DoubleAddClick() {
            document.getElementById("StuContentPlace_BT_Add").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>
                <a href="ApplySub.aspx">申请课程</a>
			</li>
            <li>
                选定课程
			</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>

        <asp:Panel runat="server" Visible="false" ID="PanelData">
            <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="LabSubTitle"></asp:Label>
                        </div>
                    </div>
                </div>

                <div class="col-xs-6">
                    <div class="profile-info-row">
                        <div class="profile-info-name">课程</div>
                        <div class="profile-info-value">
                            <asp:TextBox ID="TxtSubNameID" runat="server" Visible="false"></asp:TextBox>
                            <asp:Label ID="LabSubName" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">上课学年</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabSchTime" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">报名时间</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabStuApplyS" runat="server"></asp:Label>
                            ~<asp:Label ID="LabStuApplyE" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">报名方式</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabSignType" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">开课组系</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabGroup" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">录取方式</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabEnroll" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">评分方式</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabEndType" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>


                <div class="col-xs-6">
                    <div class="profile-info-row">
                        <div class="profile-info-name">老师</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabTeacher" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">上课地点</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabPlace" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">考试时间</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabExamDate" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">课程性质</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabSubProperty" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">校区代码</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabSchArea" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">预定教材</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabTextBook" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="profile-info-row">
                        <div class="profile-info-name">限制性别</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabSexID" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>

                <div class="col-xs-4">
                    <div class="profile-info-row">
                        <div class="profile-info-name">学时</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabSubPeriod" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="col-xs-4">
                    <div class="profile-info-row">
                        <div class="profile-info-name">限定人数</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabStuQuantity" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="col-xs-4">
                    <div class="profile-info-row">
                        <div class="profile-info-name">已报名</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabApplyQuantity" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>

                <div class="col-xs-12">
                    <div class="profile-info-row" >
					    <div class="profile-info-name">上课年级</div>
                        <div class="profile-info-value">
                            <asp:CheckBoxList ID="CBLGrade" runat="server" RepeatDirection="Horizontal" Enabled="false">
                            </asp:CheckBoxList>
                        </div>
                    </div>
                </div>

                <div class="col-xs-12">
                    <div class="profile-info-row" >
					    <div class="profile-info-name">上课节次</div>
                        <div class="profile-info-value">
                            <div class="col-xs-5">
                                <div class="col-xs-4">
                                    <h4>周一</h4>
                                    <asp:CheckBoxList ID="CBLWeekDay1" runat="server" Enabled="false">
                                    </asp:CheckBoxList>
                                </div>
                                <div class="col-xs-4">
                                    <h4>周二</h4>
                                    <asp:CheckBoxList ID="CBLWeekDay2" runat="server" Enabled="false">
                                    </asp:CheckBoxList>
                                </div>
                                <div class="col-xs-4">
                                    <h4>周三</h4>
                                    <asp:CheckBoxList ID="CBLWeekDay3" runat="server" Enabled="false">
                                    </asp:CheckBoxList>
                                </div>
                            </div>
                            <div class="col-xs-5">
                                <div class="col-xs-4">
                                    <h4>周四</h4>
                                    <asp:CheckBoxList ID="CBLWeekDay4" runat="server" Enabled="false">
                                    </asp:CheckBoxList>
                                </div>
                                <div class="col-xs-4">
                                    <h4>周五</h4>
                                    <asp:CheckBoxList ID="CBLWeekDay5" runat="server" Enabled="false">
                                    </asp:CheckBoxList>
                                </div>
                        
                                <div class="col-xs-4">
                                    <h4>周六</h4>
                                    <asp:CheckBoxList ID="CBLWeekDay6" runat="server" Enabled="false">
                                    </asp:CheckBoxList>
                                </div>
                            </div>
                            <div class="col-xs-2">
                                <div class="col-xs-12">
                                    <h4>周日</h4>
                                    <asp:CheckBoxList ID="CBLWeekDay7" runat="server" Enabled="false">
                                    </asp:CheckBoxList>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-xs-12">
                    <div class="profile-info-row" >
					    <div class="profile-info-name">限制要求</div>
                        <div class="profile-info-value">
                            <asp:CheckBoxList ID="CBLLimits" runat="server" Enabled="false">
                            </asp:CheckBoxList>
                            <asp:Label ID="LabLimit" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>

                <div class="col-xs-12">
                    <div class="profile-info-row" >
					    <div class="profile-info-name">备注</div>
                        <div class="profile-info-value">
                            <asp:Label ID="LabComment" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>



                <div class="space-6"></div>
				<div class="form-group text text-center col-xs-12">
                    <asp:Button ID="BT_Add" runat="server" Text="确认" 
                            CssClass="btn btn-info icon-ok bigger-110 hidden" OnClick="BT_Add_Click" />
                    <button class="btn btn-info" type="button" onclick="DoubleAddClick()">
						<i class="icon-ok bigger-110"></i>
						申请此课程
					</button>
                    <%--<Button id="Button1" type="button" value="关闭"  class="btn btn-danger" onclick="javascript:window.close()"><i class="icon-exclamation-sign bigger-110"></i>
					    关闭
                    </Button>--%>
                    <Button id="Button3" type="reset" value="返回"  class="btn" onclick="javascript:history.go(-1)"><i class="icon-backward bigger-110"></i>
					    返回
                    </Button>
                </div>
            </div>
        </asp:Panel>

</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 -->
	<!-- 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>
