websitepanel/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SharePointInstallWebPartPackage.ascx
2011-07-13 16:07:32 -07:00

60 lines
No EOL
2.6 KiB
Text

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SharePointInstallWebPartPackage.ascx.cs" Inherits="WebsitePanel.Portal.SharePointInstallWebPartPackage" %>
<%@ Register Src="UserControls/FileLookup.ascx" TagName="FileLookup" TagPrefix="uc1" %>
<div class="FormBody">
<table cellSpacing="0" cellPadding="5" width="100%">
<tr>
<td class="Huge" colspan="2"><asp:Literal id="litSiteName" runat="server"></asp:Literal></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td class="SubHead" vAlign="top" noWrap width="200"><asp:Label ID="lblRestoreFrom" runat="server" meta:resourcekey="lblRestoreFrom" Text="Restore From:"></asp:Label></td>
<td class="normal" width="100%">
<table width=100%>
<tr>
<td class="Normal"><asp:radiobutton id="radioUpload" meta:resourcekey="radioUpload" Checked="True" GroupName="media" Text="Uploaded File" Runat="server"
AutoPostBack="True" OnCheckedChanged="radioUpload_CheckedChanged"></asp:radiobutton></td>
</tr>
<tr>
<td class="Normal"><asp:radiobutton id="radioFile" meta:resourcekey="radioFile" GroupName="media" Text="Hosting Space File" Runat="server"
AutoPostBack="True" OnCheckedChanged="radioUpload_CheckedChanged"></asp:radiobutton></td>
</tr>
<tr>
<td class="Normal" id="cellUploadFile" runat="server">
<table width=100%>
<tr>
<td>
<asp:FileUpload ID="uploadFile" runat="server" Width="300px" /></td>
</tr>
<tr>
<td class="Small" nowrap><asp:Label ID="lblAllowedFiles1" runat="server" meta:resourcekey="lblAllowedFiles" Text=".ZIP, .BAK files are allowed"></asp:Label></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="Normal" id="cellFile" runat="server">
<table width=100%>
<tr>
<td>
<uc1:FileLookup ID="fileLookup" runat="server" Width="300" IncludeFiles="true" />
</td>
</tr>
<tr>
<td class="Small" nowrap><asp:Label ID="lblAllowedFiles2" runat="server" meta:resourcekey="lblAllowedFiles" Text=".ZIP, .BAK files are allowed"></asp:Label></td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
</td>
</tr>
</table>
</div>
<div class="FormFooter">
<asp:Button ID="btnInstall" runat="server" meta:resourcekey="btnInstall" CssClass="Button2" Text="Install Package" OnClick="btnInstall_Click" />
<asp:Button ID="btnCancel" runat="server" meta:resourcekey="btnCancel" CssClass="Button1" CausesValidation="false"
Text="Cancel" OnClick="btnCancel_Click" />
</div>