<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConnectOrganization.aspx.cs" Inherits="eDocument.Server.Administrator.User.ConnectOrganization" MasterPageFile="~/Site.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="row mt-5">
        <div class="col-12 col-xl-6 offset-xl-3">
            <div class="skjema-admin__text-center">

                <svg class="skjema-admin__mb-10" xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25">
                    <path fill="#7608D7" fill-rule="evenodd" d="M17.843 9.136c.096.09.153.216.157.349.004.132-.045.261-.136.358l-5.646 6c-.187.198-.497.21-.7.028l-3.353-3.025c-.136-.119-.197-.301-.16-.478.037-.177.166-.32.338-.375.172-.054.36-.012.492.111l2.99 2.697 5.311-5.644c.09-.096.216-.153.349-.157.132-.004.261.045.358.136zM25 12.5C25 19.404 19.404 25 12.5 25S0 19.404 0 12.5 5.596 0 12.5 0c3.315 0 6.495 1.317 8.839 3.661C23.683 6.005 25 9.185 25 12.5zm-1 0C24 6.149 18.851 1 12.5 1S1 6.149 1 12.5 6.149 24 12.5 24c6.348-.007 11.493-5.152 11.5-11.5z"/>
                </svg>

                <h2 class="skjema-admin__page__title">
                    <span class="skjema-admin__icon-circle-check"></span>
                    <asp:Label id="lblHeader" runat="server"></asp:Label>
                </h2>

                <div class="skjema-admin__mb-20">
                    <asp:Label runat="server" ID="lblSentText"></asp:Label>
                </div>

                <div class="skjema-admin__mb-60">
                    <asp:Label runat="server" ID="lblName"></asp:Label>
                </div>
        
                <div class="skjema-admin__text-left">
                    <asp:Panel runat="server" id="pnlConnectToOrg" CssClass="skjema-admin__panel">
                        <div class="skjema-admin__mb-40">
                            <asp:Label runat="server" ID="lblInfo"></asp:Label>
                        </div>

                        <h3 class="skjema-admin__mb-20">
                            Velg organisasjon
                        </h3>

                        <div class="skjema-admin__mb-20">
                            <asp:RadioButton 
                                id="radioAccessOrg" 
                                CssClass="skjema-admin__form__radio"
                                runat="server" 
                                GroupName="connectToOrg" 
                                AutoPostBack="True" 
                                Text="Be om tilgang" 
                                OnCheckedChanged="radioAccessOrg_OnCheckedChanged" />
                        </div>
                
                        <div>
                            <asp:Label runat="server" ID="lblSearchOrg" Visible="False" Text="Søk etter organisasjon"></asp:Label>
                        
                        </div>
                        <asp:DropDownList 
                            CssClass="skjema-admin__mb-20"
                            ID="ddlOrgs" 
                            DataTextField="Name" 
                            DataValueField="ConsumerID" 
                            Visible="False" 
                            runat="server" />
                        
                        <div class="skjema-admin__mb-20">
                            <asp:RadioButton 
                                id="radioCreateOrg" 
                                CssClass="skjema-admin__form__radio"
                                runat="server" 
                                GroupName="connectToOrg" 
                                AutoPostBack="True" 
                                Text="Opprett ny organisasjon" 
                                OnCheckedChanged="radioCreateOrg_OnCheckedChanged">
                            </asp:RadioButton>
                        </div>
                
                        <div>
                            <asp:Button 
                                CssClass="skjema-admin__button skjema-admin__button--primary skjema-admin__mr-10"
                                runat="server" 
                                ID="btnContinue" 
                                Text="Fortsett" 
                                Visible="True" 
                                Enabled="False"
                                OnClick="btnContinue_OnClick" />
                        </div>
                    </asp:Panel>
                </div>
            </div>
        </div>
    </div>
</asp:Content>

