Merge App Pool Restart changes

This commit is contained in:
Virtuworks 2013-05-16 08:42:44 -04:00
commit 9a49828d09
6 changed files with 32 additions and 11 deletions

View file

@ -1623,6 +1623,9 @@
<data name="Quota.Web.AppPools" xml:space="preserve">
<value>Dedicated Application Pools</value>
</data>
<data name="Quota.Web.AppPoolsRestart" xml:space="preserve">
<value>Application Pools Restart</value>
</data>
<data name="Quota.Web.ColdFusion" xml:space="preserve">
<value>ColdFusion</value>
</data>

View file

@ -191,12 +191,14 @@
<asp:Literal ID="litAppPoolStatus" runat="server"></asp:Literal>
</td>
<td align="center">
<asp:ImageButton ID="cmdAppPoolStart" runat="server" SkinID="StartMedium" meta:resourcekey="cmdStart"
CommandName="Started" OnClick="cmdAppPoolChangeState_Click" />
<asp:ImageButton ID="cmdAppPoolRecycle" runat="server" SkinID="RecycleMedium" meta:resourcekey="cmdRecycle"
CommandName="Recycle" OnClick="cmdAppPoolChangeState_Click" />
<asp:ImageButton ID="cmdAppPoolStop" runat="server" SkinID="StopMedium" meta:resourcekey="cmdStop"
CommandName="Stopped" OnClick="cmdAppPoolChangeState_Click" />
<asp:Panel runat="server" ID="AppPoolRestartPanel">
<asp:ImageButton ID="cmdAppPoolStart" runat="server" SkinID="StartMedium" meta:resourcekey="cmdStart"
CommandName="Started" OnClick="cmdAppPoolChangeState_Click" />
<asp:ImageButton ID="cmdAppPoolRecycle" runat="server" SkinID="RecycleMedium" meta:resourcekey="cmdRecycle"
CommandName="Recycle" OnClick="cmdAppPoolChangeState_Click" />
<asp:ImageButton ID="cmdAppPoolStop" runat="server" SkinID="StopMedium" meta:resourcekey="cmdStop"
CommandName="Stopped" OnClick="cmdAppPoolChangeState_Click" />
</asp:Panel>
</td>
</tr>
</table>

View file

@ -265,6 +265,8 @@ namespace WebsitePanel.Portal
ToggleFrontPageControls(site.FrontPageInstalled);
}
AppPoolRestartPanel.Visible = Utils.CheckQouta(Quotas.WEB_APPPOOLSRESTART, cntx);
// bind controls
webSitesHomeFolderControl.BindWebItem(PackageId, site);
webSitesSecuredFoldersControl.BindSecuredFolders(site);

View file

@ -39,7 +39,7 @@ namespace WebsitePanel.Portal {
public partial class WebSitesEditSite {
/// <summary>
/// asyncTasks control.
/// </summary>
@ -48,7 +48,7 @@ namespace WebsitePanel.Portal {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks;
/// <summary>
/// WDeployBuildPublishingProfileWizardPanel control.
/// </summary>
@ -57,7 +57,7 @@ namespace WebsitePanel.Portal {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel WDeployBuildPublishingProfileWizardPanel;
/// <summary>
/// WDeployPubProfilePanel control.
/// </summary>
@ -418,6 +418,15 @@ namespace WebsitePanel.Portal {
/// </remarks>
protected global::System.Web.UI.WebControls.Literal litAppPoolStatus;
/// <summary>
/// AppPoolRestartPanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel AppPoolRestartPanel;
/// <summary>
/// cmdAppPoolStart control.
/// </summary>