Commit Graph

61 Commits

Author SHA1 Message Date
Dominik Csapak
5ca0c804c6 remove displayfield height hack
this did not work anymore,
instead overwrite css for displayfields to have correct
min-height

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-06 16:29:35 +02:00
Dominik Csapak
9bd6cd80de fix trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 12:00:52 +02:00
Dominik Csapak
ce8dac510e make contextmenus status-sensitive
for example, allow starting from contextmenu
only if vm/ct is stopped, etc.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 12:00:44 +02:00
Dominik Csapak
d4333933e5 use font-awesome icons for action buttons and cmdmenu
this patch makes use of font-awesome for
lxc/qemu action buttons (start/shutdown etc.)
node actions buttons (restart/shutdown etc.)
and lxc/qemu cmdmenus

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 11:59:25 +02:00
Dominik Csapak
889c70833e use split button for shutdown/stop for vm/ct
uses the new split button for the shutdown action
to reduse the number of buttons, and reduce confusion

also make the stop button 'dangerous'
(shows just a different symbol on the confirm dialog)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 11:56:43 +02:00
Dietmar Maurer
185a77e555 reduce translation overhead 2016-04-05 11:10:52 +02:00
Dietmar Maurer
16152937f8 reduce translation overhead 2016-04-04 16:59:52 +02:00
Dietmar Maurer
08090405d9 improve german translation 2016-04-01 18:32:57 +02:00
Dominik Csapak
394a99831d properly hide the resume button by default
the config 'visible' does not exist,
instead use 'hidden'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 13:23:08 +02:00
Dominik Csapak
13af4d510f ext6migrate: use new charts for node/lxc/qemu
uses the new charts for the rrd graphs in the summary pages
and make them lazy (for minimal performance impact)

also correct some styling errors and move static fields
to the class definition

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 10:39:14 +02:00
Dietmar Maurer
2a727273a2 simplify code 2016-03-30 09:37:47 +02:00
Emmanuel Kasper
4365549dfa disable console button for templates 2016-03-30 09:23:11 +02:00
Dietmar Maurer
bcecf28019 SafeDestroy.js: use modern ExtJS features
We now use the class config system, a View Model and a View Controller.
2016-03-30 09:07:32 +02:00
Emmanuel Kasper
d59ed79b5d Do not turn the strings CT and VM into separate localizable strings
According to the PO files, translators keep 'CT' and 'VM' unchanged
2016-03-29 09:21:14 +02:00
Dominik Csapak
a26cb7118c ext6migrate: Qemu Options fixes
change applyIf to apply, so that the values are changed
and
change activate to show, so that the store starts updating
on site refresh

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-21 11:16:59 +01:00
Dominik Csapak
296cab27f5 ext6migrate: let the components determine width
since we have a bigger font, instead of
hardcoding the width, let the components generate the
necessary width

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-21 11:16:39 +01:00
Dominik Csapak
ac7db8f761 ext6migrate: change default values
since KVCombobox expects __default__ as default value
change to this in

DisplayEdit
HDEdit
KeyboardEdit
ProcessorEdit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-21 11:16:27 +01:00
Emmanuel Kasper
32f469f383 requires manual entering VM id before enabling the delete Button for VMs
suggested by a user in https://bugzilla.proxmox.com/show_bug.cgi?id=360#c7
similar to the way github handles the deleting of a repository

fixes: #360
2016-03-21 10:45:49 +01:00
Dominik Csapak
c5ccc8d0b7 ext6migrate: enable some qemu tabs
enables:
Monitor, Backup, Snapshot, Console, Firewall, Permissions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:09:58 +01:00
Dominik Csapak
2e52404d05 ext6migrate: fix HDEdit, HDMove, HDResize
the StorageSelector fires the change event one time before data is there,
this patch catches that

also make the hdresize window wider because of the bigger font

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:09:42 +01:00
Dominik Csapak
e2f10d87f7 ext6migrate: change reference to widget
the correct name is pveNodeSelector

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:09:19 +01:00
Dominik Csapak
ca6372bda7 ext6migrate: fix KVCombobox behaviour in qemu
for details see commit:
f2782813cd

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:08:50 +01:00
Dominik Csapak
cd9da2e985 ext6migrate: fix qemu snapshot panel
changes id to itemid
make the snapshot info window a little bigger (for the bigger font)
changes the fireevent from datachanged to refresh
(for details see commit 1cd913372c)
and change show to activate event

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:08:15 +01:00
Dominik Csapak
3061bc4ffd ext6migrate: prevent collapsing of snapshottree
instead of returning false in the 'beforeitemcollaps'
event (which is not fired in extjs6 anymore)

we set every element as not 'expendable'

this has thei nice side effect that there are no
'-' symbols anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:07:50 +01:00
Emmanuel Kasper
45b473c68a Enable four first tabs of Qemu Panel 2016-03-17 10:45:33 +01:00
Emmanuel Kasper
f09dd6c16d Fixes Hardware View gridPanel for ExtJS6
* uses Ext.apply() instead of applyIf(), because the parent class
 already set a toolbar to 'null', and we want to override that
 * use 'activate' event to redisplay content on page reload
 * use a managed listener via mon() so we ignore events from the store
 when the component is not displayed ( prevent race conditions)
2016-03-17 10:45:17 +01:00
Emmanuel Kasper
6f68dcbedd Fix Qemu 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
* replace deprecated 'rows' parameter in textareafield with
height in pixels
2016-03-17 10:44:10 +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