luci-base: rework reveal/hide CBI password template button
authorJo-Philipp Wich <jo@mein.io>
Mon, 23 Jul 2018 12:30:03 +0000 (14:30 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 23 Jul 2018 12:30:03 +0000 (14:30 +0200)
commitb6dd0ecd6cc7eb1f4c758a0815f725ff0be4f157
tree754b06d1d92603d07c45c3a1900edae497ef04a1
parent7ba4eb1a42cb0baf3d0c66d16cfc5ce4d5f9709c
luci-base: rework reveal/hide CBI password template button

Also add a hidden type password field to prevent browser autocompleters
from entering the login passwords into fields liek the wireless WPA key
field.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/view/cbi/value.htm