luci-base: ui.js: rework password input handling
authorJo-Philipp Wich <jo@mein.io>
Tue, 28 Apr 2020 21:34:33 +0000 (23:34 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 2 May 2020 21:53:02 +0000 (23:53 +0200)
commitd02c26772b448747a5d4249819957f564a19926a
tree3b9ea6c9aaf97c3299e66d008e404ec22e57172c
parent34c06b4704383428c87e0a3c3c96ff7facfa5c46
luci-base: ui.js: rework password input handling

 - Get rid of dummy element
 - Render password field as text input initially and later transform
   it to a password field
 - Use .control-group markup to allow better styling

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/ui.js