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>
Thu, 26 Jul 2018 18:30:44 +0000 (20:30 +0200)
commitd7d15f6c5c1b79df43b4be2d5fd13e277b66a065
treeee9249986f7830f661c1a87c84679ed03562ac0e
parent97e647bb250586a737805c663108e75eaebbeb3c
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>
(cherry picked from commit b6dd0ecd6cc7eb1f4c758a0815f725ff0be4f157)
modules/luci-base/luasrc/view/cbi/value.htm