ui: datastore: show comment, allow to edit notes

the "comment" is the first line of the "notes" field from a manifest,
show it in the grid and allow editing the full notes.

Hack the click event listener a bit together for the right aligned
edit action button, but it works out well and is efficient (only one
event listener is much cheaper than per-buttons ones).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht committed 2020-10-28 18:36:12 +01:00
1 parent 40492a562f
commit c9725bb829
4 files changed
+113 -7

No files matched your search

+7
View File
@@ -213,6 +213,13 @@ p.logs {
cursor: default;
}
span.snapshot-comment-column {
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
width: calc(100% - 18px);
}
.x-action-col-icon.good:before {
color: #21BF4B;
}