Hyper-V fixes
This commit is contained in:
parent
bc673d852c
commit
f96f02909b
3 changed files with 6 additions and 36 deletions
|
@ -34,10 +34,6 @@
|
|||
|
||||
<div class="Content">
|
||||
<div class="Center">
|
||||
<div class="Title">
|
||||
<asp:Image ID="imgIcon" SkinID="Servers48" runat="server" />
|
||||
<wsp:FormTitle ID="locTitle" runat="server" meta:resourcekey="locTitle" Text="Replication" />
|
||||
</div>
|
||||
<div class="FormBody">
|
||||
<wsp:ServerTabs ID="tabs" runat="server" SelectedTab="vps_replication" />
|
||||
<wsp:SimpleMessageBox ID="messageBox" runat="server" />
|
||||
|
@ -45,9 +41,9 @@
|
|||
<asp:ValidationSummary ID="validatorsSummary" runat="server"
|
||||
ValidationGroup="Vps" ShowMessageBox="True" ShowSummary="False" />
|
||||
|
||||
<wsp:CollapsiblePanel ID="secReplicationDetails" runat="server" Visible="False"
|
||||
TargetControlID="ReplicationDetailsPanel" meta:ResourceKey="secReplicationDetails" Text="Health"></wsp:CollapsiblePanel>
|
||||
<asp:Panel ID="ReplicationDetailsPanel" runat="server" Height="0" Style="overflow: hidden; padding: 10px; width: 750px;">
|
||||
<%--<wsp:CollapsiblePanel ID="secReplicationDetails" runat="server" Visible="False"
|
||||
TargetControlID="ReplicationDetailsPanel" meta:ResourceKey="secReplicationDetails" Text="Health"></wsp:CollapsiblePanel> Height="0" Style="overflow: hidden; padding: 10px; width: 750px;"--%>
|
||||
<asp:Panel ID="ReplicationDetailsPanel" runat="server" Visible="False" Style="padding: 10px;">
|
||||
<asp:Localize ID="locHealth" runat="server" meta:resourcekey="locHealth" Text="Health:"></asp:Localize>
|
||||
<asp:Label ID="labHealth" runat="server"></asp:Label>
|
||||
<asp:Button ID="btnDetailInfo" runat="server" CausesValidation="false" CssClass="ActionButtonRename"
|
||||
|
|
|
@ -179,7 +179,7 @@ namespace WebsitePanel.Portal.VPS2012
|
|||
}
|
||||
|
||||
// Details
|
||||
secReplicationDetails.Visible = ReplicationDetailsPanel.Visible = vmReplica != null;
|
||||
/*secReplicationDetails.Visible = */ ReplicationDetailsPanel.Visible = vmReplica != null;
|
||||
|
||||
// Pause buttons
|
||||
if (vm.ReplicationState == ReplicationState.Suspended)
|
||||
|
@ -209,7 +209,8 @@ namespace WebsitePanel.Portal.VPS2012
|
|||
labDetailsHealthDetails.Text = vmReplicaInfo.HealthDetails;
|
||||
|
||||
// statistic
|
||||
StatisticCollapsiblePanel.Text += ToReadableString(vmReplicaInfo.ToTime - vmReplicaInfo.FromTime);
|
||||
StatisticCollapsiblePanel.Text = GetLocalizedString("secStatisticPanel.Text") +
|
||||
ToReadableString(vmReplicaInfo.ToTime - vmReplicaInfo.FromTime);
|
||||
labFromTime.Text = vmReplicaInfo.FromTime.ToString(DateFormat);
|
||||
labToTime.Text = vmReplicaInfo.ToTime.ToString(DateFormat);
|
||||
labAverageSize.Text = vmReplicaInfo.AverageSize;
|
||||
|
|
|
@ -21,24 +21,6 @@ namespace WebsitePanel.Portal.VPS2012 {
|
|||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks;
|
||||
|
||||
/// <summary>
|
||||
/// imgIcon 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.Image imgIcon;
|
||||
|
||||
/// <summary>
|
||||
/// locTitle control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.VPS2012.UserControls.FormTitle locTitle;
|
||||
|
||||
/// <summary>
|
||||
/// tabs control.
|
||||
/// </summary>
|
||||
|
@ -66,15 +48,6 @@ namespace WebsitePanel.Portal.VPS2012 {
|
|||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ValidationSummary validatorsSummary;
|
||||
|
||||
/// <summary>
|
||||
/// secReplicationDetails control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.CollapsiblePanel secReplicationDetails;
|
||||
|
||||
/// <summary>
|
||||
/// ReplicationDetailsPanel control.
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue