Commit Graph

2173 Commits

Author SHA1 Message Date
Dietmar Maurer
cedc0418e3 copy qemu/QemuBiosEdit.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
59e85a547d copy qemu/ProcessorEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
d3ce36d94d copy qemu/OSTypeEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
7d44036a37 copy qemu/Options.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
8487aa127b copy qemu/NetworkEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
7a2a8d56a5 copy qemu/Monitor.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
e5bb8722c2 copy qemu/MemoryEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
bf8873e89d copy qemu/KeyboardEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
ac3c553c65 copy qemu/HDThrottle.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
9479ebc246 copy qemu/HDResize.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
5d485b708b copy qemu/HDMove.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
df15b3da37 copy qemu/HDEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
f97670f558 copy qemu/HardwareView.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
db0501804f copy qemu/DisplayEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
9bbc1e4d03 copy qemu/CreateWizard.js from manager to manager6 2016-03-16 09:12:21 +01:00
Dietmar Maurer
bbace04b2e copy qemu/CPUOptions.js from manager to manager6 2016-03-16 09:12:21 +01:00
Dietmar Maurer
dc56cd139b copy qemu/CmdMenu.js from manager to manager6 2016-03-16 09:12:21 +01:00
Dietmar Maurer
f5226cd9f0 copy qemu/Clone.js from manager to manager6 2016-03-16 09:12:21 +01:00
Dietmar Maurer
16041408d0 copy qemu/CDEdit.js from manager to manager6 2016-03-16 09:12:21 +01:00
Dietmar Maurer
638a57e735 copy qemu/BootOrderEdit.js from manager to manager6 2016-03-16 09:12:21 +01:00
Emmanuel Kasper
ad07dcb380 Enlarge Wizard window vertically to accomodate all our LXC settings
Without this, the summary grid in the end of the LXC creation
wizard needs to be scrolled to see some settings.

Note that we still want to use a fixed height, so that all wizard
panels have the same height and next/previous buttons
are always displayed at the same place.
2016-03-15 16:34:37 +01:00
Emmanuel Kasper
60575f19e5 use Ext.apply() instead of Ext.applyIf() to properly load child items 2016-03-15 16:34:17 +01:00
Emmanuel Kasper
2d0aa6d157 use proper xtype name 2016-03-15 16:34:03 +01:00
Emmanuel Kasper
69c635d770 fix delayed store loading
Because the store loading delay, it can be that reload() fails on trying to
load an undefined store, if the user switched tabs in the meantime
2016-03-15 16:33:49 +01:00
Emmanuel Kasper
1cd913372c use 'refresh' event to redisplay the grid after loading the store
'datachanged' event is not actualizing the component with ExtJS6,
but 'refresh' does.
2016-03-15 16:32:48 +01:00
Dominik Csapak
8dc0c04951 ext6migrate: change VM selector in pool to grid
this changes the vm add window in a pool
from a VMIDSelector (a numberfield)
to a grid of vms which are currently in no pool
where you can select more than one

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-15 16:31:14 +01:00
Dominik Csapak
540fdc8b1e formatting and trailing whitespaces fix
fix format of commit
f2a6ce6cf1
(space before 'load')

also fix trailing whitespaces in those files

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-15 16:31:02 +01:00
Thomas Lamprecht
598ee8e6bb ext6: datepicker workaround
Witouth this we can get into issues where only the picker is visible
and the rest of the GUI is completely grey when selecting a date
with the date picker, generally this happens when a scroll field is
involved (e.g., syslog).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-15 12:45:40 +01:00
Thomas Lamprecht
561312ff62 manager6: web-syslog: add date span selection
This is the ExtJS 6 version from commit
59e6da2d44

Same code as there.
A issue with the date picker which can be triggered by scrolling up
and then selecting a date will be fixed in ExtJS 6.0.2 (not yet
released), a workaround is in the next patch.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-15 12:45:08 +01:00
Emmanuel Kasper
9a55d9a21a css improvements for crisp theme
* usability improvement for enabled buttons:
in the default theme, ExtJS uses two different nuances of grey to
distinguish enabled or disabled buttons
the problem is that compared to the full black of the panels titles, it gives
the impression that everything is disabled (the contrast is not strong
enough between the two grey nuances)
the fix is to replace the dark grey of an 'enabled' button with black, similar with
what we had in ExtJS and the Classic theme

* re add menu header
this was lost when moving to crisp theme

reasoning and fix identic to

