Commit Graph

913 Commits

Author SHA1 Message Date
Emmanuel Kasper
2ad16f261f Do not try to enforce a Picker size manually, let the framework do it
The Picker of the ComboBox, has by default a maxHeight of 300 px. If the list of elements is bigger that 300 pixels, then a scrollbar will be added.
This behaviour was broken with ExtJS4, but now works correctly with ExtJS6.
2016-01-22 11:24:25 +01:00
Emmanuel Kasper
a13842bf0e Ext6migrate: move static configuration from instantiation time to class declaration time.
This fixes the problem that this ComboGrid was displayed with an empty value
( similar the to the Keyboard Selection and Realm Selection in the login window)
2016-01-22 11:24:24 +01:00
Dietmar Maurer
59d47ade01 add qemu BIOS option 2016-01-22 11:24:24 +01:00
Emmanuel Kasper
137f890ac7 Ext6migrate :remove unused column ID
An component id 'comment' is already defined for the column Comment of UserView.js causing here a conflict.
It seems ExtJS6 is more stringent about that than ExtJS4.
2016-01-22 11:24:23 +01:00
Emmanuel Kasper
a26c8bf752 Ext6migrate: Fix selection mode combobox for backup 2016-01-22 11:24:22 +01:00
Emmanuel Kasper
ff118a4dd7 Listen to activate / deactivate events to start the background store refresh
This fixes the problem that a user triggerred F5 was not displaying the
content of the Cluster Log Tab
2016-01-22 11:24:22 +01:00
Emmanuel Kasper
cececa1d65 ext6migrate: remove redundant code to set the default active tab
If the default activeTab is *undefined* and *not* null, activeTab defaults to 0,
so we don't need to set this explicitely.

dug from ExtJS tabPanel:
activeTab = me.activeTab !== null ? (me.activeTab || 0) : null;
2016-01-22 11:24:21 +01:00
Emmanuel Kasper
c0b3df6e34 ext6migrate: listen to 'activate' events for panels inside a tabpanel
Using ExtJS6 a browser refresh (F5) do not send the 'show' event which we use to display the store as it did with ExtJS4.

At the momment only for tabs inside the datacenter tabpanel, since node and lxc tabpanels are not yet in manager6/
2016-01-22 11:24:20 +01:00
Alexandre Derumier
b0e07e4481 add qemu agent gui option
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2016-01-22 11:24:19 +01:00
Emmanuel Kasper
8ca163bd36 Allow email adresses with a top level domain of up to 63 characters
Reapply fix for  https://bugzilla.proxmox.com/show_bug.cgi?id=716
which was missing in manager6/ directory
2016-01-22 11:24:14 +01:00
Emmanuel Kasper
f13d185b0f Correct whitespaces and comment non obvious class properties 2016-01-22 11:24:14 +01:00
Emmanuel Kasper
04ebb5c650 ext6migrate: move class static properties out of initComponent()
This fixes the Auth realm selection while login with ExtJS6
2016-01-22 11:24:13 +01:00
Emmanuel Kasper
dd4a4e36ac ext6migrate: move static class properties out of initComponent()
Besides fitting more with the declarative style of ExtJS, this has the
interesting side effect of allowing comboboxes to work with ExtJS6
2016-01-22 11:24:13 +01:00
Emmanuel Kasper
ae1887db4f ext6migrate: force an empty array as default value for filters
Without this, filters.add() in line 73 file fails
2016-01-22 11:24:13 +01:00
Emmanuel Kasper
6a71fe01f2 ext6migrate: Replace deprecated function which is missing in Ext6
See http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.container.Container-method-doLayout

