.cargo
debian
docs
etc
examples
pbs-api-types
pbs-buildcfg
pbs-client
pbs-config
pbs-datastore
pbs-fuse-loop
pbs-tape
pbs-tools
proxmox-backup-banner
proxmox-backup-client
proxmox-file-restore
proxmox-rest-server
proxmox-restore-daemon
proxmox-rrd
pxar-bin
src
tests
www
button
config
css
dashboard
data
datastore
form
images
panel
AccessControl.js
NodeInfo.js
PrunePanel.js
StorageAndDisks.js
UsageChart.js
XtermJsConsole.js
tape
window
Application.js
Dashboard.js
DirectoryList.js
LoginView.js
MainView.js
Makefile
NavigationTree.js
NodeNotes.js
OnlineHelpInfo.js
ServerAdministration.js
ServerStatus.js
Subscription.js
SystemConfiguration.js
Utils.js
VersionInfo.js
ZFSList.js
index.hbs
zsh-completions
.gitignore
Cargo.toml
Makefile
README.rst
TODO.rst
defines.mk
rustfmt.toml
some users prefer an inline console we still have the pop-out console in 'Administration' Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
26 lines
449 B
JavaScript
26 lines
449 B
JavaScript
Ext.define('PBS.panel.XtermJsConsole', {
|
|
extend: 'Ext.panel.Panel',
|
|
alias: 'widget.pbsXtermJsConsole',
|
|
|
|
layout: 'fit',
|
|
|
|
items: [
|
|
{
|
|
xtype: 'uxiframe',
|
|
itemId: 'iframe',
|
|
},
|
|
],
|
|
|
|
listeners: {
|
|
'afterrender': function() {
|
|
let me = this;
|
|
let params = {
|
|
console: 'shell',
|
|
node: 'localhost',
|
|
xtermjs: 1,
|
|
};
|
|
me.getComponent('iframe').load('/?' + Ext.Object.toQueryString(params));
|
|
},
|
|
},
|
|
});
|