mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-24 13:49:30 +00:00
ui: ceph wizard: move out info panel to separate component
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
71696fc1ad
commit
37e75d8616
@ -1,19 +1,44 @@
|
||||
Ext.define('PVE.ceph.CephInstallWizardInfo', {
|
||||
extend: 'Ext.panel.Panel',
|
||||
xtype: 'pveCephInstallWizardInfo',
|
||||
|
||||
html: `<h3>Ceph?</h3>
|
||||
<blockquote cite="https://ceph.com/"><p>"<b>Ceph</b> is a unified,
|
||||
distributed storage system designed for excellent performance, reliability
|
||||
and scalability."</p></blockquote>
|
||||
<p>
|
||||
<b>Ceph</b> is currently <b>not installed</b> on this node, click on the
|
||||
next button below to start the installation. This wizard will guide you
|
||||
through the necessary steps, after the initial installation you will be
|
||||
offered to create an initial configuration. The configuration step is only
|
||||
needed once per cluster and will be skipped if a config is already present.
|
||||
</p>
|
||||
<p>
|
||||
Please take a look at our documentation, by clicking the help button below,
|
||||
before starting the installation, if you want to gain deeper knowledge about
|
||||
Ceph visit <a target="_blank" href="http://docs.ceph.com/docs/master/">ceph.com</a>.
|
||||
</p>`,
|
||||
});
|
||||
|
||||
Ext.define('PVE.ceph.CephInstallWizard', {
|
||||
extend: 'PVE.window.Wizard',
|
||||
alias: 'widget.pveCephInstallWizard',
|
||||
mixins: ['Proxmox.Mixin.CBind'],
|
||||
|
||||
resizable: false,
|
||||
nodename: undefined,
|
||||
|
||||
viewModel: {
|
||||
data: {
|
||||
nodename: '',
|
||||
configuration: true,
|
||||
isInstalled: false
|
||||
isInstalled: false,
|
||||
}
|
||||
},
|
||||
cbindData: {
|
||||
nodename: undefined
|
||||
},
|
||||
|
||||
title: gettext('Setup'),
|
||||
navigateNext: function() {
|
||||
var tp = this.down('#wizcontent');
|
||||
@ -42,18 +67,24 @@ Ext.define('PVE.ceph.CephInstallWizard', {
|
||||
},
|
||||
items: [
|
||||
{
|
||||
title: gettext('Info'),
|
||||
xtype: 'panel',
|
||||
title: gettext('Info'),
|
||||
border: false,
|
||||
bodyBorder: false,
|
||||
onlineHelp: 'chapter_pveceph',
|
||||
html: '<h3>Ceph?</h3>'+
|
||||
'<blockquote cite="https://ceph.com/"><p>"<b>Ceph</b> is a unified, distributed storage system designed for excellent performance, reliability and scalability."</p></blockquote>'+
|
||||
'<p><b>Ceph</b> is currently <b>not installed</b> on this node, click on the next button below to start the installation.'+
|
||||
' This wizard will guide you through the necessary steps, after the initial installation you will be offered to create an initial configuration.'+
|
||||
' The configuration step is only needed once per cluster and will be skipped if a config is already present.</p>'+
|
||||
'<p>Please take a look at our documentation, by clicking the help button below, before starting the installation, '+
|
||||
'if you want to gain deeper knowledge about Ceph visit <a target="_blank" href="http://docs.ceph.com/docs/master/">ceph.com</a>.</p>',
|
||||
layout: {
|
||||
type: 'vbox',
|
||||
align: 'stretch',
|
||||
},
|
||||
defaults: {
|
||||
border: false,
|
||||
bodyBorder: false,
|
||||
},
|
||||
items: [
|
||||
{
|
||||
xtype: 'pveCephInstallWizardInfo',
|
||||
},
|
||||
],
|
||||
listeners: {
|
||||
activate: function() {
|
||||
// notify owning container that it should display a help button
|
||||
|
Loading…
Reference in New Issue
Block a user