pve-manager/www/manager6/Makefile

254 lines
6.1 KiB
Makefile
Raw Normal View History

2016-03-31 12:42:29 +03:00
include ../../defines.mk
JSSRC= \
Utils.js \
Toolkit.js \
Parser.js \
StateProvider.js \
menu/MenuItem.js \
menu/TemplateMenu.js \
2016-03-31 12:42:29 +03:00
button/ConsoleButton.js \
button/Revert.js \
button/Split.js \
controller/StorageEdit.js \
2016-03-31 12:42:29 +03:00
qemu/CmdMenu.js \
lxc/CmdMenu.js \
node/CmdMenu.js \
2016-03-31 12:42:29 +03:00
VNCConsole.js \
data/PermPathStore.js \
2016-03-31 12:42:29 +03:00
data/ResourceStore.js \
data/model/Realm.js \
data/model/RRDModels.js \
2016-03-31 12:42:29 +03:00
form/VLanField.js \
form/Boolean.js \
form/CompressionSelector.js \
form/PoolSelector.js \
form/PrivilegesSelector.js \
2016-03-31 12:42:29 +03:00
form/GroupSelector.js \
form/UserSelector.js \
form/RoleSelector.js \
form/GuestIDSelector.js \
2016-03-31 12:42:29 +03:00
form/MemoryField.js \
form/NetworkCardSelector.js \
form/DiskFormatSelector.js \
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 \
form/DiskStorageSelector.js \
2016-03-31 12:42:29 +03:00
form/BridgeSelector.js \
form/PCISelector.js \
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 \
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 \
form/GlobalSearchField.js \
2016-03-31 12:42:29 +03:00
form/QemuBiosSelector.js \
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 6593d43d1047d335a3a95d37c6d2f51282697b26) Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-06 23:22:19 +03:00
form/VMCPUFlagSelector.js \
form/USBSelector.js \
form/CalendarEvent.js \
form/CephPoolSelector.js \
form/PermPathSelector.js \
form/SpiceEnhancementSelector.js \
2016-03-31 12:42:29 +03:00
dc/Tasks.js \
dc/Log.js \
panel/StatusPanel.js \
panel/StatusView.js \
panel/GuestStatusView.js \
panel/RunningChart.js \
panel/InfoWidget.js \
panel/TemplateStatusView.js \
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 \
window/BackupConfig.js \
window/Settings.js \
window/StartupEdit.js \
window/CephInstall.js \
window/FirewallEnableEdit.js \
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 \
ceph/ServiceList.js \
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 \
ceph/StatusDetail.js \
ceph/Services.js \
2016-03-31 12:42:29 +03:00
ceph/Config.js \
ceph/Log.js \
ceph/CephInstallWizard.js \
node/Disks.js \
node/LVM.js \
node/LVMThin.js \
node/Directory.js \
node/ZFS.js \
2016-03-31 12:42:29 +03:00
node/StatusView.js \
node/Summary.js \
node/Subscription.js \
node/Certificates.js \
node/ACME.js \
2016-03-31 12:42:29 +03:00
node/Config.js \
window/Migrate.js \
window/BulkAction.js \
window/Clone.js \
2016-03-31 12:42:29 +03:00
qemu/Monitor.js \
qemu/Summary.js \
qemu/OSTypeEdit.js \
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 \
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 \
qemu/USBEdit.js \
qemu/PCIEdit.js \
qemu/SerialEdit.js \
qemu/AgentIPView.js \
qemu/CloudInit.js \
qemu/CIDriveEdit.js \
qemu/SSHKey.js \
qemu/IPConfigEdit.js \
qemu/SystemEdit.js \
qemu/AudioEdit.js \
2016-03-31 12:42:29 +03:00
lxc/Summary.js \
lxc/Network.js \
lxc/Resources.js \
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 \
lxc/MPEdit.js \
2016-03-31 12:42:29 +03:00
pool/StatusView.js \
pool/Summary.js \
pool/Config.js \
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 \
storage/CephFSEdit.js \
2016-03-31 12:42:29 +03:00
storage/RBDEdit.js \
storage/ZFSEdit.js \
storage/ZFSPoolEdit.js \
ha/StatusView.js \
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 \
grid/Replication.js \
dc/Health.js \
dc/Guests.js \
2016-03-31 12:42:29 +03:00
dc/OptionView.js \
dc/StorageView.js \
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 \
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 \
dc/NodeView.js \
dc/Cluster.js \
dc/ClusterEdit.js \
2016-03-31 12:42:29 +03:00
Workspace.js
lint: ${JSSRC}
jslint ${JSSRC}
2016-03-31 12:42:29 +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
.PHONY: install
2016-03-31 12:42:29 +03:00
install: pvemanagerlib.js
2017-01-25 20:24:51 +03:00
install -d ${WWWJSDIR}
install -m 0644 pvemanagerlib.js ${WWWJSDIR}
2016-03-31 12:42:29 +03:00
.PHONY: clean
clean:
find . -name '*~' -exec rm {} ';'
rm -rf pvemanagerlib.js OnlineHelpInfo.js
2016-03-31 12:42:29 +03:00