<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Backend_CMS_Management.aspx.vb" Inherits="_CMS_Management_Backend_CMS_Management" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Backend CMS Management</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
        <table >
            <tr align="center"><td>Select a CMS file path</td><td></td></tr>
            <tr>
                <td><div style="height:450px;overflow:auto"> 
                    <asp:TreeView ID="TreeView1"   
                        ExpandDepth="1"                                          
                        ShowCheckBoxes="All"
                        BorderStyle="Groove" runat="server"                        
                        RootNodeStyle-ImageUrl="images/folder.gif"
                        ParentNodeStyle-ImageUrl="images/folder.gif"
                        LeafNodeStyle-ImageUrl="images/folder.gif">
                        <SelectedNodeStyle BackColor="yellow" BorderWidth="1"/>
                    </asp:TreeView>
                    </div>
                </td>
                <td>
                    <asp:ListBox id="ListBox1" runat="server"  Height="450px" Width="400"></asp:ListBox>
                 
                    
                </td>
                <td>  
                    <asp:Button ID="btnUploadButton" Text="Upload CMS File" OnClick="UploadButton_Click" runat="server"></asp:Button>  
                    <asp:FileUpload ID="FileUpload1" runat="server"></asp:FileUpload> <br />
                    <asp:Button ID="btnDeleteFile" Text="Delete CMS File" runat="server"></asp:Button>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btnRemoveSelectedDir" Text="Remove Selected CMS Directories" runat="server"></asp:Button>
                </td>
                <td>
                              
                </td>
                 <td></td>
            </tr>            
            <tr>
                <td>
                    <asp:Button ID="btnCreateNewDirectory" Text="Create New CMS Directory" runat="server"></asp:Button>
                    <asp:TextBox ID="txtNewDirectoryName" runat="server"></asp:TextBox>
                </td>
                <td>                              
                </td>
                 <td></td>
            </tr>
        </table>
            

        <br />
            <br>
            <br>
            <asp:Label ID="lblStatusMessage" runat="server"></asp:Label>
            <hr />
           

        </div>
    </form>
</body>
</html>
