mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-21 16:06:02 +01:00
8ce3dc9952
- Check call home enrollment status on connecting to a pool: If status is unknown it means that the pool is not enrolled (enabled) and has never been (disabled). If that's the case, then show the Health Check Overview dialog with the pool selected - "Enroll now" on Health Check Overview will try enroll the selected pool into call home using existing token authentication. If this is not possible, then a dialog will be presented for the user to perform the initial authentication.
216 lines
11 KiB
C#
216 lines
11 KiB
C#
namespace XenAdmin.Controls
|
|
{
|
|
partial class CallHomeAuthenticationPanel
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Component Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CallHomeAuthenticationPanel));
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.usernameLabel = new System.Windows.Forms.Label();
|
|
this.authenticationStatusTable = new System.Windows.Forms.TableLayoutPanel();
|
|
this.authenticateButton = new System.Windows.Forms.Button();
|
|
this.statusPictureBox = new System.Windows.Forms.PictureBox();
|
|
this.passwordLabel = new System.Windows.Forms.Label();
|
|
this.passwordTextBox = new System.Windows.Forms.TextBox();
|
|
this.usernameTextBox = new System.Windows.Forms.TextBox();
|
|
this.spinnerIcon = new XenAdmin.Controls.SpinnerIcon();
|
|
this.statusLabel = new XenAdmin.Controls.Common.AutoHeightLabel();
|
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.authenticationStatusTable.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.statusPictureBox)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.spinnerIcon)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.usernameLabel, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.authenticationStatusTable, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.passwordLabel, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.passwordTextBox, 1, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.usernameTextBox, 1, 0);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// usernameLabel
|
|
//
|
|
resources.ApplyResources(this.usernameLabel, "usernameLabel");
|
|
this.usernameLabel.Name = "usernameLabel";
|
|
//
|
|
// authenticationStatusTable
|
|
//
|
|
resources.ApplyResources(this.authenticationStatusTable, "authenticationStatusTable");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.authenticationStatusTable, 2);
|
|
this.authenticationStatusTable.Controls.Add(this.spinnerIcon, 0, 0);
|
|
this.authenticationStatusTable.Controls.Add(this.authenticateButton, 0, 0);
|
|
this.authenticationStatusTable.Controls.Add(this.statusPictureBox, 2, 0);
|
|
this.authenticationStatusTable.Controls.Add(this.statusLabel, 3, 0);
|
|
this.authenticationStatusTable.Name = "authenticationStatusTable";
|
|
//
|
|
// authenticateButton
|
|
//
|
|
resources.ApplyResources(this.authenticateButton, "authenticateButton");
|
|
this.authenticateButton.Name = "authenticateButton";
|
|
this.authenticateButton.UseVisualStyleBackColor = true;
|
|
this.authenticateButton.Click += new System.EventHandler(this.authenticateButton_Click);
|
|
//
|
|
// statusPictureBox
|
|
//
|
|
resources.ApplyResources(this.statusPictureBox, "statusPictureBox");
|
|
this.statusPictureBox.Image = global::XenAdmin.Properties.Resources._000_error_h32bit_16;
|
|
this.statusPictureBox.Name = "statusPictureBox";
|
|
this.statusPictureBox.TabStop = false;
|
|
//
|
|
// passwordLabel
|
|
//
|
|
resources.ApplyResources(this.passwordLabel, "passwordLabel");
|
|
this.passwordLabel.Name = "passwordLabel";
|
|
//
|
|
// passwordTextBox
|
|
//
|
|
resources.ApplyResources(this.passwordTextBox, "passwordTextBox");
|
|
this.passwordTextBox.Name = "passwordTextBox";
|
|
this.passwordTextBox.UseSystemPasswordChar = true;
|
|
this.passwordTextBox.TextChanged += new System.EventHandler(this.credentials_TextChanged);
|
|
//
|
|
// usernameTextBox
|
|
//
|
|
resources.ApplyResources(this.usernameTextBox, "usernameTextBox");
|
|
this.usernameTextBox.Name = "usernameTextBox";
|
|
this.usernameTextBox.TextChanged += new System.EventHandler(this.credentials_TextChanged);
|
|
//
|
|
// spinnerIcon
|
|
//
|
|
resources.ApplyResources(this.spinnerIcon, "spinnerIcon");
|
|
this.spinnerIcon.Name = "spinnerIcon";
|
|
this.spinnerIcon.SucceededImage = global::XenAdmin.Properties.Resources._000_Tick_h32bit_16;
|
|
this.spinnerIcon.TabStop = false;
|
|
//
|
|
// statusLabel
|
|
//
|
|
resources.ApplyResources(this.statusLabel, "statusLabel");
|
|
this.statusLabel.ForeColor = System.Drawing.Color.Red;
|
|
this.statusLabel.Name = "statusLabel";
|
|
//
|
|
// dataGridViewTextBoxColumn1
|
|
//
|
|
resources.ApplyResources(this.dataGridViewTextBoxColumn1, "dataGridViewTextBoxColumn1");
|
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn2
|
|
//
|
|
resources.ApplyResources(this.dataGridViewTextBoxColumn2, "dataGridViewTextBoxColumn2");
|
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
|
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn3
|
|
//
|
|
resources.ApplyResources(this.dataGridViewTextBoxColumn3, "dataGridViewTextBoxColumn3");
|
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
|
this.dataGridViewTextBoxColumn3.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn4
|
|
//
|
|
resources.ApplyResources(this.dataGridViewTextBoxColumn4, "dataGridViewTextBoxColumn4");
|
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
|
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn5
|
|
//
|
|
resources.ApplyResources(this.dataGridViewTextBoxColumn5, "dataGridViewTextBoxColumn5");
|
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
|
this.dataGridViewTextBoxColumn5.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn6
|
|
//
|
|
resources.ApplyResources(this.dataGridViewTextBoxColumn6, "dataGridViewTextBoxColumn6");
|
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
|
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn7
|
|
//
|
|
resources.ApplyResources(this.dataGridViewTextBoxColumn7, "dataGridViewTextBoxColumn7");
|
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
|
this.dataGridViewTextBoxColumn7.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn8
|
|
//
|
|
this.dataGridViewTextBoxColumn8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
resources.ApplyResources(this.dataGridViewTextBoxColumn8, "dataGridViewTextBoxColumn8");
|
|
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
|
this.dataGridViewTextBoxColumn8.ReadOnly = true;
|
|
//
|
|
// CallHomeAuthenticationPanel
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.BackColor = System.Drawing.SystemColors.Control;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Name = "CallHomeAuthenticationPanel";
|
|
this.EnabledChanged += new System.EventHandler(this.CallHomeAuthenticationPanel_EnabledChanged);
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.authenticationStatusTable.ResumeLayout(false);
|
|
this.authenticationStatusTable.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.statusPictureBox)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.spinnerIcon)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
|
private System.Windows.Forms.Label usernameLabel;
|
|
private System.Windows.Forms.TableLayoutPanel authenticationStatusTable;
|
|
private SpinnerIcon spinnerIcon;
|
|
private System.Windows.Forms.Button authenticateButton;
|
|
private System.Windows.Forms.PictureBox statusPictureBox;
|
|
private Common.AutoHeightLabel statusLabel;
|
|
private System.Windows.Forms.Label passwordLabel;
|
|
private System.Windows.Forms.TextBox passwordTextBox;
|
|
private System.Windows.Forms.TextBox usernameTextBox;
|
|
}
|
|
}
|