<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_EExam_AutoGenerateQuestions, App_Web_jeu1c3wf" title="Result" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/EExam/TestMasterDetail.ascx" TagName="TestDetailControl" TagPrefix="TestDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont" valign="top" runat="server" id="ScreenGroupTableId">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="145"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <TestDetail:TestDetailControl ID="TestDetailUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head" id="PagerDiv" runat="server">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-list-ul"></i>
                                        <asp:Label ID="GridViewLabel" Text="Result" runat="server" />
                                    </header>
                                </div>

                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="Panel2" runat="Server">
                                <div class="contentHolder">
                                    <div class="navgraybackground">
                                        <ul class="nav nav-tabs">
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf02d; Test" ID="TestMendatoryButton" CssClass="transparenttab fas" SkinID="0" OnClick="Test_OnClick"
                                                        runat="server" />
                                                </a>
                                            </li>
                                            <li class="active">
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf079; Auto Generate Questions" ID="AutoGeneratequestionButton" CssClass="transparenttab fas" OnClick="AutogeneratedQuestion_OnClick"
                                                        SkinID="0" Enabled="true" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf059; Questions" ID="AddQuestionDetailButton" CssClass="transparenttab fas" OnClick="AddQuestion_OnClick"
                                                        SkinID="0" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf0ae; Assign" ID="AssignPArticipantDetailButton" CssClass="transparenttab fas"
                                                        OnClick="AssignParticipant_OnClick" SkinID="0" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf249; Result" ID="ResultButton" CssClass="transparenttab fas" OnClick="Result_OnClick" SkinID="0" Enabled="true" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf201; Analysis" ID="TestAnalysisButton" CssClass="transparenttab fas" OnClick="TestAnalysis_OnClick" SkinID="0" Enabled="true" runat="server" />
                                                </a>
                                            </li>
                                        </ul>
                                    </div>
                                    <div class="fRight">
                                        <asp:Button ID="PrintBulkButton" runat="server" Text="Print" OnClick="PrintButton_Click" Visible="false"
                                            SkinID="0" CssClass="btn btn-print fas" />
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="TitleSearchLabel" Text="Easy Question weightage" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="EasyQuestionweightageTextBoxId" runat="server" SkinID="CustomWidthTextBox"></asp:TextBox>
                                            <asp:Label ID="Label3" Text="(%)" runat="server"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label4" Text="Medium Question weightage" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="MediumQuestionweightageTextBox" runat="server" SkinID="CustomWidthTextBox"></asp:TextBox>
                                            <asp:Label ID="Label5" Text="(%)" runat="server"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label1" Text="Hard Question weightage" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="HardQuestionweightageTextBoxId" runat="server" SkinID="CustomWidthTextBox"></asp:TextBox>
                                            <asp:Label ID="Label2" Text="(%)" runat="server"></asp:Label>
                                        </div>
                                    </div>
                                    <asp:Panel ID="PanEnable" runat="server" meta:resourcekey="PanEnableResource1">
                                        <div class="himsBoxContent">
                                            <div class="contentHolder">
                                                <div class="cBoth">
                                                </div>
                                                <div class="himssuHeader6WireBox box-body box-solid gridviewfont">
                                                    <div id="TestParticipantDetailDiv" runat="server" visible="false">
                                                        <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server" visible="false">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="fRight mt-27">
                                                                    <asp:Button ID="AddAutoGenerateQuestionButton" runat="server" Text="Auto Generate Question"
                                                                        SkinID="0" CssClass="btn btn-generate fas" OnClick="AddAutoGenerateQuestionButton_Click" />
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="himsBoxContent">
                                                            <div id="Div5" runat="server" visible="true">
                                                                <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="false">
                                                                </div>
                                                                <asp:GridView ID="TopicMasterGridview" runat="server" Width="100%" CssClass="table table-striped table-bordered" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" AllowPaging="False" DataKeyNames="Id"
                                                                    ShowHeader="True">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%"
                                                                            ItemStyle-Wrap="true">
                                                                            <HeaderTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                        Visible="true" OnCheckedChanged="HeaderSelectCheckBox_checked" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </HeaderTemplate>
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="SelectCheckBox" AutoPostBack="false" runat="server" OnCheckedChanged="SelectCheckBox_checked" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="Title" HeaderText="Topic Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:TemplateField HeaderText="Topic Question Weightage" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="TopicWeightageTextBox" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("TopicQuestionWeightage") %>' Width="100px"></asp:TextBox>
                                                                                <asp:Label ID="Label2" Text="(%)" runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                            </asp:Panel>
                        </div>
                </div>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
