Commit Graph

1173 Commits

Author SHA1 Message Date
Dominik Csapak
9fb537753a ext6migrate: remove trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-16 16:32:55 +01:00
Dominik Csapak
7e27f5d1b4 ext6migrate: make some (sub)tabs lazy
make following (sub)tabs lazy:
 * ceph
 * firewall
 * ha
 * search
 * lxc/Resources

we have to add layout: 'fit', whereever we make a whole tab lazy
and we have to move the title of the search tab to the instantiaton
instead of the class definition, because the search grid is now a
sub component instead of a tab

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-16 16:32:40 +01:00
Dominik Csapak
a39018a72e ext6migrate: prepare panels for lazyitems
since we want to make some tabpanels lazyitems,
we have to change the behaviour of the configpanel
and the subconfigpanel

in the configpanel, we have to manually fire the hide event
for the tabs which are lazyitems, because they will not
be direct children of our tabpanel and thus their
hide event will not fire

in the subconfigpanel we have to manually save the to
be active tab, since at this point, the subtabs are not there
yet (and cannot be activated)

also in the afterrender event, we only want to set the
activetab when we have none, and we only set the first,
if we have none saved

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-16 16:30:26 +01:00
Dominik Csapak
50c3086016 ext6migrate: change ceph event handlers
change event handlers from show to activate
to allow refresh

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-16 16:28:30 +01:00
Dominik Csapak
30f7f4d9e2 ext6migrate: make ceph config a subclass
the subpanelconfig class was modeled after the ceph config class
but the ceph config was never changed to use that subclass
this patch changes that

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-16 16:28:17 +01:00
Dominik Csapak
ca966b7ec7 ext6migrate: add missing items in statusprovider
some elements were missing and some had typos
also change ovztab to lxctab

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-16 16:27:38 +01:00
Dominik Csapak
26c5f8d776 ext6migrate: fix Console butten text (again)
since sometimes, we set the text of the console button
('shell' or 'upgrade')
we do not want to override this everytime, but only
when me.text === null

we cannot use applyIf either, because this overwrites only
if the field is undefined, not null

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-16 16:26:58 +01:00
Thomas Lamprecht
06076ea0e0 css6: reduce tree space usage for new theme
The tree has also big space paddings/margins in the crisp theme,
reduce this to a saner level.
2016-03-16 10:43:38 +01:00
Dietmar Maurer
d5b5cc830b copy qemu/TemplateMenu.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
426d7f74bf copy qemu/Summary.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
3c18b11404 copy qemu/StatusView.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
e266d497f3 copy qemu/StartupEdit.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
52245de7cd copy qemu/SnapshotTree.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
baba089b06 copy qemu/Snapshot.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
1c17011310 copy qemu/Smbios1Edit.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
92cfdf0273 copy qemu/SendKeyMenu.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
06cfa1e906 copy qemu/ScsiHwEdit.js from manager to manager6 2016-03-16 09:12:23 +01:00
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
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
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