mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-03 16:41:04 +01:00
Working build with latest changes from https://github.com/xenserver/xenadmin December 2023
This commit is contained in:
parent
1ec327dc06
commit
5500de0757
BIN
XenAdmin/AppIcon.ico
Normal file
BIN
XenAdmin/AppIcon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
@ -307,7 +307,7 @@ namespace XenAdmin.Dialogs
|
||||
return;
|
||||
}
|
||||
|
||||
statusLabel.Image = Images.StaticImages.xcm;
|
||||
//statusLabel.Image = Images.StaticImages.xcm;
|
||||
statusLabel.Text = Messages.CONVERSION_CONNECTING_VPX_SUCCESS;
|
||||
statusLinkLabel.Reset();
|
||||
|
||||
|
@ -967,8 +967,6 @@ namespace XenAdmin
|
||||
public static Bitmap vnc_local_cursor = Properties.Resources.vnc_local_cursor;
|
||||
public static Bitmap windows_h32bit_16 = Properties.Resources.windows_h32bit_16;
|
||||
public static Bitmap wizard_background = Properties.Resources.wizard_background;
|
||||
public static Bitmap xcm = Properties.Resources.xcm;
|
||||
public static Bitmap xcm_32x32 = Properties.Resources.xcm_32x32;
|
||||
public static Bitmap queued = Properties.Resources.queued;
|
||||
public static Bitmap _000_User_h32bit_32 = Properties.Resources._000_User_h32bit_32;
|
||||
public static Bitmap asianux_16x = Properties.Resources.asianux_16x;
|
||||
|
135
XenAdmin/Properties/Resources.Designer.cs
generated
135
XenAdmin/Properties/Resources.Designer.cs
generated
@ -15,10 +15,10 @@ namespace XenAdmin.Properties {
|
||||
/// <summary>
|
||||
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
|
||||
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
||||
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
||||
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
@ -71,7 +71,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap _000_Abort_h32bit_16 {
|
||||
get {
|
||||
@ -1281,7 +1281,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap _000_ToolBar_Pref_Icon_dis {
|
||||
get {
|
||||
@ -1811,7 +1811,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap _015_Download_h32bit_32 {
|
||||
get {
|
||||
@ -1941,7 +1941,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Icon ähnlich wie (Symbol).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon AppIcon {
|
||||
get {
|
||||
@ -2261,7 +2261,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap grab {
|
||||
get {
|
||||
@ -2351,20 +2351,25 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
///
|
||||
///<!--
|
||||
///Copyright (c) Cloud Software Group, Inc.
|
||||
///
|
||||
///Redistribution and use in source and binary forms,
|
||||
///with or without modification, are permitted provided
|
||||
///that the following conditions are met:
|
||||
///
|
||||
///* Redistributions of source code must retain the above
|
||||
/// copyright notice, this list of conditions and the
|
||||
/// following disclaimer.
|
||||
///* Redistributions in binary form must reproduce the above
|
||||
/// copyright not [rest of string was truncated]";.
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
///<html>
|
||||
/// <body style="background-image: linear-gradient(white, lightgrey); background-repeat: no-repeat;">
|
||||
/// <center>
|
||||
/// <br/>
|
||||
/// <br/>
|
||||
/// <img id="addServer" src="../../Branding/Images/xcp-ng-logo1glossy-1.png " alt="Add a Server">
|
||||
/// <br/>
|
||||
/// <br/>
|
||||
/// <br/>
|
||||
/// <a href="xencenter://AddServer">Add a Server</a>
|
||||
/// <br/>
|
||||
/// <br/>
|
||||
/// <br/>
|
||||
/// <br/>
|
||||
/// <br/>
|
||||
/// </center>
|
||||
/// </body>
|
||||
///</html> ähnelt.
|
||||
/// </summary>
|
||||
internal static string HomePage {
|
||||
get {
|
||||
@ -2373,7 +2378,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap homepage_bullet {
|
||||
get {
|
||||
@ -2383,51 +2388,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
///
|
||||
///<!--
|
||||
///Copyright (c) Cloud Software Group, Inc.
|
||||
///
|
||||
///Redistribution and use in source and binary forms,
|
||||
///with or without modification, are permitted provided
|
||||
///that the following conditions are met:
|
||||
///
|
||||
///* Redistributions of source code must retain the above
|
||||
/// copyright notice, this list of conditions and the
|
||||
/// following disclaimer.
|
||||
///* Redistributions in binary form must reproduce the above
|
||||
/// copyright not [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string HomePage_ja {
|
||||
get {
|
||||
return ResourceManager.GetString("HomePage_ja", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
///
|
||||
///<!--
|
||||
///Copyright (c) Cloud Software Group, Inc.
|
||||
///
|
||||
///Redistribution and use in source and binary forms,
|
||||
///with or without modification, are permitted provided
|
||||
///that the following conditions are met:
|
||||
///
|
||||
///* Redistributions of source code must retain the above
|
||||
/// copyright notice, this list of conditions and the
|
||||
/// following disclaimer.
|
||||
///* Redistributions in binary form must reproduce the above
|
||||
/// copyright not [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string HomePage_zh_CN {
|
||||
get {
|
||||
return ResourceManager.GetString("HomePage_zh_CN", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap import_32 {
|
||||
get {
|
||||
@ -2517,7 +2478,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap log_destination_16 {
|
||||
get {
|
||||
@ -2907,7 +2868,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap pool_up_16 {
|
||||
get {
|
||||
@ -2957,7 +2918,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap rocky_16x {
|
||||
get {
|
||||
@ -2967,7 +2928,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap rpm_package {
|
||||
get {
|
||||
@ -2977,7 +2938,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap RunningDC_16 {
|
||||
get {
|
||||
@ -2997,7 +2958,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap saved_searches_16 {
|
||||
get {
|
||||
@ -3247,7 +3208,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap StoppedDC_16 {
|
||||
get {
|
||||
@ -3317,7 +3278,7 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap tree_minus {
|
||||
get {
|
||||
@ -3596,26 +3557,6 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap xcm {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("xcm", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap xcm_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("xcm_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -1162,4 +1162,7 @@
|
||||
<data name="rpm_package" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\rpm_package.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="splash" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\splash.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
XenAdmin/Resources/splash.bmp
Normal file
BIN
XenAdmin/Resources/splash.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 352 KiB |
BIN
XenAdmin/Resources/splash.png
Normal file
BIN
XenAdmin/Resources/splash.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 233 B |
9
XenAdmin/SplashScreen.Designer.cs
generated
9
XenAdmin/SplashScreen.Designer.cs
generated
@ -32,7 +32,6 @@
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SplashScreen));
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.labelCopyright = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@ -47,18 +46,11 @@
|
||||
this.timer1.Interval = 2000;
|
||||
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
||||
//
|
||||
// labelCopyright
|
||||
//
|
||||
this.labelCopyright.BackColor = System.Drawing.Color.Transparent;
|
||||
resources.ApplyResources(this.labelCopyright, "labelCopyright");
|
||||
this.labelCopyright.Name = "labelCopyright";
|
||||
//
|
||||
// SplashScreen
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.labelCopyright);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Name = "SplashScreen";
|
||||
@ -74,7 +66,6 @@
|
||||
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.Timer timer1;
|
||||
private System.Windows.Forms.Label labelCopyright;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -45,12 +45,12 @@ namespace XenAdmin
|
||||
{
|
||||
InitializeComponent();
|
||||
pictureBox1.Image = Images.StaticImages.splash;
|
||||
labelCopyright.Text = BrandManager.Copyright;
|
||||
labelCopyright.ForeColor = Color.FromArgb(39, 52, 64);
|
||||
//labelCopyright.Text = BrandManager.Copyright;
|
||||
//labelCopyright.ForeColor = Color.FromArgb(39, 52, 64);
|
||||
|
||||
//setting the parent is needed so the transparency can show
|
||||
//the picturebox content instead of the control behind it
|
||||
labelCopyright.Parent = pictureBox1;
|
||||
//labelCopyright.Parent = pictureBox1;
|
||||
}
|
||||
|
||||
protected override void OnShown(EventArgs e)
|
||||
|
@ -126,7 +126,7 @@
|
||||
<value>0, 0, 0, 0</value>
|
||||
</data>
|
||||
<data name="pictureBox1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>500, 375</value>
|
||||
<value>830, 434</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="pictureBox1.TabIndex" type="System.Int32, mscorlib">
|
||||
@ -142,46 +142,16 @@
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>pictureBox1.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
<value>0</value>
|
||||
</data>
|
||||
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="labelCopyright.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Microsoft Sans Serif, 8.25pt, style=Bold</value>
|
||||
</data>
|
||||
<data name="labelCopyright.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>12, 336</value>
|
||||
</data>
|
||||
<data name="labelCopyright.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>475, 22</value>
|
||||
</data>
|
||||
<data name="labelCopyright.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="labelCopyright.Text" xml:space="preserve">
|
||||
<value>copyright</value>
|
||||
</data>
|
||||
<data name="labelCopyright.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name=">>labelCopyright.Name" xml:space="preserve">
|
||||
<value>labelCopyright</value>
|
||||
</data>
|
||||
<data name=">>labelCopyright.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>labelCopyright.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>labelCopyright.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>96, 96</value>
|
||||
<value>192, 192</value>
|
||||
</data>
|
||||
<data name="$this.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@ -190,7 +160,10 @@
|
||||
<value>GrowAndShrink</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>544, 416</value>
|
||||
<value>830, 434</value>
|
||||
</data>
|
||||
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>6, 6, 6, 6</value>
|
||||
</data>
|
||||
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||
<value>CenterScreen</value>
|
||||
|
@ -50,12 +50,6 @@ namespace XenAdmin.TabPages
|
||||
|
||||
switch (Program.CurrentLanguage)
|
||||
{
|
||||
case "ja":
|
||||
_html = Properties.Resources.HomePage_ja;
|
||||
break;
|
||||
case "zh":
|
||||
_html = Properties.Resources.HomePage_zh_CN;
|
||||
break;
|
||||
default:
|
||||
_html = Properties.Resources.HomePage;
|
||||
break;
|
||||
|
@ -56,7 +56,7 @@ namespace XenAdmin.Wizards.ConversionWizard
|
||||
public ConversionWizard(ConversionClient client)
|
||||
: base(client.Connection)
|
||||
{
|
||||
pictureBoxWizard.Image = Images.StaticImages.xcm_32x32;
|
||||
//pictureBoxWizard.Image = Images.StaticImages.xcm_32x32;
|
||||
|
||||
_conversionClient = client;
|
||||
|
||||
|
@ -6716,6 +6716,8 @@
|
||||
<DependentUpon>WorkloadReports.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<None Include="Images\VMTemplate_h32bit_32.png" />
|
||||
<None Include="Resources\splash.png" />
|
||||
<None Include="Resources\splash.bmp" />
|
||||
<Content Include="TestResources\console.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
54
XenModel/Actions/Healthcheck/DisableHealthCheckAction.cs
Normal file
54
XenModel/Actions/Healthcheck/DisableHealthCheckAction.cs
Normal file
@ -0,0 +1,54 @@
|
||||
/* Copyright (c) Cloud Software Group, Inc.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System.Collections.Generic;
|
||||
using XenAPI;
|
||||
|
||||
|
||||
namespace XenAdmin.Actions
|
||||
{
|
||||
public class DisableHealthCheckAction : AsyncAction
|
||||
{
|
||||
public DisableHealthCheckAction(Pool pool)
|
||||
: base(pool.Connection, Messages.ACTION_DISABLE_HEALTH_CHECK_TITLE, "", false)
|
||||
{
|
||||
Pool = pool;
|
||||
ApiMethodsToRoleCheck.Add("pool.set_health_check_config");
|
||||
Description = string.Format(Messages.ACTION_DISABLE_HEALTH_CHECK_DESCRIPTION, pool.Name());
|
||||
}
|
||||
|
||||
protected override void Run()
|
||||
{
|
||||
Pool.set_health_check_config(Session, Pool.opaque_ref, new Dictionary<string, string>());
|
||||
Connection.WaitFor(() => Pool.GetHealthCheckStatus() != Pool.HealthCheckStatus.Enabled, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
177
XenModel/Branding.resx
Normal file
177
XenModel/Branding.resx
Normal file
@ -0,0 +1,177 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="CIS" xml:space="preserve">
|
||||
<value>Citrix Insight Services</value>
|
||||
</data>
|
||||
<data name="COMPANY_NAME_LEGACY" xml:space="preserve">
|
||||
<value>Citrix</value>
|
||||
</data>
|
||||
<data name="COPYRIGHT" xml:space="preserve">
|
||||
<value>Copyright (c) 2023 XCP-ng Project\nCopyright © 2007-2023 Cloud Software Group, Inc. All Rights Reserved.</value>
|
||||
</data>
|
||||
<data name="EXTENSION_BACKUP" xml:space="preserve">
|
||||
<value>xbk</value>
|
||||
</data>
|
||||
<data name="EXTENSION_SEARCH" xml:space="preserve">
|
||||
<value>xensearch</value>
|
||||
</data>
|
||||
<data name="EXTENSION_UPDATE" xml:space="preserve">
|
||||
<value>xsupdate</value>
|
||||
</data>
|
||||
<data name="HELP_PATH" xml:space="preserve">
|
||||
<value>xencenter/current-release/</value>
|
||||
</data>
|
||||
<data name="LEGACY_PRODUCT" xml:space="preserve">
|
||||
<value>Citrix Hypervisor</value>
|
||||
</data>
|
||||
<data name="PERF_ALERT_MAIL_DEFAULT_LANGUAGE" xml:space="preserve">
|
||||
<value>en-US</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_7_0" xml:space="preserve">
|
||||
<value>XenServer 7.0</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_7_0_SHORT" xml:space="preserve">
|
||||
<value>7.0</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_7_1_2" xml:space="preserve">
|
||||
<value>XenServer 7.1 CU2</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_7_1_2_SHORT" xml:space="preserve">
|
||||
<value>7.1.2</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_8_0" xml:space="preserve">
|
||||
<value>Citrix Hypervisor 8.0</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_8_1" xml:space="preserve">
|
||||
<value>Citrix Hypervisor 8.1</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_8_2" xml:space="preserve">
|
||||
<value>Citrix Hypervisor 8.2</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_8_2_1" xml:space="preserve">
|
||||
<value>Citrix Hypervisor 8.2 CU1</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_8_2_SHORT" xml:space="preserve">
|
||||
<value>8.2</value>
|
||||
</data>
|
||||
<data name="TRADEMARKS" xml:space="preserve">
|
||||
<value>XenServer, Xen, the Xen logo, Citrix, Citrix Hypervisor, Citrix Cloud, Citrix Virtual Apps and Desktops, Citrix Virtual Desktops, XenApp and XenDesktop, XenDesktop, are either registered trademarks or trademarks of Cloud Software Group, Inc., and/or its subsidiaries in the United States and/or other countries. XenServer High Availability is powered by everRun, a registered trademark of Stratus Technologies Bermuda Limited.</value>
|
||||
</data>
|
||||
</root>
|
9
XenModel/FriendlyNames.Designer.cs
generated
9
XenModel/FriendlyNames.Designer.cs
generated
@ -1059,6 +1059,15 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die XCP-ng ähnelt.
|
||||
/// </summary>
|
||||
public static string Label_host_edition_xcp_ng {
|
||||
get {
|
||||
return ResourceManager.GetString("Label-host.edition-xcp-ng", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die {0} for Citrix Virtual Desktops ähnelt.
|
||||
/// </summary>
|
||||
|
@ -2021,4 +2021,7 @@
|
||||
<data name="Label-SR.SRTypes-xfs" xml:space="preserve">
|
||||
<value>XFS</value>
|
||||
</data>
|
||||
<data name="Label-host.edition-xcp-ng" xml:space="preserve">
|
||||
<value>XCP-ng</value>
|
||||
</data>
|
||||
</root>
|
178
branding-xcp-ng/Branding.resx
Normal file
178
branding-xcp-ng/Branding.resx
Normal file
@ -0,0 +1,178 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="CIS" xml:space="preserve">
|
||||
<value>Citrix Insight Services</value>
|
||||
</data>
|
||||
<data name="COMPANY_NAME_LEGACY" xml:space="preserve">
|
||||
<value>Citrix</value>
|
||||
</data>
|
||||
<data name="COPYRIGHT" xml:space="preserve">
|
||||
<value>Copyright © 2007-2023 Cloud Software Group, Inc. All Rights Reserved.</value>
|
||||
</data>
|
||||
<data name="EXTENSION_BACKUP" xml:space="preserve">
|
||||
<value>xbk</value>
|
||||
</data>
|
||||
<data name="EXTENSION_SEARCH" xml:space="preserve">
|
||||
<value>xensearch</value>
|
||||
</data>
|
||||
<data name="EXTENSION_UPDATE" xml:space="preserve">
|
||||
<value>xsupdate</value>
|
||||
</data>
|
||||
<data name="HELP_PATH" xml:space="preserve">
|
||||
<value>xencenter/current-release/</value>
|
||||
</data>
|
||||
<data name="LEGACY_PRODUCT" xml:space="preserve">
|
||||
<value>Citrix Hypervisor</value>
|
||||
</data>
|
||||
<data name="PERF_ALERT_MAIL_DEFAULT_LANGUAGE" xml:space="preserve">
|
||||
<value>en-US</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_7_0" xml:space="preserve">
|
||||
<value>XenServer 7.0</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_7_0_SHORT" xml:space="preserve">
|
||||
<value>7.0</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_7_1_2" xml:space="preserve">
|
||||
<value>XenServer 7.1 CU2</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_7_1_2_SHORT" xml:space="preserve">
|
||||
<value>7.1.2</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_8_0" xml:space="preserve">
|
||||
<value>Citrix Hypervisor 8.0</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_8_1" xml:space="preserve">
|
||||
<value>Citrix Hypervisor 8.1</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_8_2" xml:space="preserve">
|
||||
<value>Citrix Hypervisor 8.2</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_8_2_1" xml:space="preserve">
|
||||
<value>Citrix Hypervisor 8.2 CU1</value>
|
||||
</data>
|
||||
<data name="PRODUCT_VERSION_8_2_SHORT" xml:space="preserve">
|
||||
<value>8.2</value>
|
||||
</data>
|
||||
<data name="TRADEMARKS" xml:space="preserve">
|
||||
<value>XenServer, Xen, the Xen logo, Citrix, Citrix Hypervisor, Citrix Cloud, Citrix Virtual Apps and Desktops, Citrix Virtual Desktops, XenApp and XenDesktop, XenDesktop, are either registered trademarks or trademarks of Cloud Software Group, Inc., and/or its subsidiaries in the United States and/or other countries. XenServer High Availability is powered by everRun, a registered trademark of Stratus Technologies Bermuda Limited.</value>
|
||||
</data>
|
||||
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user