2016-03-31 12:42:29 +03:00
i n c l u d e . . / . . / d e f i n e s . m k
JSSRC = \
Utils.js \
Toolkit.js \
Parser.js \
StateProvider.js \
2017-10-17 12:48:02 +03:00
menu/MenuItem.js \
2018-03-21 17:12:15 +03:00
menu/TemplateMenu.js \
2016-03-31 12:42:29 +03:00
button/ConsoleButton.js \
2016-04-04 13:35:23 +03:00
button/Split.js \
2017-10-31 17:52:09 +03:00
controller/StorageEdit.js \
2016-03-31 12:42:29 +03:00
qemu/CmdMenu.js \
lxc/CmdMenu.js \
2017-04-14 11:09:23 +03:00
node/CmdMenu.js \
2016-03-31 12:42:29 +03:00
VNCConsole.js \
2019-09-17 12:35:48 +03:00
data/PermPathStore.js \
2016-03-31 12:42:29 +03:00
data/ResourceStore.js \
2017-12-11 16:46:51 +03:00
data/model/Realm.js \
2018-01-15 17:17:57 +03:00
data/model/RRDModels.js \
2016-03-31 12:42:29 +03:00
form/VLanField.js \
form/Boolean.js \
form/CompressionSelector.js \
form/PoolSelector.js \
2018-05-08 12:32:26 +03:00
form/PrivilegesSelector.js \
2016-03-31 12:42:29 +03:00
form/GroupSelector.js \
form/UserSelector.js \
form/RoleSelector.js \
2016-12-13 12:07:40 +03:00
form/GuestIDSelector.js \
2016-03-31 12:42:29 +03:00
form/MemoryField.js \
form/NetworkCardSelector.js \
form/DiskFormatSelector.js \
2018-07-30 11:26:07 +03:00
form/DiskSelector.js \
2016-03-31 12:42:29 +03:00
form/BusTypeSelector.js \
form/ControllerSelector.js \
form/EmailNotificationSelector.js \
form/RealmComboBox.js \
form/ViewSelector.js \
form/NodeSelector.js \
form/FileSelector.js \
form/StorageSelector.js \
2017-11-10 16:49:20 +03:00
form/DiskStorageSelector.js \
2016-03-31 12:42:29 +03:00
form/BridgeSelector.js \
2018-11-22 13:35:43 +03:00
form/PCISelector.js \
2018-11-22 13:35:44 +03:00
form/MDevSelector.js \
2016-03-31 12:42:29 +03:00
form/SecurityGroupSelector.js \
form/IPRefSelector.js \
form/IPProtocolSelector.js \
form/CPUModelSelector.js \
form/VNCKeyboardSelector.js \
form/CacheTypeSelector.js \
form/SnapshotSelector.js \
form/ContentTypeSelector.js \
form/HotplugFeatureSelector.js \
2018-08-01 21:29:07 +03:00
form/AgentFeatureSelector.js \
2016-03-31 12:42:29 +03:00
form/iScsiProviderSelector.js \
form/DayOfWeekSelector.js \
form/BackupModeSelector.js \
form/ScsiHwSelector.js \
form/FirewallPolicySelector.js \
2016-06-20 16:46:37 +03:00
form/GlobalSearchField.js \
2016-03-31 12:42:29 +03:00
form/QemuBiosSelector.js \
2019-09-17 12:35:48 +03:00
form/VMSelector.js \
gui: vm: add CPU flag selector with tri-state awareness
This allows to select the tri-state (enforce on, enforce off, default
from QEMU+CPU Model) for each CPU flag independently.
For this a grid with a widgetcolumn is used hosting tree radio
buttons for each state. They're marked '+' for enforce on, '-' for
enforce off and the default has no label, as it isn't easy to add in
such a way that it does not confuses people and does not looks
completely ugly.. But, to help people which have a hard time figuring
out what the states mean, a fake column was added showing the current
selected state's outcome in words.
For show casing the new nice interface add all currently supported
flags from out API-
It could be worth to add some selected CPU model awareness, so that
flags are only enabled if they can make sense with the selected
model. But one should be able to add this relative easily with this
as base.
The hardcoded flag lists is not ideal, we should try to generate this
in the future, but here already qemu-server is lacking and this is
rather independent of the fact and can be done later one just fine
too.
Note that this /is/ an *advanced* feature so not visible for all
directly, while I try to document in short what a flag does it surely
isn't perfect and to short to explain all nuances, they should give
enough pointers to know if it's relevant at all (amd / intel cpu) and
for what one should research
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 92572ead6dc4e2a4475111a4c4d52be8f849d9a2)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-06 23:22:19 +03:00
form/VMCPUFlagSelector.js \
2017-05-29 11:46:33 +03:00
form/USBSelector.js \
2017-06-13 15:56:03 +03:00
form/CalendarEvent.js \
2019-09-17 12:35:48 +03:00
form/CephPoolSelector.js \
form/PermPathSelector.js \
2016-03-31 12:42:29 +03:00
dc/Tasks.js \
dc/Log.js \
panel/StatusPanel.js \
2016-08-19 11:47:50 +03:00
panel/StatusView.js \
panel/GuestStatusView.js \
2016-11-22 14:32:12 +03:00
panel/RunningChart.js \
2016-08-19 11:47:50 +03:00
panel/InfoWidget.js \
panel/TemplateStatusView.js \
2016-11-22 14:32:11 +03:00
panel/HealthWidget.js \
2016-03-31 12:42:29 +03:00
window/LoginWindow.js \
window/Wizard.js \
window/NotesEdit.js \
window/Backup.js \
window/Restore.js \
window/SafeDestroy.js \
2016-08-30 15:18:45 +03:00
window/BackupConfig.js \
2016-10-24 14:54:01 +03:00
window/Settings.js \
2016-12-05 16:48:06 +03:00
window/StartupEdit.js \
2019-03-06 14:29:40 +03:00
window/CephInstall.js \
2019-03-13 11:57:31 +03:00
window/FirewallEnableEdit.js \
2019-04-01 15:45:11 +03:00
window/FirewallLograteEdit.js \
2016-03-31 12:42:29 +03:00
panel/NotesView.js \
grid/ResourceGrid.js \
grid/PoolMembers.js \
grid/FirewallRules.js \
grid/FirewallAliases.js \
grid/FirewallOptions.js \
tree/ResourceTree.js \
panel/IPSet.js \
panel/ConfigPanel.js \
grid/BackupView.js \
2019-06-04 15:47:53 +03:00
ceph/ServiceList.js \
2018-11-23 15:34:26 +03:00
ceph/FS.js \
2016-03-31 12:42:29 +03:00
ceph/Pool.js \
ceph/OSD.js \
ceph/Monitor.js \
ceph/Crush.js \
ceph/Status.js \
2016-11-22 14:32:13 +03:00
ceph/StatusDetail.js \
2019-05-27 15:13:58 +03:00
ceph/Services.js \
2016-03-31 12:42:29 +03:00
ceph/Config.js \
2019-03-06 14:29:40 +03:00
ceph/Log.js \
2019-09-17 12:35:48 +03:00
ceph/CephInstallWizard.js \
2016-09-06 17:59:40 +03:00
node/Disks.js \
2018-07-30 11:26:08 +03:00
node/LVM.js \
2018-07-30 11:26:09 +03:00
node/LVMThin.js \
2018-07-30 11:26:10 +03:00
node/Directory.js \
2018-08-07 17:51:11 +03:00
node/ZFS.js \
2016-03-31 12:42:29 +03:00
node/StatusView.js \
node/Summary.js \
node/Subscription.js \
2018-05-04 12:53:35 +03:00
node/Certificates.js \
2018-05-04 12:53:34 +03:00
node/ACME.js \
2016-03-31 12:42:29 +03:00
node/Config.js \
window/Migrate.js \
2017-01-05 14:25:03 +03:00
window/BulkAction.js \
2018-03-21 17:12:13 +03:00
window/Clone.js \
2016-03-31 12:42:29 +03:00
qemu/Monitor.js \
qemu/Summary.js \
qemu/OSTypeEdit.js \
2016-07-21 12:10:44 +03:00
qemu/OSDefaults.js \
2016-03-31 12:42:29 +03:00
qemu/ProcessorEdit.js \
qemu/BootOrderEdit.js \
qemu/MemoryEdit.js \
qemu/NetworkEdit.js \
qemu/Smbios1Edit.js \
qemu/CDEdit.js \
qemu/HDEdit.js \
qemu/HDResize.js \
qemu/HDMove.js \
2016-09-12 13:02:38 +03:00
qemu/HDEfi.js \
2016-03-31 12:42:29 +03:00
qemu/DisplayEdit.js \
qemu/KeyboardEdit.js \
qemu/HardwareView.js \
qemu/ScsiHwEdit.js \
qemu/QemuBiosEdit.js \
qemu/Options.js \
qemu/Snapshot.js \
qemu/SnapshotTree.js \
qemu/Config.js \
qemu/CreateWizard.js \
2017-05-29 11:46:33 +03:00
qemu/USBEdit.js \
2018-11-22 13:35:45 +03:00
qemu/PCIEdit.js \
2019-09-17 12:35:48 +03:00
qemu/SerialEdit.js \
2018-02-23 12:31:55 +03:00
qemu/AgentIPView.js \
2018-03-15 18:21:36 +03:00
qemu/CloudInit.js \
2018-03-15 18:21:35 +03:00
qemu/CIDriveEdit.js \
2018-03-15 18:21:34 +03:00
qemu/SSHKey.js \
2018-03-15 18:21:33 +03:00
qemu/IPConfigEdit.js \
2019-03-28 18:25:06 +03:00
qemu/SystemEdit.js \
2019-07-19 16:32:20 +03:00
qemu/AudioEdit.js \
2016-03-31 12:42:29 +03:00
lxc/Summary.js \
lxc/Network.js \
lxc/Resources.js \
2018-11-05 12:07:56 +03:00
lxc/FeaturesEdit.js \
2016-03-31 12:42:29 +03:00
lxc/Options.js \
lxc/DNS.js \
lxc/Config.js \
lxc/CreateWizard.js \
lxc/SnapshotTree.js \
lxc/Snapshot.js \
lxc/ResourceEdit.js \
lxc/MPResize.js \
2017-11-10 16:49:21 +03:00
lxc/MPEdit.js \
2016-03-31 12:42:29 +03:00
pool/StatusView.js \
pool/Summary.js \
pool/Config.js \
2018-03-27 15:19:46 +03:00
storage/Base.js \
2016-03-31 12:42:29 +03:00
storage/ContentView.js \
storage/StatusView.js \
storage/Summary.js \
storage/Browser.js \
storage/DirEdit.js \
storage/NFSEdit.js \
2018-03-16 17:02:34 +03:00
storage/CIFSEdit.js \
2016-03-31 12:42:29 +03:00
storage/GlusterFsEdit.js \
storage/IScsiEdit.js \
storage/LVMEdit.js \
storage/LvmThinEdit.js \
2018-11-15 15:20:11 +03:00
storage/CephFSEdit.js \
2016-03-31 12:42:29 +03:00
storage/RBDEdit.js \
storage/ZFSEdit.js \
storage/ZFSPoolEdit.js \
ha/StatusView.js \
2016-11-22 14:07:29 +03:00
ha/Status.js \
2016-03-31 12:42:29 +03:00
ha/GroupSelector.js \
ha/ResourceEdit.js \
ha/Resources.js \
ha/GroupEdit.js \
ha/Groups.js \
ha/Fencing.js \
dc/Summary.js \
2017-06-13 15:56:04 +03:00
grid/Replication.js \
2016-10-28 14:11:44 +03:00
dc/Health.js \
2016-10-28 14:11:45 +03:00
dc/Guests.js \
2016-03-31 12:42:29 +03:00
dc/OptionView.js \
dc/StorageView.js \
2019-04-02 13:22:08 +03:00
dc/TFAEdit.js \
2016-03-31 12:42:29 +03:00
dc/UserEdit.js \
dc/UserView.js \
dc/PoolView.js \
dc/PoolEdit.js \
dc/GroupView.js \
dc/GroupEdit.js \
dc/RoleView.js \
2018-05-08 12:32:26 +03:00
dc/RoleEdit.js \
2016-03-31 12:42:29 +03:00
dc/ACLView.js \
dc/AuthView.js \
dc/AuthEdit.js \
dc/Backup.js \
dc/Support.js \
dc/SecurityGroups.js \
dc/Config.js \
2016-10-28 14:11:41 +03:00
dc/NodeView.js \
2018-04-04 15:36:43 +03:00
dc/Cluster.js \
2018-04-04 15:36:44 +03:00
dc/ClusterEdit.js \
2016-03-31 12:42:29 +03:00
Workspace.js
lint : ${JSSRC }
2019-05-31 14:41:49 +03:00
jslint ${ JSSRC }
2016-03-31 12:42:29 +03:00
2016-10-13 12:26:06 +03:00
pvemanagerlib.js : OnlineHelpInfo .js ${JSSRC }
cat OnlineHelpInfo.js ${ JSSRC } >$@ .tmp
mv $@ .tmp $@
OnlineHelpInfo.js : /usr /bin /asciidoc -pve
/usr/bin/asciidoc-pve scan-extjs ${ JSSRC } >$@ .tmp
2016-03-31 12:42:29 +03:00
mv $@ .tmp $@
all : pvemanagerlib .js
2019-05-31 14:41:49 +03:00
.PHONY : install
2016-03-31 12:42:29 +03:00
install : pvemanagerlib .js
2017-01-25 20:24:51 +03:00
install -d ${ WWWJSDIR }
2017-06-09 10:55:27 +03:00
install -m 0644 pvemanagerlib.js ${ WWWJSDIR }
2016-03-31 12:42:29 +03:00
.PHONY : clean
clean :
2019-05-31 14:41:49 +03:00
find . -name '*~' -exec rm { } ';'
2016-10-13 12:26:06 +03:00
rm -rf pvemanagerlib.js OnlineHelpInfo.js
2016-03-31 12:42:29 +03:00