]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit - src/node/NetworkView.js
NetworkView: add apply config button
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 29 Oct 2019 11:08:48 +0000 (12:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Nov 2019 09:11:30 +0000 (10:11 +0100)
commit21cd6c09e2a476b5a32f42915feb9e7c2a27ab48
tree89a09b7e995806cdedbf7ac619d8cf25998a3969
parentf32aa3df74323dde9c7f5878c38efe507ad624d2
NetworkView: add apply config button

when the host has ifupdown2 installed, we can hot apply the config
add a button to do this

if the user does not meet the requirements, the api call
will show why and throw an error (without changing anything)

the button has to be enabled via 'showApplyBtn', because for now,
we do not want it for pmg

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
node/NetworkView.js