From 3140f88acde272082af80cc85842dbeaae8771b9 Mon Sep 17 00:00:00 2001 From: Ben Rohlfs Date: Thu, 21 Nov 2019 10:24:25 +0100 Subject: [PATCH] Add copy-to-clipboard for generated password Bug: Issue 11973 Change-Id: Id86182e40050eabbcf74c190df19a0a84a60c002 (cherry picked from commit 912d3b5ccc25deb1a17f2258409cbc0933d7c380) --- .../settings/gr-http-password/gr-http-password.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/polygerrit-ui/app/elements/settings/gr-http-password/gr-http-password.html b/polygerrit-ui/app/elements/settings/gr-http-password/gr-http-password.html index 2fe07ca397..54cfd655d4 100644 --- a/polygerrit-ui/app/elements/settings/gr-http-password/gr-http-password.html +++ b/polygerrit-ui/app/elements/settings/gr-http-password/gr-http-password.html @@ -18,6 +18,7 @@ limitations under the License. + @@ -35,6 +36,9 @@ limitations under the License. #generatedPasswordDisplay { margin: 1em 0; } + #generatedPasswordDisplay .title { + width: unset; + } #generatedPasswordDisplay .value { font-family: var(--monospace-font-family); } @@ -73,6 +77,12 @@ limitations under the License.
New Password: [[_generatedPassword]] + +
This password will not be displayed again.