public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Aaron Lauterer <a.lauterer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager] ui: node: use plug icon for node shutdown
Date: Wed,  7 May 2025 14:44:34 +0200	[thread overview]
Message-ID: <20250507124434.1730046-1-a.lauterer@proxmox.com> (raw)

this makes it optically different to the guest shutdown and hopefully
helps to avoid confusion and accidential node shutdowns.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---
This came up in the forum and I do like the idea and the change is small
enough to just quickly do it
https://forum.proxmox.com/threads/disable-server-shutdown-restart-from-the-web-interface.12602/page-2#post-769235

 www/manager6/node/Config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/node/Config.js b/www/manager6/node/Config.js
index f4d3ff8a..d08e9478 100644
--- a/www/manager6/node/Config.js
+++ b/www/manager6/node/Config.js
@@ -117,7 +117,7 @@ Ext.define('PVE.node.Config', {
 	    handler: function() {
 		node_command('shutdown');
 	    },
-	    iconCls: 'fa fa-power-off',
+	    iconCls: 'fa fa-plug',
 	});
 
 	var shellBtn = Ext.create('PVE.button.ConsoleButton', {
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


                 reply	other threads:[~2025-05-07 12:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250507124434.1730046-1-a.lauterer@proxmox.com \
    --to=a.lauterer@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal