]>
git.proxmox.com Git - proxmox-widget-toolkit.git/log
Thomas Lamprecht [Tue, 3 Nov 2020 16:52:09 +0000 (17:52 +0100)]
bump version to 2.3-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 3 Nov 2020 16:51:12 +0000 (17:51 +0100)]
Revert "css: avoid inherit of font-size on .fa class, set to 14px"
this is not yet safe everywhere, makes some dashboard icons quite
small
This reverts commit
96ffa5693e0eeb4b6a9664832035fbc154bc92d6 .
Thomas Lamprecht [Tue, 3 Nov 2020 12:58:12 +0000 (13:58 +0100)]
task type selector: add clear trigger
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 30 Oct 2020 13:02:55 +0000 (14:02 +0100)]
Utils: remove product specific task descriptions
we use 'override_task_descriptions' in the specific products to
add the ones that are not used everywhere
took the chance and sorted the remaining alphabetically
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 3 Nov 2020 11:40:14 +0000 (12:40 +0100)]
css: avoid inherit of font-size on .fa class, set to 14px
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 2 Nov 2020 06:49:27 +0000 (07:49 +0100)]
bump version to 2.3-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 2 Nov 2020 06:41:30 +0000 (07:41 +0100)]
buildsys: improve clean target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 31 Oct 2020 08:52:10 +0000 (09:52 +0100)]
css: improve icon rendering
Font Awesome is intended to be used at 14px font-size, we set that
already over product specific CSS for some elements like buttons.
But, for tab panel icons and tree navigation views it was often
overruled by ExtJS to 13px which made look them quite blurry and even
the position was a bit off (to high when compared to the texts
baseline.
Fix that by overwriting the font-size to 14px of the
x-treelist-item-icon and x-tab-icon-el-default class, for the latter
improve the icon to text possition by setting a slight top margin.
Setting the color to black was already done by each product, so move
that over here.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 30 Oct 2020 14:02:09 +0000 (15:02 +0100)]
add form/TaskTypeSelector
for suggesting workery types when we want to filter by them
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 29 Oct 2020 13:18:42 +0000 (14:18 +0100)]
make subscription status check compare lower case
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 28 Oct 2020 17:39:44 +0000 (18:39 +0100)]
bump version to 2.3-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Grünbichler [Wed, 28 Oct 2020 11:36:22 +0000 (12:36 +0100)]
add PermissionView
copied from pve-manager, but handling both '1' and 'true' as propagate
values, and making the authentication ID name/parameter configurable.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Thomas Lamprecht [Wed, 28 Oct 2020 11:54:25 +0000 (12:54 +0100)]
edit window: add extraParams config
For passing some default params which are passed along automatically
when calling load and doing the submit.
Useful in PBS, as there we often have the snapshot ID in multiple
parameters, not included in the request path, required for various
API call.
The params take low precendence, and are overwritten by values in
form fields with the same name for submit, or explicit params passed
to load calls
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 28 Oct 2020 11:53:52 +0000 (12:53 +0100)]
edit window: whitespace/newline cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 28 Oct 2020 10:36:14 +0000 (11:36 +0100)]
window/edit: add autoLoadOptions to control API call
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 27 Oct 2020 17:34:44 +0000 (18:34 +0100)]
bump version to 2.3-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 1 Oct 2020 08:30:58 +0000 (10:30 +0200)]
HostPort vtype: improve error message
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 23 Oct 2020 14:29:54 +0000 (16:29 +0200)]
InfoWidget: add setData, so that we can bind it
with a setData function that calls our updateValue, we can now use
viewModel bind to update those widgets
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 23 Oct 2020 14:29:53 +0000 (16:29 +0200)]
InfoWidget: eslint fixes
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 23 Oct 2020 14:29:52 +0000 (16:29 +0200)]
add info widget from pve
we want to reuse that, so copy it here and rename it to pmxInfoWidget
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 22 Apr 2020 07:26:23 +0000 (09:26 +0200)]
improve multiselect behaviour for checkboxmodel
when using the mode 'MULTI' for the checkbox selection model,
clicking a row would deselect all others, only clicking exactly on the
checkbox would select multiple rows
this override makes the whole cell of the checkbox behave like the
checkbox. This minimizes misclicks from the user.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 22 Oct 2020 10:27:23 +0000 (12:27 +0200)]
eslint fixup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Thu, 22 Oct 2020 10:13:01 +0000 (12:13 +0200)]
bump version to 2.3-4
Dietmar Maurer [Thu, 22 Oct 2020 10:09:16 +0000 (12:09 +0200)]
implement and use systemd_unescape
Thomas Lamprecht [Thu, 22 Oct 2020 06:53:21 +0000 (08:53 +0200)]
bump version to 2.3-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:16 +0000 (11:54 +0200)]
utils: add task description for directory removal
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:15 +0000 (11:54 +0200)]
safe-destroy: add possibility to show a small note
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:14 +0000 (11:54 +0200)]
safe-destroy: replace var with let/const
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:13 +0000 (11:54 +0200)]
safe-destroy: replace type with purgeable and taskName
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:12 +0000 (11:54 +0200)]
safe-destroy: eslint --fix
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Hannes Laimer [Tue, 15 Sep 2020 09:54:11 +0000 (11:54 +0200)]
safe-destroy: move SafeDestroy from pve-manager here
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Dietmar Maurer [Thu, 22 Oct 2020 06:38:17 +0000 (08:38 +0200)]
correctly encode upid paramenter (use encodeURIComponent)
Thomas Lamprecht [Thu, 15 Oct 2020 11:27:34 +0000 (13:27 +0200)]
bump version to 2.3-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 15 Oct 2020 11:24:43 +0000 (13:24 +0200)]
add Korean as translation choice
it was recently contributed by 김 주철
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 1 Oct 2020 13:27:25 +0000 (15:27 +0200)]
bump version to 2.3-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 1 Oct 2020 07:57:55 +0000 (09:57 +0200)]
Toolkit: add HostPort vtype
for easy checking textfield for a single host:port
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 1 Oct 2020 07:57:54 +0000 (09:57 +0200)]
Utils: improve matching groups of ip/host regexes
we only ever want to match the whole hostname/ip, never just some part of it
and we do not want to have the ':' as part of the port
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 30 Sep 2020 12:04:39 +0000 (14:04 +0200)]
fix autoscrolling on browser zoom
when browser zoom is activated, our scrollposition can be a little bit off
increase the boundary by a few pixels (5px are ~1/3 of a line)
so that the auto-scrolling still works
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 29 Sep 2020 08:18:10 +0000 (10:18 +0200)]
bump version to 2.2-14
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 29 Sep 2020 08:15:41 +0000 (10:15 +0200)]
node tasks: add duration column, hide by default
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 29 Sep 2020 07:46:02 +0000 (09:46 +0200)]
task viewer: render tokenid as part of username
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 25 Sep 2020 14:13:27 +0000 (16:13 +0200)]
node/Tasks: improve scroller behaviour on datastore loading
when we have a fixed totalcount, the scrollbar behaves nicely,
but sometimes we do not have a fixed total, so the api will return
'+1' if there are more elments to load
when doing this, the scrollbar has a weird behaviour where it changes
size frequently the more one scrolls down.
instead, tell the grid to update its layout as soon as the store
prefetches the data, which triggers an update of the scrollbar
this still lets it jump around a little, but only once per load and
more consistent
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Fabian Grünbichler [Wed, 23 Sep 2020 08:38:49 +0000 (10:38 +0200)]
tasks: include API token ID if available
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Thomas Lamprecht [Mon, 7 Sep 2020 11:51:06 +0000 (13:51 +0200)]
bump version to 2.2-12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 7 Sep 2020 11:49:32 +0000 (13:49 +0200)]
update copyright
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 27 Aug 2020 12:52:50 +0000 (14:52 +0200)]
language_map: add Dutch
Contributed-by: Jorren Schauwaert <jorren.schauwaert@gmail.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 27 Aug 2020 12:52:44 +0000 (14:52 +0200)]
utils: order languages after rendered name
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 26 Aug 2020 18:01:36 +0000 (20:01 +0200)]
eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 26 Aug 2020 18:02:35 +0000 (20:02 +0200)]
utils: improve indentation and better check API result
to avoid dereferencing a null/undefined value.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 14 Aug 2020 08:33:52 +0000 (10:33 +0200)]
fix #2933: correct behaviour of initgpt button
fixes 4 issues:
* use correct /api2/ext url to get the 'success' parameter
* check 'used' property for 'unused' (pbs vs pve)
* use 'name' instead of 'devpath' for id
(name always contains the correct id for the product,
e.g. /dev/sdd for pve and sdd for pbs)
* add a reload in taskDone to reload the list of disks when the inti is done
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 14:17:10 +0000 (16:17 +0200)]
bump version to 2.2-11
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 14:01:48 +0000 (16:01 +0200)]
bump version to 2.2-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 12:06:58 +0000 (14:06 +0200)]
service view: allow overwriting restart command
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 12:05:51 +0000 (14:05 +0200)]
service view: refactor assembling API path
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 11:59:47 +0000 (13:59 +0200)]
displayedit: allow passing an explicit displayConfig
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 24 Jul 2020 11:59:27 +0000 (13:59 +0200)]
displayedit: allow binding editable and value
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 21 Jul 2020 14:28:22 +0000 (16:28 +0200)]
onlineHelp: try finding - and _ normalized blockid variants
allows easy support of both separation variants, commonly used in
asciidoc or sphinx.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Möller [Wed, 8 Jul 2020 08:42:42 +0000 (10:42 +0200)]
Add focusable pseudo class to edit windows defaultFocus
Restricting the defaultFocus of the edit windows to only focusable fields
ensures that windows like "PVE -> Virtual Machine -> Manage HA", which
has a first field of xtype "displayfield", receive focus upon opening.
This allows those windows to be closed with the ESC key, which only
works when an element inside has focus.
In newer versions of ExtJS (>= 6.2.0) this filter could be reduced to
"field:canfocus" or maybe even ":canfocus".
Thomas Lamprecht [Tue, 30 Jun 2020 11:36:09 +0000 (13:36 +0200)]
bump version to 2.2-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 30 Jun 2020 11:27:29 +0000 (13:27 +0200)]
followup: s/storedUser/storedAuth/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tim Marx [Thu, 7 May 2020 12:28:24 +0000 (14:28 +0200)]
adapt auth utils for proxmox token authentication
Signed-off-by: Tim Marx <t.marx@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 25 Jun 2020 11:59:32 +0000 (13:59 +0200)]
add window/ZFSDetail
inspired by pve's detail window, which used two sub components
(ZFSStatus, ZFSDevices; which were never used elsewhere)
combined into one self-contained window
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 25 Jun 2020 11:59:31 +0000 (13:59 +0200)]
add form/MultiDiskSelector
from pve's ZFSCreate window, refactored to be self-contained using
field mixin, as well as be configureable enough to be used by pve as
well as other products
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 25 Jun 2020 11:59:30 +0000 (13:59 +0200)]
Utils: add render_zfs_health
from pve-manager
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 16 Jun 2020 14:49:46 +0000 (16:49 +0200)]
bump version to 2.2-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 15 Jun 2020 14:07:10 +0000 (16:07 +0200)]
task viewer: show task endtime and duration in status
But only when the caller gives us the endtime, since the status API
call does not give us the endtime.
As we stop updating the store once a task isn't running anymore the
fallback to current unix utc timestamp doesn't needs an additional
check, the last one is shown static then.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
[ Thomas: improve commit message ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Tue, 16 Jun 2020 09:06:34 +0000 (11:06 +0200)]
add DiskSmart window and DiskList from PVE
for use with other produts.
the models are now all prefixed with 'pmx' instead of pve, so they
should not conflict
includes some changes to the model for remapping some fields and
some small refactors (change to controller for the DiskList,
some cleanup of the initComponent of the DiskSmart window)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 16 Jun 2020 09:06:33 +0000 (11:06 +0200)]
add DiskSelector from PVE
to be usable with other products.
also add a parameter 'typeProperty' to be able to configure
the backend property for the usage type
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 15 Jun 2020 14:07:11 +0000 (16:07 +0200)]
format_duration_human: say <0.1s instead of 0s
if we get a duration of <=0.1s it should actually be somewhere
betweeen 0 and 0.1 so return <0.1s
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 15 Jun 2020 14:07:09 +0000 (16:07 +0200)]
show Task warnings differently
tasks can now show also 'WARNINGS: <count>'
filter it out and provide a 'parse_task_status' function for easy reuse
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 15 Jun 2020 14:07:08 +0000 (16:07 +0200)]
ProxmoxProxy: add duration fields for proxmox-tasks
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 8 Jun 2020 14:47:42 +0000 (16:47 +0200)]
networkedit: display MTU for OVS-bond interfaces too
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Originally-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Sat, 6 Jun 2020 16:08:01 +0000 (18:08 +0200)]
d/control: drop rsync from build dependencies
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 16:05:20 +0000 (18:05 +0200)]
improve passing package version down
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 15:44:20 +0000 (17:44 +0200)]
drop leftover utils, moved to src
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 15:35:28 +0000 (17:35 +0200)]
cleanly separate sources from package build, move to own folder
compared result with `diffoscope`, saw now difference
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 15:20:50 +0000 (17:20 +0200)]
use eslint and execute as check target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 15:20:30 +0000 (17:20 +0200)]
add pbs to upload target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 15:15:42 +0000 (17:15 +0200)]
make eslint 100% happy
lots of churn and changes but will allow to enforce linting again in
the build system.
Also switch over from var to let.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 13:05:48 +0000 (15:05 +0200)]
some more eslint fixes
manually adapted after eslint --fix call due to our damn weird
indentation scheme
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 13:01:33 +0000 (15:01 +0200)]
eslint fixes all over the place
all autofixed by eslint with a slightly reduced base config rule set
to avoid rules which may give some undesired results in our code
base.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 11:52:17 +0000 (13:52 +0200)]
utils: some eslint fixes and refactoring
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 6 Jun 2020 11:52:17 +0000 (13:52 +0200)]
utils: some eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 5 Jun 2020 13:09:35 +0000 (15:09 +0200)]
task description: use 'Backup Job' if no id is set
We set the id for vzdump tasks only for single VM/CT backups, so if
it's undefined we got a job for sure.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 5 Jun 2020 12:51:44 +0000 (14:51 +0200)]
format task description: avoid printing undefined ID
fixes and regression for backup jobs which seems to get from empty
string to undefined ID in PVE 6.x - whyever...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Jun 2020 16:20:20 +0000 (18:20 +0200)]
bump version to 2.2-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Jun 2020 16:19:16 +0000 (18:19 +0200)]
rrd: only move legend to header if both exists
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 4 Jun 2020 10:32:02 +0000 (12:32 +0200)]
button: make xtype of parent configurable
to get the selection model of the parent, we use by default the xtype
'grid', but sometimes we want to use something else (e.g. 'treepanel')
to be flexible we make this configurable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 3 Jun 2020 09:43:43 +0000 (11:43 +0200)]
bump version to 2.2-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 29 May 2020 17:31:02 +0000 (19:31 +0200)]
utils: add updateColumnWidth helper from PVE
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 29 May 2020 17:16:18 +0000 (19:16 +0200)]
rrd charts: add legend to header for better space usage
Docking the legend to the bottom took space away from the chart, and
was the just used as the simplest solution when it was implemented.
The panel header has enough spaces for any reasonable number of
different series in a chart, so move it there.
Drop then the legend toggle tool from the header as it isn't required
anymore..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 29 May 2020 17:15:52 +0000 (19:15 +0200)]
rrd charts: cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 29 May 2020 17:15:08 +0000 (19:15 +0200)]
rrd charts: render 3 decimal points for small values
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 29 May 2020 12:14:26 +0000 (14:14 +0200)]
css: reduce chart legends space impact
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 28 May 2020 16:36:40 +0000 (18:36 +0200)]
bump version to 2.2-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 28 May 2020 16:31:21 +0000 (18:31 +0200)]
format_duration_short: rename to format_duration_human and change semantics a bit
The rationale is that things like 11.4d or 22.6h is hard to parse for
humans (base 10 to base 60 or base 24 conversion). So try to emulate
what a human would tell another human to pass a duration information
along with reasonable good but not high accuracy.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 28 May 2020 11:02:50 +0000 (13:02 +0200)]
Utils: add duration format/render
from pve-manager
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 28 May 2020 11:02:51 +0000 (13:02 +0200)]
css: add icon colors
from pve-manager
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 26 May 2020 09:55:10 +0000 (11:55 +0200)]
improve error extraction for monStoreErrors
by printing the whole error body when it cannot be parsed as JSON
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 26 May 2020 16:26:52 +0000 (18:26 +0200)]
form/display edit: use the 'fit' layout to avoid width glitch
As else we get some issues with inner field adding some space on
outer fieldcontainer, which let a mix of "normal" fields and this one
appear asymmetrical.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>