32 Commits

Author SHA1 Message Date
Thomas Lamprecht
c5aaa502d3 Utils: fix jslint errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 13:20:25 +01:00
Thomas Lamprecht
9367da29d2 Utils: add some task descriptions
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 13:20:21 +01:00
Thomas Lamprecht
8cb1ec178c fixup: vlan type: use 'Linux VLAN'
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-19 14:22:34 +02:00
Alexandre Derumier
92ccd25d2a add missing vlan type in network panel
Currently a vlan interface is correctly parsed,
but GUI display it as unknown
2018-06-19 11:33:27 +02:00
Thomas Lamprecht
0247a07a1e add traditional Chinese to language map
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-07 09:46:24 +02:00
Dominik Csapak
18ffbaef6c add missing task description mappings
this includes
* cephmgrcreate/destroy
* acmerenew/register/deactivate/refresh/renew/revoke/update
* clustercreate/join
* move_volume

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-05-14 10:53:04 +02:00
Dominik Csapak
ea7fb2205f remove gettext definition in Utils.js
this should not be here, rather where we include the language files
(like in pve), because this is not ecma conform and behaves very
different in different browsers (e.g. safari ignores the if check
completely and simply uses that function definition)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-08 11:37:32 +01:00
Dominik Csapak
5812914ce5 reintroduce api2request checks for toolkit 2018-01-15 14:51:24 +01:00
Dominik Csapak
ab7fac0b2f add task_desc_table and format_task_description from pve
since the Task is in the widget-toolkit, passing
a renderer/list a few levels of components down is not nice
and there are not *that* many strings in the task_desc_table,
we put it here, so that either pve and pmg can use them
2018-01-15 14:11:02 +01:00
Dominik Csapak
590d00bf20 remove unnecessary formatter 2018-01-15 14:09:53 +01:00
Dominik Csapak
f97a2a34ee add all languages from pve 2018-01-15 14:09:41 +01:00
Dominik Csapak
881c9c0c12 add Xtermjs popup helper
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-11 14:42:16 +01:00
Thomas Lamprecht
e94c076748 Utils: fix some lint errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-12-07 12:00:27 +01:00
Dominik Csapak
b91c7ce210 add format_size from pve
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:43:39 +02:00
Dietmar Maurer
0ee4c725d3 only define gettext if not already defined 2017-10-04 12:17:42 +02:00
Dietmar Maurer
f6f0066aff LanguageSelector.js - add language selector 2017-10-04 11:16:22 +02:00
Dietmar Maurer
8f5a1a0847 do not translate subscription level
To avoid confusion.
2017-10-04 09:59:11 +02:00
Dietmar Maurer
02ef30c91f new helper format_subscription_level 2017-10-03 14:41:01 +02:00
Dietmar Maurer
5f93e01085 new checked_command helper, add APT.js 2017-09-25 12:31:36 +02:00
Dietmar Maurer
5b4b3ffdb6 monStoreErrors: new option clearMaskBeforeLoad
To clear error mask before load starts.
2017-09-06 08:53:12 +02:00
Dietmar Maurer
452892dfba add helpers to render uptime 2017-04-12 10:55:32 +02:00
Dietmar Maurer
2d0153a5ad add format_expire() utility method 2017-03-27 11:04:46 +02:00
Dietmar Maurer
28e54f37df new helper Proxmox.Utils.compute_min_label_width() 2017-02-25 10:47:20 +01:00
Dietmar Maurer
0e49da6db9 ObjectGrid: add helpers to add editor 2017-02-24 17:43:49 +01:00
Dietmar Maurer
b0d9b5d15d add formatters for boolean 2017-02-24 08:20:22 +01:00
Dietmar Maurer
30f885cbe6 add commonly used text 2017-02-24 08:18:36 +01:00
Dietmar Maurer
a58001ddfc add NetworkView.js and NetworkEdit.js
Copied from pve-manager
2017-01-31 17:05:09 +01:00
Dietmar Maurer
53ac9bca54 add render_upid to Proxmox.Utils 2017-01-31 12:18:29 +01:00
Dietmar Maurer
0669450939 add TimeView, TimeEdit and TaskViewer 2017-01-30 13:40:51 +01:00
Dietmar Maurer
5ffef550e3 white space cleanup 2017-01-30 12:27:28 +01:00
Dietmar Maurer
757cc58a6c fix cookie setup (use correct name) 2017-01-30 12:26:57 +01:00
Dietmar Maurer
0bb29d3556 initial import
copied from pve-manager, remove pve-manager specific code and
rename 'pve' to 'proxmox'.
2017-01-30 09:45:41 +01:00