This allows the pve manager to load
2016-01-22 11:24:12 +01:00
Dietmar Maurer
bac5bd135c rename manager5 to manager6 2016-01-22 11:24:10 +01:00
Emmanuel Kasper
faea780768 update build infrastucture to be able to develop with Ext6 2015-11-13 07:08:04 +01:00
Dietmar Maurer
3a9295100f Sytem Report: place download button at bottom/right 2015-11-06 10:19:29 +01:00
Emmanuel Kasper
88605108ef Add report modal window, containing pvereport content
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
2015-11-06 10:07:17 +01:00
Thomas Lamprecht
64e5196914 Improve HA UI for users with restricted permissions
Only show edit dialogs for HA resources and groups when an user
has the privileges to edit them.
2015-10-30 16:11:42 +01:00
Dietmar Maurer
73aeb2007e add Galician to GUI 2015-10-28 13:02:26 +01:00
Wolfgang Link
f99124fb8a add mouint point to GUI 2015-10-28 11:42:00 +01:00
Wolfgang Link
c2ee953ce8 add resize LXC Mountpoint at the GUI 2015-10-28 11:40:07 +01:00
Wolfgang Link
d807e210d5 move Root Disk form Options to Resources and add icon for it 2015-10-28 11:37:31 +01:00
Wolfgang Link
21855147bc add icons to resources 2015-10-28 11:36:37 +01:00
Wolfgang Link
e3b6adbd1c add swap icon for LXC resources 2015-10-28 11:35:51 +01:00
Dietmar Maurer
7216990dd2 RBD: select 'images' content type by default
because we also do not set KRBD flag by default.
2015-10-28 11:14:39 +01:00
Dietmar Maurer
451bd04c53 fix lxc crteate wizard 2015-10-24 09:54:22 +02:00
Wolfgang Link
9ea5485da7 fix create CT: this fix the create CT what happend in previous refactoring. 2015-10-23 17:52:18 +02:00
Wolfgang Link
34782e2669 fix bug #781: separate CPU and memory in editor
This is necessary because CPU are not hot-plug-able and memory are hot-plug-able.
also this will be useful for the new resource window.
2015-10-23 13:40:00 +02:00
Dietmar Maurer
aa0b406653 fix bug #756: force macro setting to emtpy string when user erases the content 2015-10-15 17:38:56 +02:00
Dietmar Maurer
24bf5bd4d4 GUI: add new vtype ConfigId, use it for snapshot names 2015-10-12 08:15:45 +02:00
Dietmar Maurer
ac9336bc99 s/Realtec/Realtek/
correct brand name
2015-10-09 14:37:59 +02:00
Dietmar Maurer
1649c0b535 IP4_cidr_match: allow short masks like /8 2015-10-09 08:16:00 +02:00
Wolfgang Bumiller
0bc9e03b0b lxc/dns: ipv6 support 2015-10-05 17:46:39 +02:00
Wolfgang Bumiller
7a9486a7e1 DNS ui/api: ipv6 support 2015-10-05 12:33:42 +02:00
Dietmar Maurer
30b4182b12 add content type selector to LVM storage editor 2015-10-01 13:03:13 +02:00
Dietmar Maurer
1fd4069819 update OS Type descriptions 2015-09-26 11:13:54 +02:00
Dietmar Maurer
9a05476dda do not install extJS 5 framework by default
We don't want to have development code in final 4.0 release.
2015-09-25 07:17:39 +02:00
Alexandre Derumier
3f0d1a4bfd NetworkEdit : add support for vlan interfaces.
Edit only for now, create will come soon in another patch

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-09-25 07:06:48 +02:00
Dietmar Maurer
60d08d8012 s/pveBackButton/pveReloadButton/ 2015-09-24 06:54:57 +02:00
Thomas Lamprecht
b981d33e6f better formating and UI of task viewer and task list
[TaskList]:
* format task date on the same node as the title. If space isn't
  there, the date goes on it's own line.
* Truncate output of task status to a maximum of 160 characters to
  fix formating, also the list should only give an overview.
* set list flex to 1, this fixes height and scrolling issues
* Put affected node and status on a own line.

[TaskViewer]
* Only show task status, the exit status is in the log below,
  also some long statuses break this page completely.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:52:14 +02:00
Thomas Lamprecht
c1e3105369 format cpu load value better
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:51:43 +02:00
Thomas Lamprecht
3d01228a87 use new VMSummaryBase class for lxc and qemu summary
also the keys to display from the lxc config where updated as some
from OpenVZ times where used.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:51:18 +02:00
Thomas Lamprecht
53f669b13e Implement VMSummaryBase class
As the lxc and qemu summary pages share almost all the code we
implement a base class which provides the shared functionality.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:51:09 +02:00
Thomas Lamprecht
7853a5ff44 use new PVEBar instead of TitleBar
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:50:28 +02:00
Thomas Lamprecht
5b765ae8b4 add PVEBar class to provide an common menu titlebar
PVEBar inherits from Ext.TitleBar and provides an titlebar for the
PVE mobile components to reduce code reuse.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:49:32 +02:00
Thomas Lamprecht
c5e91d8e37 add Datacenter entry to menu
Add a menu entry to load the Datacenter page

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:48:06 +02:00
Thomas Lamprecht
abfdd685df add goBack function
Add function to go a step back in browsing history.
Also don't use the anim var in setActiveItem when no old appWindow
is defined, as it is undefined in this scope.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:47:50 +02:00
Thomas Lamprecht
db3f0058ed fix mobile datacenter bugs resulting from API return changes
Adapt the mobile UI code to the slightly different returned data
from the '/cluster/status/' API call.
Also sort the node list to get an consistent staying UI, this
mirrors the behaviour of the 'desktop' UI.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-21 10:39:02 +02:00