<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WebSitesAddVirtualDir.ascx.cs" Inherits="SolidCP.Portal.WebSitesAddVirtualDir" %>
<%@ Register Src="UserControls/FileLookup.ascx" TagName="FileLookup" TagPrefix="uc1" %>
<%@ Register Src="UserControls/UsernameControl.ascx" TagName="UsernameControl" TagPrefix="uc2" %>
<%@ Register Src="UserControls/EnableAsyncTasksSupport.ascx" TagName="EnableAsyncTasksSupport" TagPrefix="scp" %>

<scp:EnableAsyncTasksSupport id="asyncTasks" runat="server"/>

<div class="panel-body form-horizontal">
    <table cellSpacing="0" cellPadding="3" width="600">
	    <tr>
		    <td class="SubHead" width="200" nowrap>
		        <asp:Label ID="lblDirectoryName" runat="server" meta:resourcekey="lblDirectoryName" Text="Directory name:"></asp:Label>
		    </td>
		    <td width="100%">
		        <uc2:UsernameControl ID="virtDirName" runat="server" />
		    </td>
	    </tr>
	    <tr>
		    <td class="SubHead" valign="top" style="padding-top: 7px;">
			    <asp:Label ID="lblFolder" runat="server" meta:resourcekey="lblFolder" Text="Folder:"></asp:Label>
	        </td>
		    <td class="Normal" valign="top">
                <uc1:FileLookup ID="fileLookup" runat="server" ValidationEnabled="true" Width="300" />
    			
		    </td>
	    </tr>
    </table>
</div>
<div class="panel-footer text-right">
    <CPCC:StyleButton id="btnCancel" CssClass="btn btn-warning" runat="server" CausesValidation="False" OnClick="btnCancel_Click"> <i class="fa fa-times">&nbsp;</i>&nbsp;<asp:Localize runat="server" meta:resourcekey="btnCancel"/> </CPCC:StyleButton>
    <CPCC:StyleButton id="btnAdd" CssClass="btn btn-success" runat="server" OnClick="btnAdd_Click"> <i class="fa fa-check">&nbsp;</i>&nbsp;<asp:Localize runat="server" meta:resourcekey="btnAddText"/> </CPCC:StyleButton>&nbsp;
</div>