mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-06 15:31:28 +00:00
gui: add ceph monitor restart button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
63f80f5f15
commit
fa59b32d33
@ -123,6 +123,15 @@ Ext.define('PVE.node.CephMonList', {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var restart_btn = new Proxmox.button.Button({
|
||||||
|
text: gettext('Restart'),
|
||||||
|
selModel: sm,
|
||||||
|
disabled: true,
|
||||||
|
handler: function(){
|
||||||
|
service_cmd("restart");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
var create_btn = new Ext.Button({
|
var create_btn = new Ext.Button({
|
||||||
text: gettext('Create'),
|
text: gettext('Create'),
|
||||||
handler: function(){
|
handler: function(){
|
||||||
@ -164,7 +173,7 @@ Ext.define('PVE.node.CephMonList', {
|
|||||||
Ext.apply(me, {
|
Ext.apply(me, {
|
||||||
store: store,
|
store: store,
|
||||||
selModel: sm,
|
selModel: sm,
|
||||||
tbar: [ start_btn, stop_btn, create_btn, remove_btn ],
|
tbar: [ start_btn, stop_btn, restart_btn, '-', create_btn, remove_btn ],
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
header: gettext('Name'),
|
header: gettext('Name'),
|
||||||
|
Loading…
Reference in New Issue
Block a user