Commit Graph

11 Commits

Author SHA1 Message Date
Thomas Lamprecht
069bcbd2e7 ui: notes edit: set markdown basic as onlineHelp
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-05 15:35:46 +02:00
Thomas Lamprecht
dab34bb5f5 ui: notes: add empty text with a hint that markdown is supported
We can do so unconditionally as this is a PVE specific component and
only used for guests and nodes, both using the markdown Parser.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-05 08:29:29 +02:00
Thomas Lamprecht
959df7bf26 ui: notes: use monospace font and make white-space pre-wrap in text area
can improve editing experience quite a bit when formating tables ore
the like.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-02 18:48:12 +02:00
Thomas Lamprecht
5bbe58a5bd ui: notes editor: increase edit window size from 600x400 to 800x600
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-21 16:50:11 +02:00
Thomas Lamprecht
a78362cf06 ui: notes edit: set maxLength on text area
the backend will have actual explicit length limits on the
description properties (was limited indirectly through PUT/POST
request size limit of 64 KiB), so convey that limit also in the GUI.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-18 19:23:15 +02:00
Thomas Lamprecht
a88c03c820 ui: window notes: refactor and code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-28 09:52:30 +01:00
Thomas Lamprecht
9fccc702ec use windowEdit from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Dominik Csapak
329ade0479 fix #1400: do not use defaultButton in NotesEdit window
with a defaultButton set, we cannot enter a newline into a textarea

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-02 09:25:53 +02:00
Dominik Csapak
9174efeb5b fix #586: make notes edit window resizable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-05 06:50:40 +02: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
Dietmar Maurer
bac5bd135c rename manager5 to manager6 2016-01-22 11:24:10 +01:00