<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Edit_Rights.aspx.vb" Inherits="FinIQWebApp.Edit_Rights" MasterPageFile="~/FiniqAppMasterPage.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
        <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server"></asp:ScriptManagerProxy>
   <%-- <link href="../App_Themes/Style1.css" rel="stylesheet" />
     <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>--%>

<style>

    .listview
        {
            width:300px;
            height:100%;
            overflow:auto;
            padding-left:10px;
            padding-bottom:5px;
            padding-top:5px;
            font-size:13px;
        margin-top: 0px;
    }
    .tdeditrights 
         {
             vertical-align:top;
             width:200px;

         }
    .fld {
         
            padding-left: 15px;
            max-height: 400px;
            padding-bottom: 10px;
            width: 155px;
         }

    .chklistview {
            width: 300px;
            height: 500px;
            overflow: auto;
            padding-bottom: 5px;
            padding-top: 5px;
            font-size: 13px;
            margin-top: 0px;
    }
    .plnbutton {
        width:100px;
             height:30px;
    }






</style>

    <div>
        <table>
            <tr>
               
                   
                <td id="panels">
                    <asp:UpdatePanel ID="pnlUsermapping" runat="server" Visible="false" UpdateMode="Always">
                        <ContentTemplate>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Button ID="btnMapunmap" width="100px" runat="server" Text="Map/Unmap"  ></asp:Button>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblErrorMsg" runat="server"  CssClass="lblError"/>
                                         <asp:HiddenField ID="hdnTemplateId" runat="server" Value="0" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <fieldset>
                                            <legend>LogIn Group</legend>
                                                <div style="height:600px; ">
                                                    <asp:ListBox ID="lstLogingrps" runat="server" CssClass="listview" SelectionMode="Single"  AutoPostBack="true">
                                                    </asp:ListBox>
                                                </div>                                            
                                        </fieldset>
                                    </td>
                                    <td>
                                        <fieldset style="margin-right:15px;">
                                            <legend>Edit Group</legend>
                                                <div style="height: 600px; width: 300px;">
                                                    <asp:CheckBoxList ID="chklstEditgrps" runat="server" RepeatLayout="Flow" CssClass="chklistview" AutoPostBack="true">
                                                    </asp:CheckBoxList>
                                                </div>                                            
                                        </fieldset>
                                    </td>
                                </tr>
                            </table>
                        </ContentTemplate>
                    </asp:UpdatePanel>

                    <asp:UpdatePanel ID="pnlQueuemapping" runat="server" Visible="false" UpdateMode="Always">
                        <ContentTemplate>
                            <table>
                                <tr>
                                    <td>
                                      <asp:Label ID="lblQerrmsg" runat="server"   CssClass="lblError"/>
                                        <br />
                                    </td>
                                    <td>
                                       
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        
                                            <table>
                                                <tr>
                                                    <td colspan="3" style="padding-left: 3px;">                                                     

                                                    &nbsp; <asp:Label ID="lblwrkflow" runat="server" Text="Workflow Type:"   CssClass="label"/>   
                                                       <asp:DropDownList ID="ddlQgroups" CssClass="ddl" runat="server" AutoPostBack="true"/>   
                                                      &nbsp;  &nbsp;  <asp:Button ID="btnQmapunmap" width="100px" runat="server" Text="Map/Unmap"  ></asp:Button>
                                                    </td>
                                                   <td>
                                                      
                                                   </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <fieldset>
                                                            <legend>Login</legend>
                                                            <div style="height:600px; ">
                                                                <asp:ListBox ID="lstQRMgroup" runat="server" CssClass="listview" SelectionMode="Single" AutoPostBack="true"></asp:ListBox>
                                                            </div> 
                                                        </fieldset>
                                                        
                                                    </td>
                                                    <td>
                                                        <fieldset>
                                                            <legend>Edit Group</legend>
                                                            <div style="overflow:auto; height:600px; width:300px; ">
                                                                <asp:CheckBoxList ID="chklstQEditGroup" runat="server" RepeatLayout="Flow" CssClass="chklistview" AutoPostBack="true"></asp:CheckBoxList>
                                                            </div>  
                                                        </fieldset>
                                                        
                                                    </td>
                                                </tr>
                                            </table>
                                        
                                    </td>
                                    
                                </tr>
                            </table>
                        </ContentTemplate>

                       

                    </asp:UpdatePanel>
                </td>
                 <td class="tdeditrights">
                 <asp:Panel ID="pnlEditRightsMap" visible="false" runat="server"  Height="101px"  >
                        <fieldset class="fld">
                            <legend></legend>
                                <table visible="false">
                                    <tr >
                                        <td>
                                            <asp:Button ID="btnUserMapping" Visible="false" runat="server" Text="User Mapping" cssclass="plnbutton" Width="128px"/>
                                        </td>
                                     </tr>
                                    <tr>
                                        <td>
                                            <asp:Button ID="btnQueueMapping"  Visible="false" runat="server" Text="Queue Mapping" cssclass="plnbutton" Width="128px"/>
                                        </td>
                                        <td>   <asp:CheckBox ID="chkInclude_Edit" Text="Include Deactivated" AutoPostBack="true" runat="server" /></td>
                                    </tr>
                                </table>
                            
                        </fieldset>
                    </asp:Panel>

                </td>
            </tr>
        </table>
    </div>

</asp:Content>