198f2d837a
by default the title in extjs6 menus have no style
this patch uses the same style as the tab headers
2016-03-15 10:38:49 +01:00
Dietmar Maurer
02f96c4fd9 update changelog 2016-03-15 09:21:07 +01:00
Dominik Csapak
eafa845f86 deactivate (currently) not working lxc templates
this deactivates template creating for lxc in the gui,
since this does currently not work reliably

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-15 09:20:25 +01:00
Dietmar Maurer
79bd3ee666 bump version to 4.1-22 2016-03-14 17:31:02 +01:00
Wolfgang Bumiller
17ab437fab lxc: disable ACL settings for bind mounts 2016-03-14 17:28:59 +01:00
Dominik Csapak
3d9bc0a27f ext6migrate: fix trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-14 17:18:46 +01:00
Dominik Csapak
1928545b8d ext6migrate: fix pool member view
change show event to activate

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-14 17:18:34 +01:00
Dominik Csapak
aa5dbcc32f ext6migrate: remove unecessary hacks
this removes the two overrides for extjs4

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-14 17:18:18 +01:00
Dominik Csapak
c90539dead ext6migrate: fix double loadMask
fix the double loadMask, (it exists, because extjs has a default
loadmask for gridpanels)

also move static configuration to class definition

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-14 17:17:51 +01:00
Dominik Csapak
ee231e7918 ext6migrate: fix framework caching issue
in extjs 5/6 there is a caching issue, where they
save dom elements for reuse, but the garbage collector
can set them to null

when the framework now reuses the "cached" element it is null,
and any action on it produces an error, which breaks the site

for details see the forum link in the comment

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-14 17:16:58 +01:00
Dominik Csapak
f2a6ce6cf1 ext6migrate: fix store load race condition
when we click on a node/container/vm and quickly
click on something else, there might be a race condition,
where the store finished loading and we try to change
dom elements, which are not there anymore

so we change the store.on to me.mon, which
deletes the handler when the component is gone

in the logview panel we use API2Request, where
we cannot do this, so we check if the component
is destroyed manually

also we change this whenever we change a dom element
in a callback

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-14 17:16:37 +01:00
Emmanuel Kasper
27ea3c5981 Fix LXC summary view:
* replace scrollable with autoScroll and move to prototype body
 * use 'activate' to load store on F5
 * do not set a height on the StatusView component: it hides some rows,
and the framework sets a good working default height
2016-03-14 17:11:24 +01:00
Emmanuel Kasper
8132a620a1 Enable last remaining lxc panels 2016-03-14 17:11:06 +01:00
Emmanuel Kasper
d0e96c0d50 update leaf nodes instead of removing / readding them
if the selected node has its status changed between stop &
running, the node was removed and then readded
during the remove / add process the 'selected' status of the node
was lost if it has one

instead of deleting / readding the node, we update now its content
this was the default behaviour for server nodes, but not for leaf nodes

this fixes a graphical bug where starting/stopping a VM/container would lose
the current selection in the ressource tree
2016-03-14 17:02:46 +01:00
Dietmar Maurer
2618ee9782 ext6migrate: remove useless padding to improve TaskViewer layout 2016-03-11 17:49:37 +01:00
Dietmar Maurer
0423798570 lazy create view controller (use xclass property) 2016-03-11 17:17:43 +01:00
Dominik Csapak
834ba9e4ec ext6migrate: change setContent behaviour of workspace
instead of removing the current content and setting the new
we add the new content to the next card of the content container
(which now has the card layout, same as in the wizard)

then seamlessly change the active card, and then destroy the old card
with a delay

this has three reasons:
on a change, the panel does not flicker anymore
we give the old content time to finish ajax request (avoid race
conditions)
and we (hopefully) load the new content faster as the destroy
process can take some time

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-11 16:36:35 +01:00
Dominik Csapak
bc53e0716d ext6migrate: avoid using id
since id should be unique for the whole dom,
avoid using it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-11 16:34:55 +01:00
Dominik Csapak
04a234a024 ext6migrate: fix task history race condition
on destroy, stop the store loading, else
we try to update dom elements which are not there anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-11 16:33:45 +01:00
Dominik Csapak
fd02b3c506 ext6migrate: add unqueue to UpdateQueue
in the event of a destroyed or stopped object/updateStore,
we do not want to execute queued requests, thus we
need to unqueue them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-11 16:32:47 +01:00
Dietmar Maurer
95c4a0cb84 bump version to 4.1-21 2016-03-11 16:30:38 +01:00