]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: handle `textarea` and add tooltip
authorTatjana Dehler <tdehler@suse.com>
Fri, 17 Apr 2020 12:49:05 +0000 (14:49 +0200)
committerTatjana Dehler <tdehler@suse.com>
Wed, 29 Apr 2020 14:33:50 +0000 (16:33 +0200)
commitd2f76c91af13789ac95a3de0041d2d47c37e0173
treece6c8d66fe1fbd2a4ee61545a9b33f58c2cafbab
parent8d91443c8b932f8d24017e72cbbae58616928ab9
mgr/dashboard: handle `textarea` and add tooltip

Enhance `Copy2ClipboardButtonDirective` in order to
handle `textarea`s and copy a formatted input.
Add a tooltip to the button, too.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/directives/copy2clipboard-button.directive.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/directives/copy2clipboard-button.directive.ts