Commit Graph

2206 Commits

Author SHA1 Message Date
Dominik Csapak
d1918d1bf6 revert default compress mode for vzdump to 0
rationale is the following:

we had this as default before commit
1ab98f059e

but wrongly documented

since we set the compression mode explicitly via the gui,
we can set the default to 0, which makes some operations more
intuitive (e.g. with the -stdout parameter it makes no sense
to compress it by default)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-12 12:44:44 +02:00
Dietmar Maurer
15b46bab52 do not depend of pve-doc-generator
This should be a Build-Depend instead.
2016-04-12 12:43:03 +02:00
Dominik Csapak
f05de373c7 mark item as changed when status is different
to detect changes from running->paused and reverse,
since this is now reflected by the icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 13:03:44 +02:00
Dominik Csapak
efbc9f5d7e cleanup of contextmenus
change the order of the contextmenu items to
group functions, also introducing separators

like this:

***
power options
***
moving options
***
console
***

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 13:03:19 +02:00
Dietmar Maurer
dc3ed02ee2 update changelog 2016-04-11 11:57:27 +02:00
Wolfgang Bumiller
63e62a6f89 whitespace cleanup 2016-04-11 11:56:40 +02:00
Wolfgang Bumiller
a2ed069746 qemu: parse vlan trunks
Fixes an error when trying to edit a network with assigned
trunks.
2016-04-11 11:56:32 +02:00
Dominik Csapak
52af3f0de4 correct qemu cmdMenu
start button should be disabled when suspended

use 'file' icon instead of 'sticky-note'
to be consistent with tree icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:51:05 +02:00
Dominik Csapak
9a132f4a40 add icon to nodes more button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:47 +02:00
Dominik Csapak
79ae73ee35 new icons for snapshottree
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:39 +02:00
Dominik Csapak
0ef7ade911 change icons in storage add menu
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:31 +02:00
Dominik Csapak
d1f155b8b0 add icons to Logout/Create VM/CT
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:18 +02:00
Dominik Csapak
25f08bacd0 add icons for user/group in aclview
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:10 +02:00
Dominik Csapak
b1d8e73d15 add new icons to grid and tree
we set new icons for the tree and grid
changes:
* new icons
* wider type column (bigger icons)
* use arrows true (uses arrows instead of +/- and gets rid of the
  ugly lines in the tree)
* datacenter has icon instead of folder open/close
* "folder view" gets type icons for folders

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:49:59 +02:00
Dominik Csapak
a991a203d9 add icons classes to ext6-pve.css
this adds the necessary classes/overwrites for the new icons

notable changes:

nodes/cts/vms state:
Dark when on
Light grey when off

Badges for Nodes (check = on, cross = off)
VM/CT (play = on, pause = paused)

change the hardware/resource view to the new icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:49:38 +02:00
Dominik Csapak
663d92d786 add new icons for hardware/resources view
this adds a few icons
most are from font-awesome (exported as png)
and some are selfmade (xcf sources included)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:48:51 +02:00
Dietmar Maurer
567a0d892c use pve-doc-generator, bump version to 4.1-25 2016-04-10 15:54:35 +02:00
Dietmar Maurer
05c82ad5c3 remove old openvz make targets 2016-04-10 14:49:37 +02:00
Dominik Csapak
065bb064b5 change show to activate
so that the store loads on page activation (refresh and intial click)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-08 16:59:00 +02:00
Dominik Csapak
c2f6b28ff2 change minValue of VLAN tag to 2
since linux bridges have untagged traffic on vlan1,
we cannot set this value

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-08 16:58:48 +02:00
Dominik Csapak
1b7117805b disable suspend/resume on containers
since this feature is not really working at the moment,
disable it in the gui

we can reenable it when it works reliably

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-07 16:57:46 +02:00
Dominik Csapak
546e0c5c22 change order of weekdays
to be consistent with the grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-07 16:57:35 +02:00
Dominik Csapak
af3838c5ef show days of week as ranges
when selecting days in a backup job,
show every series of 3 or more days as range, instead
of single days
e.g. Monday-Wednesday instead of Monday, Tuesday, Wednesday

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-07 16:57:25 +02:00
Dominik Csapak
ae9e2161bc make enabled column wider in backupview
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-07 16:54:24 +02:00
Emmanuel Kasper
026b760111 Overrides Ext.Msg.alert() to always display an Error Icon 2016-04-07 16:52:48 +02:00
Dominik Csapak
2bdf9dd3ff translate weekdays in backupgrid
previously we displayed always something like: "mon,tue,wed"
now we use the full name of the day and the correct translation
making it (eg in german):
"Montag, Dienstag, Mittwoch"

i did not to choose the first 3 letters, because we cannot be
sure they are unique for all workdays in every language

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-06 16:36:54 +02:00
Dominik Csapak
c0b9cfab96 add weekdays to comboitems at runtime
the translation of extjs has not been applied
at the time of class declaration, so that
the weekdays were always "Sunday", "Monday", etc.

when we declare them in initComponent, the translations are there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-06 16:36:29 +02:00
Dominik Csapak
370ed4c837 make enabled column a checkcolumn in backupview
it is nicer than 'true' and 'false',
also this was not translated before

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-06 16:31:41 +02:00
Dominik Csapak
5182366e67 remove useShims
since this was only necessary for the old java applet
we can remove this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-06 16:29:49 +02:00
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
b9722f5292 prevent contextmenu on lxc templates
since we do not support lxc templates on the gui yet,
prepare the correct contextmenu call, but comment it out

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 15:34:40 +02:00
Dominik Csapak
87d7df9664 show CT in migrate window Title
shows different title in migration window if vmtype
is not qemu

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 15:32:58 +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
d9fd02eb79 add font-awesome
adds font-awesome to css folder and
inserts the css into the html of the site

we will use font-awesome for most icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 11:58:01 +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
db1e733a0b add font-awesome
https://fortawesome.github.io/Font-Awesome/
2016-04-05 11:14:02 +02:00
Dietmar Maurer
185a77e555 reduce translation overhead 2016-04-05 11:10:52 +02:00
Dietmar Maurer
763ec2ecf8 SafeDestroy: remove viewModel - it not flexible enough 2016-04-05 11:09:42 +02:00
Dominik Csapak
52721af8dc add split button
the same code base as our pveButton
(selectionchange handling, confirm,etc.)
but with a split button (a button with a menu)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 07:42:06 +02:00
Emmanuel Kasper
cac948f770 Use Ext.apply instead of applyIf when loading a task window
Without this the window title is not displayed
2016-04-05 07:39:38 +02:00
Dietmar Maurer
5128596e98 remove unnecessary reference to confirmField 2016-04-05 06:34:13 +02:00
Emmanuel Kasper
7b572e6d2f SafeDestroy.js: allow to submit the form with Enter key
also set focus on the confirm field of the Destroy Window on display
2016-04-05 06:32:23 +02:00
Thomas Lamprecht
7a0a8e67bf vzdump: use sendmail from tools
use the factored out sendmail from the PVE::Tools package

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-04-05 06:30:11 +02:00
Dietmar Maurer
16152937f8 reduce translation overhead 2016-04-04 16:59:52 +02:00
Dietmar Maurer
bfade4b40b Utils.js: add task descriptions for vzclone and vztemplate 2016-04-04 12:42:32 +02:00
Dietmar Maurer
05e2f88dda add 'Log' to gettext translations 2016-04-01 18:36:30 +02:00
Dietmar Maurer
08090405d9 improve german translation 2016-04-01 18:32:57 +02:00
Dietmar Maurer
a18a61ec0c bump version to 4.1-24 2016-04-01 16:39:19 +02:00