139 lines
5.3 KiB
Text
139 lines
5.3 KiB
Text
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WebSitesHeliconZooControl.ascx.cs" Inherits="WebsitePanel.Portal.WebSitesHeliconZooControl" %>
|
|
<%@ Import Namespace="WebsitePanel.Portal" %>
|
|
|
|
<%--
|
|
<p class="NormalBold">Web engines allowed for this site:</p>
|
|
<asp:Panel ID="AllowedEnginesPanel" runat="server">
|
|
<asp:DataList ID="AllowedEnginesList" runat="server" RepeatColumns="1">
|
|
<ItemTemplate>
|
|
<div class="Quota">
|
|
<%# Eval("DisplayName") %>
|
|
</div>
|
|
</ItemTemplate>
|
|
</asp:DataList>
|
|
</asp:Panel>
|
|
<br/>
|
|
|
|
<p class="NormalBold">Web engines enabled for this site:</p>
|
|
<asp:Panel ID="EnabledEnginesPanel" runat="server">
|
|
<asp:DataList ID="EnabledEnginesList" runat="server" RepeatColumns="1">
|
|
<ItemTemplate>
|
|
<div class="Quota">
|
|
<%# Container.DataItem.ToString() %>
|
|
</div>
|
|
</ItemTemplate>
|
|
</asp:DataList>
|
|
</asp:Panel>
|
|
<br
|
|
--%>
|
|
|
|
<p>
|
|
<asp:Label ID="lblConsole" runat="server" meta:resourcekey="EnableWebConsole" CssClass="NormalBold"></asp:Label>
|
|
</p>
|
|
<br />
|
|
|
|
<%--<asp:GridView id="gvInstalledApplications" runat="server" AutoGenerateColumns="True" AllowPaging="true"
|
|
ShowHeader="false" CssSelectorClass="LightGridView" EmptyDataText="gvInstalledApplications.Empty"
|
|
>
|
|
</asp:GridView>--%>
|
|
|
|
<asp:GridView ID="gvInstalledApplications" runat="server"
|
|
EnableViewState="True" AutoGenerateColumns="false"
|
|
ShowHeader="true" CssSelectorClass="NormalGridView"
|
|
EmptyDataText="gvVirtualDirectories"
|
|
onrowcommand="gvInstalledApplications_RowCommand">
|
|
<Columns>
|
|
<asp:BoundField DataField="Name" HeaderText="Name">
|
|
<ItemStyle Width="60%" />
|
|
</asp:BoundField>
|
|
|
|
<asp:TemplateField HeaderText="gvInstalledApplicationsEnableConsole">
|
|
<ItemStyle HorizontalAlign="Center" />
|
|
<ItemTemplate>
|
|
<asp:Button ID="btnEnable" runat="server"
|
|
Text='<%# GetLocalizedString("btnEnable.Text") %>' CssClass="Button1"
|
|
CommandArgument='<%# Eval("Name") %>'
|
|
CommandName="EnableConsole"
|
|
Visible= '<%# IsNullOrEmpty( (string)Eval("ConsoleUrl")) %>'
|
|
/>
|
|
|
|
<asp:Button ID="btnDisable" runat="server"
|
|
Text='<%# GetLocalizedString("btnDisable.Text") %>' CssClass="Button1"
|
|
CommandArgument='<%# Eval("Name") %>'
|
|
CommandName="DisableConsole"
|
|
Visible= '<%# !IsNullOrEmpty( (string)Eval("ConsoleUrl")) %>'
|
|
/>
|
|
|
|
|
|
|
|
<asp:hyperlink
|
|
CssClass="MediumBold"
|
|
NavigateUrl='<%# GetConsoleFullUrl((string)Eval("ConsoleUrl")) %>'
|
|
runat="server"
|
|
ID="lnkAppDetails"
|
|
ToolTip='<%# Eval("ConsoleUrl") %>'
|
|
Target="_blank"
|
|
Visible= '<%# !IsNullOrEmpty( (string)Eval("ConsoleUrl")) %>'>
|
|
Open console
|
|
</asp:hyperlink>
|
|
|
|
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
|
|
|
|
</Columns>
|
|
</asp:GridView>
|
|
|
|
|
|
<p>
|
|
<asp:Label runat="server" meta:resourcekey="SelectWebEngine" CssClass="NormalBold"></asp:Label>
|
|
</p>
|
|
<br />
|
|
|
|
|
|
<asp:GridView id="gvApplications" runat="server" AutoGenerateColumns="False" AllowPaging="true"
|
|
ShowHeader="false" CssSelectorClass="LightGridView" EmptyDataText="There are no applications" OnRowCommand="gvApplications_RowCommand"
|
|
OnPageIndexChanging="gvApplications_PageIndexChanging">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="gvApplicationsApplication">
|
|
<ItemStyle HorizontalAlign="Center" />
|
|
<ItemTemplate>
|
|
<div style="text-align:center;">
|
|
<%-- <asp:hyperlink NavigateUrl='<%# GetWebAppInstallUrl(Eval("Id").ToString()) %>'
|
|
runat="server" ID="Hyperlink3" ToolTip='<%# Eval("Title") %>'>
|
|
--%>
|
|
<asp:Image runat="server" ID="Image1" Width="120" Height="120"
|
|
ImageUrl='<%# GetIconUrlOrDefault((string)Eval("IconUrl")) %>'
|
|
AlternateText='<%# Eval("Title") %>'>
|
|
</asp:Image>
|
|
<%-- </asp:hyperlink> --%>
|
|
</div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField>
|
|
<ItemTemplate>
|
|
<div class="MediumBold" style="padding:4px;">
|
|
<%-- <asp:hyperlink CssClass="MediumBold" NavigateUrl='<%# GetWebAppInstallUrl(Eval("Id").ToString()) %>'
|
|
runat="server" ID="lnkAppDetails" ToolTip='<%# Eval("Title") %>'>
|
|
--%>
|
|
<span class="MediumBold"><%# Eval("Title")%></span>
|
|
<%-- </asp:hyperlink> --%>
|
|
</div>
|
|
<div class="Normal" style="padding:4px;">
|
|
<%# Eval("Summary") %>
|
|
</div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="gvApplicationsApplication">
|
|
<ItemStyle HorizontalAlign="Center" />
|
|
<ItemTemplate>
|
|
<asp:Button ID="btnInstall" runat="server"
|
|
Text='<%# GetLocalizedString("btnInstall.Text") %>' CssClass="Button1"
|
|
CommandArgument='<%# Eval("Id") %>'
|
|
CommandName="Install" />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
</asp:GridView>
|
|
|