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
2020-10-28 18:25:47 +01:00
parent 40492a562f
commit c9725bb829
4 changed files with 113 additions and 7 deletions

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;
}