Commit Graph

2231 Commits

Author SHA1 Message Date
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
Dominik Csapak
bfbab80c94 updated logo to higher quality
old logo png looked a little blurry,
this one should look a bit better and is only
~600bytes larger

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 16:31:21 +02:00
Thomas Lamprecht
beec97dc52 IPRefSelector: fix selection
move valueField and displayField to class config, else the value
of the selection wont show up when selecting it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-04-01 13:25:00 +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
bb966bd117 fix applyIf in DNSView
there was still an applyIf instead of apply,
hiding the Edit button there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 13:22:50 +02:00
Dominik Csapak
7688e9b5b0 move valueField and displayField to class config
if we do not do this, we cannot select items
(used in the clone window for example)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 13:22:43 +02:00
Dominik Csapak
d98a2c3c2a fix language selector
due to the changes in
f2782813cd
we have to set the default value to '__default__'
instead of ''

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 13:22:25 +02:00
Dominik Csapak
e4731dcb32 add missing state string
'monitor' was missing in dictionary for the states

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 13:22:14 +02:00
Dominik Csapak
a765aecaf7 set default focus of login window
usability fix: when showing the login window,
make the username field have the default focus,
so that one can enter the username right away

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 09:09:55 +02:00
Dominik Csapak
4dce154f87 remove unneccesary title and border
since the 'search' panel is now a subcomponent of a tab,
the title here shows a redundant title bar, and we have
an unwanted border

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 09:06:59 +02:00
Dominik Csapak
000c4018bc fix package versions in node summary
this bug was introduced by me with commit
'13af4d510f95ea2d7bf6fdca143373b96908afbb'
by mistake

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 09:06:42 +02:00
Dietmar Maurer
b528844bc5 update changelog 2016-03-31 17:22:46 +02:00
Wolfgang Bumiller
e94fa5cbd8 Fix #926: vzdump: config/default key regression
Add a missing defined() so that explicit `0` values in
/etc/vzdump.conf don't get replaced by their defaults.
2016-03-31 17:21:37 +02:00
Dominik Csapak
921324b6e1 use new rrd graphs on storage summary pages
this was missing before
also fix styling error (style takes not a single string parameter)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 17:17:40 +02:00
Dominik Csapak
be37a97e93 fix compression selection in backup window
we wrongly assumed, that no compression argument for
vzdump meant 'no compression', instead it means 'lzo'

this patch mirrors that behaviour on the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 17:10:10 +02:00
Dominik Csapak
131cd85a11 fix missing icons and spacing
adds the missing icons after migration to ext6

also fixes the spacing in the tree (without this,
the spacing of the dot background in the tree is not right)

and fixes the horizontal spacing of the icons in the dropdown menus

since the loading dots gif does not exist in this theme, i used
the loading circle which is shown everywhere else for the task loading
entry

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 13:38:58 +02:00
Emmanuel Kasper
6cf9cce336 Fix ExtJS6 locales file name 2016-03-31 13:35:01 +02:00
Dietmar Maurer
f76884fda7 Workspace: simplify layout 2016-03-31 13:30:41 +02:00
Wolfgang Bumiller
fd81840e57 mobile: use ext6 Cookies.js
The ext4 file is not in the repository and we don't unpack
the zip anymore, so it won't be found after a `make clean`.
It's the same code formatted differently, so it should work.
2016-03-31 12:43:31 +02:00
Dominik Csapak
f3f4a82385 fix button toolbar height
setting the border to false, instead of setting the style
(which had the wrong syntax for extjs6 anyway)
and set the height to 36 pixesl (because of the larger font)
this makes the buttons vertically centered

to make the text on the left vertically centered, we
remove the padding

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 12:39:11 +02:00
Dietmar Maurer
aa2522c0f2 update changelog 2016-03-31 12:18:03 +02:00
Dietmar Maurer
5783c7f4dd switch GUI to extjs6 2016-03-31 12:11:31 +02:00
Dietmar Maurer
23d3881a0a fix jslint errors 2016-03-31 11:13:50 +02:00
Dietmar Maurer
8460f57919 bump version to 4.1-23 2016-03-31 10:58:49 +02:00
Caspar Smit
d6c493923a Fixed a small typo
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:56:49 +02:00
Caspar Smit
92c11ee1ca Allow migrate-all button on HA enabled VMs
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:56:22 +02:00