Commit Graph

21 Commits

Author SHA1 Message Date
Dominik Csapak
816b62b0aa fix #1104: add missing /firewall in url
with the reorganizing of the tabs to
the treelist, we forgot to add /firewall to some
urls, making the url for source/destination invalid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 08:03:20 +02:00
Dominik Csapak
1939a0069e partially rever qemu gui structure
this restores the structure of the qemu options
and moves the console to the second position

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-01 11:43:59 +02:00
Dominik Csapak
c284be32bd reorganize qemu items
use new tree functionality of configpanel

move options,monitor,console under hardware (now system)
move firewall subpanels into tree

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-24 12:31:11 +02:00
Dominik Csapak
4a01bc8345 hide snapshot tab with qemu templates
since we cannot create templates with existing snapshots,
and we cannot take snapshots of templates, showing
the tab on templates makes no sense

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-01 16:46:41 +02:00
Dominik Csapak
22f2f9d6c0 jslint: remove trailing commas
before ECMA5 trailing commas in arrays and objects
are forbidden

in jslint this is an error and cannot be deactivated

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06:34 +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
16152937f8 reduce translation overhead 2016-04-04 16:59:52 +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
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
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
Emmanuel Kasper
45b473c68a Enable four first tabs of Qemu Panel 2016-03-17 10:45:33 +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
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
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
a2f35eb2ea push column items individually
looks like ExtJS is not automatically flattening the array anymore
and items in a multidimensionnal array are not displayed with ExtJS6

lxc/Config.js is still commented because we haven't reached this part
in the upgrade, but fixing there too
2016-02-29 16:52:01 +01:00
Emmanuel Kasper
b70496d69d Comment out missing/broken JS classes so we can select nodes in the left ressource tree with ExtJS6 2016-01-26 10:53:44 +01:00
Dietmar Maurer
156095db99 copy qemu/Config.js from manager to manager5 2016-01-22 11:24:30 +01:00